Ok, I copied your script to a file called runwebalizer in the folder /home/me/webalizer
But i can't run the next part, as apparently there is no crontab for me:
[me@Eval01 ~]$ crontab -l | grep webalizer
no crontab for me
I meant to ask you about that the other day, for now I have been having to just get root access to manually run webalizer when ever I want to update the stats.
If I try to run webalizer as a normal user I get this error:
[me@Eval01 ~]$ webalizer
Error: Can't open log file /var/log/httpd/access_log
When I try your ls command I get this:
PS: I might have caused my self more problems as I have been going round changing file owners and file groups and can't remember what they where before I started trying to 'fix' the problem[me@Eval01 ~]$ ls -ld /var/www/html/usage
drwxrwxr-x 2 webalizer root 4096 Mar 18 22:58 /var/www/html/usage
As for errors in my log file; These look to me like its some file permissions I have messed up somewhere:
[Tue Mar 22 09:21:45 2005] [error] [client 192.168.1.3] client denied by server configuration: /var/www/usage, referer: http://192.168.1.4/
I was trying to run the stats from another machine on the network.
So, I guess it comes down to this: "What did I do wrong?"
Thanks
Dave



