PDA

View Full Version : Webalizer broken!



mike_p
09-28-2006, 07:09 AM
Hi

I've had a DA box for a while now with evrything running well until a hard disk failure a few days ago.

Have replaced HD, installed CentOs 4.3 and retsrored all data from backups.

Webalizer seems to have stopped running.

There are not many sites hosted on the server (about 35).

I have tried running it from the commandline and get

Webalizer V2.01-10 (Linux 2.6.9-42.0.2.EL) English
Using logfile STDIN (clf)
Creating output in current directory
Hostname for reports is 'mybox.mydomain.com'
History file not found...


Then nothing happens.

my /etc/cron.d/directadmin_cron file contains:

10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue

my directadmin error log shows no errors.

There doesn't appear to be any attempt to run webalizer.
(ie no output, no error, no "Tally" messages in the system log.

Any ideas?

mike_p
09-28-2006, 09:00 AM
Always nice to reply with an answer to one's own question....

Checking CRON logs showed that it had an error on starting:
"(*system*) BAD FILE MODE (/etc/cron.d/directadmin_cron)"

I changed the permissions on directadmin_cron to 644 and all seems OK now.

Since the DirAdmin task queue is handled by CRON that was also affecting lots of other processes!