And if I move the cropper directory - say to the /var/www/html/cropper directory, I get these messages:<div><br></div><div><div>[Sun Dec 02 02:30:13 2012] [error] [client 10.56.36.58] script not found or unable to stat: /var/www/cgi-bin/cropper, referer: <a href="http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2023:15;end=now;target=Internal.Gateway">http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2023:15;end=now;target=Internal.Gateway</a></div>
<div>[Sun Dec 02 02:30:13 2012] [error] [client 10.56.36.58] script not found or unable to stat: /var/www/cgi-bin/cropper, referer: <a href="http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2023:15;end=now;target=Internal.Gateway">http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2023:15;end=now;target=Internal.Gateway</a></div>
<div>[Sun Dec 02 02:30:13 2012] [error] [client 10.56.36.58] script not found or unable to stat: /var/www/cgi-bin/cropper, referer: <a href="http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2023:15;end=now;target=Internal.Gateway">http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2023:15;end=now;target=Internal.Gateway</a></div>
<div>[Sun Dec 02 02:30:13 2012] [error] [client 10.56.36.58] script not found or unable to stat: /var/www/cgi-bin/cropper, referer: <a href="http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2023:15;end=now;target=Internal.Gateway">http://10.59.1.33/cgi-bin/smokeping.fcgi?displaymode=n;start=2012-12-01%2023:15;end=now;target=Internal.Gateway</a></div>
</div><div><br></div><div>So something is telling it to look in that directory for the scripts.  </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 2, 2012 at 2:24 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"><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" target="_blank">http://localhost/cgi-bin/smokeping.cgi</a></div>

<div>#cgiurl   = <a href="http://localhost/smokeping/smokeping.cgi" target="_blank">http://localhost/smokeping/smokeping.cgi</a></div><div>cgiurl   = <a href="http://localhost/cgi-bin/smokeping.fcgi" target="_blank">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="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 2, 2012 at 2:11 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"><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" 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 &#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" 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 &#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" 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 &#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" 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&#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" target="_blank">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><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><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">&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>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>