AWStats Error

On Cpanel server, a client told his AWStats not working. I checked his AWStats and it shows following error.

NOTE: I changed clients domain with, cpanel username with bizhat

Error: Couldn't open config file "" nor "awstats.conf" after searching in path ".,/home/bizhat/tmp/awstats/,/etc/opt/awstats,/etc/awstats,/etc,/usr/local/etc/awstats": No such file or directory

- Did you use the correct URL ?
Example: http://localhost/awstats/
- Did you create your config file '' ?
If not, you can run "./../../tools/" from command line, or create it manually.

Check config file, permissions and AWStats documentation (in 'docs' directory).

The error is due to AWStats configuration file "" missing in folder /home/CPANELUSERNAME/tmp/awstats

The error is fixed by running /scripts/runweblogs as root on SSH prompt.

            server20# /scripts/runweblogs bizhat
            Log checker loaded ok..
            ==> cPanel Log Daemon version 22.2
            ==> Shared RRDTOOL support enabled
            Processing bizhat...
            Run Logs domain: BW Limit: 262144000 Domains: []
            Processing exim stats for bizhat.......Done
            WEBLANG english
            Archive Status: 0
            About to fork for bizhat [DOMAIN:]

Now AWStats start working.

Get in touch with us

Questions? Concerns? Comments? We want to hear from you!
Drop us a line with whatever is on your mind and we will get back to you ASAP!!