webstats

webstats problem.
My webstats stoped updating 2-3 months ago and is stil not working.
Any sugetions ?

you should have something similar in

# cat /etc/ehcp/webstats.sh
webalizer -p -n www.domainname.com -o /var/www/vhosts/domainname.com/domainname.com/httpdocs/webstats /var/www/vhosts/domainname.com/domainname.com/logs/access_log -R 100 TopReferrers -r domainname.com HideReferrer
webalizer -p -n www.testing.com -o /var/www/vhosts/ehcpdeveloper/testing.com/httpdocs/webstats /var/www/vhosts/ehcpdeveloper/testing.com/logs/access_log -R 100 TopReferrers -r testing.com HideReferrer

did you uninstall webalizer?
check your /var/log/ehcp.log for errors related to webalizer.

to install it, apt-get install webalizer

after installing,
run:
/etc/ehcp/webstats.sh
(make sure it is filled with your domains.)

Mine didn't work found out it was due to a GeoIP database not being installed to fix it follow the directions on http://pessetto.com/question2answer/index.php?qa=1&qa_1=why-is-ehcp-weba...

My Server was down earlier but now it is okay.

--- TECNOGEEK http://pessetto.com ---