qubixx-be
11-01-2004, 05:04 AM
For some reason my Webalizer stats stopped running. This problem affects every account on the server, and this from the 26th of october. /scripts/fixwebalizer doesn't seem to work.
Cpanel and RH9 server.
Is there anything I can do to fix this?
Thanks in advance,
Qubix
Transfix
11-01-2004, 12:13 PM
If you have root access to the server you could force them all to run.
/usr/bin/webalizer -c /etc/webalizer/*.cfg
qubixx-be
11-01-2004, 02:49 PM
mmh...
bash: /usr/bin/webalizer: No such file or directory
Should this be the standard location on a cpanel server?
Zadmin
11-01-2004, 03:31 PM
maybe for some reasonti was removed from crontab jobs
try crontab -e check if there is instance of webalizer??
systemadmin
11-01-2004, 04:44 PM
Is your server experiencing high load problems these days.
Coz webalizer alone takes much load and if there is already high load on the server then generally it stops updating the stats.
qubixx-be
11-01-2004, 05:19 PM
@ Nazmy:
There is no instance of webalizer in the crontab
@ systemadmin:
The load was high about a week ago, and now I see that webalizer stopped updating the stats when the load reached it highest level (same day)
How do I fix this now?
Both already thanks for the answers :)
Zadmin
11-01-2004, 05:40 PM
ok check in /etc/cron.daily for a file named **webalizer
** should be replaced with 2 numbers normally 00 tell me if this file is there or not??
qubixx-be
11-01-2004, 05:49 PM
No it isn't there (anymore?)...
Zadmin
11-01-2004, 06:06 PM
ok as root create this file 00webalizer
add this into it :
----------------------------------
#! /bin/bash
if [ -s /var/log/httpd/access_log ] ; then
/usr/bin/webalizer
fi
exit 0
--------------------------------
then type : chmod u+rwx g+rx o+rx
his should make it work assuming u have default paths