[Nottingham] Webalizer Problem

Graeme Fowler graeme at graemef.net
Mon Oct 2 18:40:47 BST 2006


On Mon, 2006-10-02 at 17:45 +0200, Johan Boshoff wrote:
> BUT, my cron job states that it can't open my logs in /webserver/logs.  I
> have tried different permissions on the cron job, on the access_log files as
> well as the .conf files, but no luck!

You're running this as root, so you say... the cron job itself isn't
producing an error, but the script inside it is.

As root, try running the whole thing from the command line and
*remember* that inside a cron job you should, ideally, have full paths
defined for everything you do (ie. /usr/bin/webalizer).

Post the output here and we'll see what we can do. Try to remember that
verbalising (OK, in writing, but hey!) your errors isn't going to make
debugging it easy by email.

Graeme




More information about the Nottingham mailing list