[smokeping-users] PNG Saving errors

Jim Long smokeping at museum.rain.com
Mon Oct 22 05:58:52 CEST 2012


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





More information about the smokeping-users mailing list