Web Hosting Talk







View Full Version : Cron Deamon


-Edward-
01-04-2001, 01:14 PM
Hi im getting these but dont have a clue what they are and what is wrong :) ?.

Warning: Truncating oversized request field [2979]
Warning: Truncating oversized request field [2980]
Warning: Truncating oversized request field [2981]
Warning: Truncating oversized request field [2982]
Error: Can't open log file /home/sites/www.kchat.co.uk/logs/web.log

Error: Can't open log file /home/sites/www.westlifeweb.com/logs/web.log
Warning: Truncating oversized request field
Warning: Truncating oversized request field
Warning: Truncating oversized request field
Warning: Truncating oversized request field
Warning: Truncating oversized request field

It seems to be only happening on these two domains. and kchat.co.uk isnt even active.

Travis
01-04-2001, 01:28 PM
Those look like fairly normal messages from Webalizer, a stats package. Someone needs to modify the cron entry for Webalizer to redirect stdout and stderr to /dev/null so you don't see those messages. :)

-Edward-
01-04-2001, 01:30 PM
Since its my dedicated server i can't see tera-byte doing this. So how can i fix it?.

Travis
01-04-2001, 01:39 PM
What operating system is the server running? Do you have root access?

-Edward-
01-04-2001, 01:41 PM
Its a cobalt Raq3 and yes i have root access.

Travis
01-04-2001, 01:46 PM
It's been a while since I've been on a RaQ or anything else derived from RedHat; I don't remember what they use for Cron. Chicken might be able to lend some specific help there.

Once you find how to modify root's (or, it may run as the "nobody" user) cron, add this after the call to webalizer:

2>&1 >/dev/null

-Edward-
01-04-2001, 01:48 PM
I hope chicken or someone can help cos that just lost me :).

Chicken
01-04-2001, 02:17 PM
Eddie, once you get some hits at the two sites (www.kchat.co.uk & http://www.westlifeweb.com), you won't get those errors. Just ignore it.

-Edward-
01-04-2001, 02:26 PM
Is it the servers way of saying it cant read any hits so sends me error messages?.

Chicken
01-04-2001, 09:03 PM
Webalizer is trying to read the non-existant log file for those sites so it can analyze it. Once it does this, it spits out an error saying it can't read it. It can't read it because it isn't there, that's all.

If the site is properly DNS'd then just load it up once or twice and the server will create the log file.