Webalizer broken!

mike_p

Verified User
Joined
Aug 26, 2004
Messages
101
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
Code:
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:
Code:
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?
 
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!
 
Last edited:
Back
Top