I noticed in the httpd error log I am seeing this:
[Sun Dec 02 02:05:59 2012] [error] [client 10.56.36.58] (13)Permission denied: exec of '/var/www/cgi-bin/cropper/lib/prototype.js' failed, referer: http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN [Sun Dec 02 02:05:59 2012] [error] [client 10.56.36.58] Premature end of script headers: prototype.js, referer: http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN [Sun Dec 02 02:05:59 2012] [error] [client 10.56.36.58] (13)Permission denied: exec of '/var/www/cgi-bin/cropper/lib/scriptaculous.js' failed, referer: http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN [Sun Dec 02 02:05:59 2012] [error] [client 10.56.36.58] (13)Permission denied: exec of '/var/www/cgi-bin/cropper/cropper.js' failed, referer: http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN [Sun Dec 02 02:05:59 2012] [error] [client 10.56.36.58] (13)Permission denied: exec of '/var/www/cgi-bin/cropper/smokeping-zoom.js' failed, referer: http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN [Sun Dec 02 02:05:59 2012] [error] [client 10.56.36.58] Premature end of script headers: scriptaculous.js, referer: http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN [Sun Dec 02 02:05:59 2012] [error] [client 10.56.36.58] Premature end of script headers: cropper.js, referer: http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN [Sun Dec 02 02:05:59 2012] [error] [client 10.56.36.58] Premature end of script headers: smokeping-zoom.js, referer: http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN Tobi has replied to some threads about this problem, but I'm not sure what it means: "check out you webserver configuration. for some reason it is trying to execute the javascript files ... there must be some config that is causing this ..." I'm not sure what needs to change. The only part of the default httpd.conf file that references cgi-bin is this: ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased <Directory "/var/www/cgi-bin"> #ErrorDocument 404 "/cgi-bin/missing_handler.pl" And this from Tobi: "you must not put these files into the cgi-bin directory since your webserver will try to run them ... put them somewhere else!" Well, if I put them someplace else, how is the browser know where to find them? What is the recommended location for them, other than /var/www/cgi-bin ? Or can I put something in httpd.conf to tell it not to run them? Thanks, Matt On Sun, Dec 2, 2012 at 1:45 AM, Matt Almgren <[email protected]> wrote: > Great guide! I re-did two of my servers and also setup a third virgin > server using that guide. > > However, that doesn't solve my original problem. The cropper/zoom > portion still doesn't work. I click on an image to drill down and when I > go to select part of the graph, the image is grabbed (attempt to copy), but > the cropper isn't doing it's function. > > What else could be the problem? > > BTW, I'd love to know if you have an RPM for that guide - otherwise I > might make one. > > > > On Fri, Nov 30, 2012 at 11:37 PM, Matt Almgren <[email protected]> wrote: > >> Not sure exactly what it's called, but I am unable to mouse click on a >> graph, drag a box around it, and zoom in. I have smokeping 2.6.8. >> installed in several CentOS 6.2 boxes and they all have this problem. I >> have one install on an old SuSE box and it works fine, but I can't figure >> out what the difference is. Does something need to be enabled for this? >> Permission problem? >> >> Thanks, Matt >> >> >
_______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
