Hi Staticsafe, Can you please send me your current config for the variables :
imgcache = /opt/smokeping-2.6.7/cache imgurl = /smokeping/cache datadir = /opt/smokeping-2.6.7/data and the result of : ps aux | grep smokeping ls -alh /usr/local/smokeping/htdocs/img Can you also check the httpd log file (Error logfile) ? And can you check if you are using SELinux on your box (command : sestatus and logs should be in : /var/log/audit/audit.log) ? Best Regards, # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - Nicolas KARP # - - Network and Security Engineer # - - Email : [email protected] <[email protected]> # - - 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/20 staticsafe <[email protected]> > On 10/19/2012 21:51, Nicolas KARP wrote: > > 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 : [email protected] <[email protected]> > > # - - 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 <[email protected]> > > > >> 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@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 > >> [email protected] > >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > >> > > > > No luck. (www is the user nginx is run as.) > > [root@ferrovax /usr/local/smokeping/htdocs]# pw usermod www -G smokeping > [root@ferrovax /usr/local/smokeping/htdocs]# chown -R www:smokeping ./img > > Still getting the same errors. > > -- > staticsafe > http://staticsafe.ca > > _______________________________________________ > smokeping-users mailing list > [email protected] > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >
_______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
