<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 &#39;/var/www/cgi-bin/cropper/lib/prototype.js&#39; 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">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">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 &#39;/var/www/cgi-bin/cropper/lib/scriptaculous.js&#39; 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">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 &#39;/var/www/cgi-bin/cropper/cropper.js&#39; 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">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 &#39;/var/www/cgi-bin/cropper/smokeping-zoom.js&#39; 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">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">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">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">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&#39;m not sure what it means:</div><div><br></div><div>&quot;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 ...&quot;</div><div><br></div><div>I&#39;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/ &quot;/var/www/cgi-bin/&quot;</div><div># &quot;/var/www/cgi-bin&quot; should be changed to whatever your ScriptAliased</div><div>&lt;Directory &quot;/var/www/cgi-bin&quot;&gt;</div>
<div>#ErrorDocument 404 &quot;/cgi-bin/<a href="http://missing_handler.pl">missing_handler.pl</a>&quot;</div><div><br></div><div>And this from Tobi:</div><div><br></div><div>&quot;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!&quot;</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="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 2, 2012 at 1:45 AM, Matt Almgren <span dir="ltr">&lt;<a href="mailto:almgren@gmail.com" target="_blank">almgren@gmail.com</a>&gt;</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&#39;t solve my original problem.   The cropper/zoom portion still doesn&#39;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&#39;t doing it&#39;s function.</div>

<div><br></div><div>What else could be the problem?  </div><div><br></div><div>BTW, I&#39;d love to know if you have an RPM for that guide - otherwise I might make one.</div><div class="HOEnZb"><div class="h5"><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">&lt;<a href="mailto:almgren@gmail.com" target="_blank">almgren@gmail.com</a>&gt;</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&#39;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&#39;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>