Odd problem after moving DA to a new server

rhoekman

Verified User
Joined
Jan 3, 2004
Messages
250
Location
The Netherlands
I have moved the contents to another FreeBSD server so far so good. Everything is working fine. But not cron and webalizer. The statistics stop at the date the new server was build (10 days ago) and when I did the restore. Manually invoking the cron jobs does not work but manually executing webalizer like this works:

webalizer -p -n siteserver.nl -o /home/rick/domains/siteserver.nl/stats/ /var/log/httpd/domains/siteserver.nl.log

So it has nothing to do with corrupted logs I guess. (I have searched the forums on webalizer and cron and tried almost every thing but no luck there)

Ideas or suggestions are very welcome.

Thanks in advance!

Rick
 
Ok digged up a root message that I never got apperently.

Subject: Cron <root@brainz> /usr/local/directadmin/dataskq
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Status: RO

Unable to read config file. Check the file permissions

I tend to have a crontab that is working (logs are rotated etc) but a config file under cron is not accessable?

It must be something very simple that I overlooked.. Always is :)
 
Ok, contab errors are gone. I made the classic mistake to do this: crontab /etc/crontab which you never do for root. crontab -r wil fix this. Now this did not resolve the webalizer problem though.
 
Back
Top