[smokeping-users] PNG Saving errors

Nicolas KARP liste at karp.fr
Tue Oct 23 18:03:29 CEST 2012


Staticsafe,

On the ngix error logs, there are some other errors (failed to open
Javascript / ...)

Did you check if you were running selinux on your box ? BTW, What OS are
you using ?
Did you use a package to install smokepiong or did you install smokeping
from the source ?

Thanks.


# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
# - -   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/22 staticsafe <me at staticsafe.ca>

> On 21/10/2012 11:58 PM, Jim Long wrote:
> > On Sun, Oct 21, 2012 at 04:53:58PM -0400, staticsafe wrote:
> >>>>>>>>>> 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'
> >>>>>>>>>>
> >
> >>>>>>
> >>>>>> Here it is:
> >>>>>>
> >>>>>> imgcache = /usr/local/smokeping/htdocs/img
> >>>>>> imgurl   = img
> >>>>>> datadir  = /usr/local/var/smokeping
> >>>>>>
> >>>>>> $ ps aux  | grep smokeping
> >>>>>> smokeping 35589   0.0  3.1 144660  24060  ??  Ss   Fri02PM
> 0:09.15
> >>>>>> /usr/local/bin/smokeping [FPing] (perl)
> >>>>>> smokeping 35618   0.0  3.1 144660  24056  ??  Is   Fri02PM
> 0:08.81
> >>>>>> /usr/local/bin/smokeping [FPing] (perl)
> >>>>>> smokeping 57148   0.0  0.2  10068   1264  ??  S    10:50AM
> 0:00.03
> >>>>>> [fping]
> >>>>>>
> >>>>>> $ ls -alh /usr/local/smokeping/htdocs/img
> >>>>>> total 36
> >>>>>> drwxr-xr-x  6 www   www   512B Oct 21 11:38 ./
> >>>>>> drwxr-xr-x  4 www   www   512B Oct 21 11:36 ../
> >>>>>> drwxr-xr-x  2 root  www   512B Oct 21 11:38 IRC/
> >>>>>> drwxr-xr-x  2 root  www   512B Oct 21 11:38 Miscellaneous/
> >>>>>> drwxr-xr-x  2 root  www   512B Oct 21 11:40 Personal/
> >>>>>> drwxr-xr-x  2 root  www   512B Oct 21 11:39 __chartscache/
> >>>>>> -rw-r--r--  1 root  www   3.8k Oct 21 11:38 rrdtool.png
> >>>>>> -rw-r--r--  1 root  www   4.3k Oct 21 11:38 smokeping.png
> >
> > Try:
> >
> > chown -R www:www /usr/local/smokeping/htdocs/img
> >
> >
> >
>
> Tried that as well. No luck. Been playing with the permissions all week. :(
>
> --
> 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/20121023/10cc77b2/attachment.htm 


More information about the smokeping-users mailing list