Awstats issues.

Awstats issues.

1) Awstats/webalizer/analog stats disappeared from cpanel >> web/ftp stats or you want to disable any type of stats then you can do it from WebHostManager.
Ans: – whm >> server configuration >> tweak settings >> stats programs. Check or uncheck as per your requirement.
2) If you want to enable statistics process time schedule then you can enable it fromWhm >> server configuration >> Statistics Software Configuration >> Statistics Processing Configuration Summary. >> configure statistic process time schedule.
3) If you are getting the following error when you try to access Awstats from cpanel web hosting web/ftp stats. 

Awstats

Error: Couldn’t open config file “awstats.domainname.com.conf” nor “awstats.conf” after searching in path “.,/home/username/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/awstats.pl?config=mysite
Example: http://127.0.0.1/cgi-bin/awstats.pl?config=mysite
– Did you create your config file ‘awstats.domainname.com.conf’ ?
If not, you can run “./../../tools/awstats_configure.pl” from command line, or create it manually.

Ans :- You get this error because awstats.domainname.com.conf file is not created under /home/username/tmp/awstats folder run the following script it will automatically create .conf file.

/scripts/runweblogs username

It solves the issue most of the time, but if you are still facing the problem then copy a .conf file from another domain, change the file name with the proper domain name and also change the domain in the conf file. Please check you have replaced new domain name properly.

4) “Update Now” button is disappeared from awstats page.
Ans :- Please check whm >> server configuration >> tweak settings >> Stats and Logs >> Allow users to update Awstats from cPanel is enable. Save the changes.

On server open following file
]# vi /home/username/tmp/awstats/awstats.domainname.com.conf

check following line

AllowToUpdatefromBrowser=0

Change value to from 0 to 1.

It shows “Update Now” button on awstats page.

Cheap_Hosting_UK

Sharing

Leave your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.