[smokeping-users] Graph error

Peter Nyamukusa petern at africaonline.co.sz
Fri Apr 20 16:00:30 CEST 2007


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:alter3d at alter3d.ca] 
Sent: Friday, April 20, 2007 2:46 PM
To: Peter Nyamukusa
Cc: smokeping-users at lists.oetiker.ch
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/

[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/7b453a19/attachment.html 


More information about the smokeping-users mailing list