Hi Peter,
Many thanks for the really useful information my graphs are now up and running after the changes Regards ------------------------------------ Peter Nyamukusa _____ From: Peter Kristolaitis [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 2:46 PM To: Peter Nyamukusa Cc: [email protected] Subject: Re: [smokeping-users] Graph error Hi Peter; The error looks like it is caused by directory permissions: ---- snip ---- cd /usr/local/smokeping/var/World/ [EMAIL PROTECTED] World]# ls -lah total 32K drwxr-xr-x 4 root root 4.0K Apr 18 14:34 . drwxr-xr-x 3 root root 4.0K Apr 18 14:34 .. drwxr-xr-x 4 root root 4.0K Apr 18 14:34 Europe drwxr-xr-x 2 root root 4.0K Apr 18 18:04 USA ---- snip ---- Those directories need to be writable by whatever UID Apache (or whatever HTTP daemon you're using) runs as on your system. You'll want to check all of the following directories (defined in your SmokePing config file) as well: imgcache = /var/www/smokeping/img -> Must be writable by your HTTP daemon UID pagedir = /var/www/smokeping -> Must be readable (not writable, content is static) by your HTTP daemon UID datadir = /var/db/smokeping -> Must be writable by the UID the SmokePing daemon runs as and readable by your HTTP daemon UID piddir = /var/run/smokeping -> Must be writable by the UID the SmokePing daemon runs as Cheers, - Peter Peter Nyamukusa wrote: Hi Folks, I am new to smoke ping and I have just finished installing it on fedora core 5 and it seems to be running fine the smokealert also working fine. When I try to access the graphs I get the errors below I have installed my smokeping in /usr/local/smokeping. Thanks for any assistance in advance [Fri Apr 20 08:48:02 2007] [error] [client 212.85.220.6] [Fri Apr 20 08:48:02 2007] smokeping.cgi [client 10.1.1.1]: ERROR: creating /var/www/html/smokeping/img/World/Europe/Switzerland/SBB: No such file or directory, referer: http://10.1.1.1/cgi-bin/smokeping.cgi?target=World.Europe.Switzerland Software error: ERROR: creating /var/www/html/smokeping/img/World/Europe/UK/UCL: No such file or directory United Kingdom ERROR: Opening '/var/www/html/smokeping/img/World/Europe/UK/UCL_mini.png' for write: Permission denied [EMAIL PROTECTED] cd /var/www/html/smokeping/img/ rrdtool.png smokeping.png test World [EMAIL PROTECTED] img]# ls -lah total 40K drwxr-xr-x 3 root root 4.0K Apr 18 17:49 . drwxr-xr-x 3 root root 4.0K Apr 18 18:02 .. -rwxr-xr-x 1 root root 3.9K Apr 18 14:54 rrdtool.png -rwxr-xr-x 1 root root 4.3K Apr 18 14:54 smokeping.png drwxr-xr-x 4 root root 4.0K Apr 18 17:27 test lrwxrwxrwx 1 root root 31 Apr 18 17:49 World -> /usr/local/smokeping/var/World/ cd /usr/local/smokeping/var/World/ [EMAIL PROTECTED] World]# ls -lah total 32K drwxr-xr-x 4 root root 4.0K Apr 18 14:34 . drwxr-xr-x 3 root root 4.0K Apr 18 14:34 .. drwxr-xr-x 4 root root 4.0K Apr 18 14:34 Europe drwxr-xr-x 2 root root 4.0K Apr 18 18:04 USA Regards, Peter _____ _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
_______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
