[smokeping-users] Graph error

Peter Kristolaitis alter3d at alter3d.ca
Fri Apr 20 14:45:55 CEST 2007


Hi Peter;

The error looks like it is caused by directory permissions:

---- snip ----

cd /usr/local/smokeping/var/World/

[root at test 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
>
>  
>
> [root at test]# cd /var/www/html/smokeping/img/
>
> rrdtool.png  smokeping.png  test  World
>
> [root at test 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/
>
> [root at test 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
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20070420/0dab8651/attachment-0001.htm 


More information about the smokeping-users mailing list