<div>Config file, if that helps:<br></div><div><div><br></div><div><div><div># NOTE: do not put the Image Cache below cgi-bin</div><div># since all files under cgi-bin will be executed ... this is not</div><div># good for images.</div>
<div>imgcache = /opt/smokeping/cache</div><div>imgurl = /cache</div><div>datadir = /opt/smokeping/data</div><div>piddir = /opt/smokeping/var</div><div>#cgiurl = <a href="http://localhost/cgi-bin/smokeping.cgi">http://localhost/cgi-bin/smokeping.cgi</a></div>
<div>#cgiurl = <a href="http://localhost/smokeping/smokeping.cgi">http://localhost/smokeping/smokeping.cgi</a></div><div>cgiurl = <a href="http://localhost/cgi-bin/smokeping.fcgi">http://localhost/cgi-bin/smokeping.fcgi</a></div>
<div>smokemail = /opt/smokeping/etc/smokemail</div><div>tmail = /opt/smokeping/etc/tmail</div><div># specify this to get syslog logging</div><div>syslogfacility = local0</div></div><div><br></div><div><br></div></div><div>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 2, 2012 at 2:11 AM, Matt Almgren <span dir="ltr"><<a href="mailto:almgren@gmail.com" target="_blank">almgren@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div>I noticed in the httpd error log I am seeing this:</div><div><br></div><div><br></div><div>[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: <a href="http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN" target="_blank">http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN</a></div>
<div>[Sun Dec 02 02:05:59 2012] [error] [client 10.56.36.58] Premature end of script headers: prototype.js, referer: <a href="http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN" target="_blank">http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN</a></div>
<div>[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: <a href="http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN" target="_blank">http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN</a></div>
<div>[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: <a href="http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN" target="_blank">http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN</a></div>
<div>[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: <a href="http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN" target="_blank">http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN</a></div>
<div>[Sun Dec 02 02:05:59 2012] [error] [client 10.56.36.58] Premature end of script headers: scriptaculous.js, referer: <a href="http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN" target="_blank">http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN</a></div>
<div>[Sun Dec 02 02:05:59 2012] [error] [client 10.56.36.58] Premature end of script headers: cropper.js, referer: <a href="http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN" target="_blank">http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN</a></div>
<div>[Sun Dec 02 02:05:59 2012] [error] [client 10.56.36.58] Premature end of script headers: smokeping-zoom.js, referer: <a href="http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN" target="_blank">http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2022:48;end=now;target=Internal.3750-SW2-FUN</a></div>
<div><br></div><div><br></div><div>Tobi has replied to some threads about this problem, but I'm not sure what it means:</div><div><br></div><div>"check out you webserver configuration. for some reason it is trying</div>
<div>to execute the javascript files ... there must be some config that</div><div>is causing this ..."</div><div><br></div><div>I'm not sure what needs to change. </div><div><br></div><div>The only part of the default httpd.conf file that references cgi-bin is this:</div>
<div><br></div><div>ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"</div><div># "/var/www/cgi-bin" should be changed to whatever your ScriptAliased</div><div><Directory "/var/www/cgi-bin"></div>
<div>#ErrorDocument 404 "/cgi-bin/<a href="http://missing_handler.pl" target="_blank">missing_handler.pl</a>"</div><div><br></div><div>And this from Tobi:</div><div><br></div><div>"you must not put these files into the cgi-bin directory since your</div>
<div>webserver will try to run them ... put them somewhere else!"</div><div><br></div><div>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? </div>
<div><br></div><div>Thanks, Matt</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 2, 2012 at 1:45 AM, Matt Almgren <span dir="ltr"><<a href="mailto:almgren@gmail.com" target="_blank">almgren@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Great guide! I re-did two of my servers and also setup a third virgin server using that guide. <br><div><br></div><div>
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.</div>
<div><br></div><div>What else could be the problem? </div><div><br></div><div>BTW, I'd love to know if you have an RPM for that guide - otherwise I might make one.</div><div><div><div><br></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Fri, Nov 30, 2012 at 11:37 PM, Matt Almgren <span dir="ltr"><<a href="mailto:almgren@gmail.com" target="_blank">almgren@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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? <div>
<br></div><div>Thanks, Matt</div><div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>