[smokeping-users] PNG Saving errors
staticsafe
me at staticsafe.ca
Tue Oct 23 19:46:00 CEST 2012
On 23/10/2012 12:03 PM, Nicolas KARP wrote:
> 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.
>
>
> 2012/10/22 staticsafe <me at staticsafe.ca <mailto: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
> <http://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. :(
Smokeping running on FreeBSD 9.0 so no SELinux. I have fixed all the JS
file not found errors.
P.S - Can you please not top-post? It makes threads annoying to read.
--
staticsafe
http://staticsafe.ca
More information about the smokeping-users
mailing list