[smokeping-users] PNG Saving errors

Nicolas KARP liste at karp.fr
Sat Oct 20 03:51:51 CEST 2012


Hi staticsafe,

Check what user is used to run the webserver. This user need write access
to the cache directory which i guess is for you :
/usr/local/smokeping/htdocs/img

What you can do if you want is to add this user in the  group called
"smokeping" so as the directory and files are owed by smokeping, this user
would have automatically write access to all the files in this directory.

Do me on Centos :  /etc/group (Apache is my webserver)
smokeping:x:498:apache

Best Regards,


# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
# - -   Nicolas KARP
# - -   Network and Security Engineer
# - -    Email : liste at karp.fr <nicolas at karp.fr>
# - -    Linkedin :  http://www.linkedin.com/pub/nicolas-karp/39/60b/21a
<http://www.linkedin.com/pub/nicolas-karp/39/60b/21a%20>
# - -    Viadeo : http://www.viadeo.com/fr/profile/nicolas.karp
<http://www.viadeo.com/fr/profile/nicolas.karp%20>
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -





2012/10/19 staticsafe <me at staticsafe.ca>

> Hi,
>
> I have a Smokeping 2.6.7 install running over at
> smokeping.asininetech.com/smokeping.cgi.
>
> I am getting errors such as this:
> ERROR: Could not save png to
> '/usr/local/smokeping/htdocs/img/IRC/amy_mini.png'
>
> The permissions on that directory:
>
> [root at ferrovax /usr/local/smokeping/htdocs/img/IRC]# ls -alh
> total 20
> drwxr-xr-x  2 smokeping  smokeping   512B Oct 19 14:37 .
> drwxr-xr-x  7 smokeping  smokeping   512B Oct 19 14:43 ..
> -rw-r--r--  1 smokeping  smokeping    44B Oct 19 14:42 amy.maxheight
> -rw-r--r--  1 smokeping  smokeping     0B Oct 19 14:42 amy_last_10800.png
> -rwxr-xr-x  1 smokeping  smokeping     0B Oct 19 14:46 amy_mini.png
> -rw-r--r--  1 smokeping  smokeping    51B Oct 19 14:43 bender.maxheight
> -rw-r--r--  1 smokeping  smokeping     0B Oct 19 14:43
> bender_last_10800.png
> -rwxr-xr-x  1 smokeping  smokeping     0B Oct 19 14:46 bender_mini.png
> -rwxr-xr-x  1 smokeping  smokeping     0B Oct 19 14:46 kif_mini.png
> -rwxr-xr-x  1 smokeping  smokeping     0B Oct 19 14:46 leela_mini.png
> -rwxr-xr-x  1 smokeping  smokeping    55B Oct 19 14:24 scruffy.maxheight
> -rwxr-xr-x  1 smokeping  smokeping     0B Oct 19 14:24
> scruffy_last_10800.png
> -rwxr-xr-x  1 smokeping  smokeping     0B Oct 19 14:46 scruffy_mini.png
>
> I am using nginx + fcgiwrap to serve this.
>
> Am I missing something?
>
> Thanks for any help,
>
> --
> staticsafe
> http://staticsafe.ca
>
> _______________________________________________
> 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/20121020/e27e4067/attachment-0001.htm 


More information about the smokeping-users mailing list