[smokeping-users] AJAX based interactive Graph Zooming NOT WORKING

Tobias Oetiker tobi at oetiker.ch
Wed Jan 13 06:58:54 CET 2010


Hi Slt,

Today Smokeping slt wrote:
>
> I change the document directory to /usr/local/smokeping/htdoc in httpd.conf. Still errors coming.
>
>
> [root at c-svsmokeping htdocs]# tail /var/log/httpd/error_log
> [Wed Jan 13 09:56:37 2010] [error] [client 10.64.10.76] (8)Exec format error: exec of '/usr/local/smokeping/htdocs/cropper/smokeping-zoom.js' failed, referer: http://172.25.6.222/smokeping/smokeping.cgi?target=Test.KandyTC
> [Wed Jan 13 09:56:37 2010] [error] [client 10.64.10.76] Premature end of script headers: smokeping-zoom.js, referer: http://172.25.6.222/smokeping/smokeping.cgi?target=Test.KandyTC
> [Wed Jan 13 09:56:39 2010] [error] [client 10.64.10.76] (8)Exec format error: exec of '/usr/local/smokeping/htdocs/cropper/lib/prototype.js' failed, referer: http://172.25.6.222/smokeping/smokeping.cgi?displaymode=n;start=2010-01-12%2003:56;end=now;target=Test.KandyTC
> [Wed Jan 13 09:56:39 2010] [error] [client 10.64.10.76] Premature end of script headers: prototype.js, referer: http://172.25.6.222/smokeping/smokeping.cgi?displaymode=n;start=2010-01-12%2003:56;end=now;target=Test.KandyTC
> [Wed Jan 13 09:56:39 2010] [error] [client 10.64.10.76] (8)Exec format error: exec of '/usr/local/smokeping/htdocs/cropper/lib/scriptaculous.js' failed, referer: http://172.25.6.222/smokeping/smokeping.cgi?displaymode=n;start=2010-01-12%2003:56;end=now;target=Test.KandyTC
> [Wed Jan 13 09:56:39 2010] [error] [client 10.64.10.76] Premature end of script headers: scriptaculous.js, referer: http://172.25.6.222/smokeping/smokeping.cgi?displaymode=n;start=2010-01-12%2003:56;end=now;target=Test.KandyTC
> [Wed Jan 13 09:56:39 2010] [error] [client 10.64.10.76] (8)Exec format error: exec of '/usr/local/smokeping/htdocs/cropper/cropper.js' failed, referer: http://172.25.6.222/smokeping/smokeping.cgi?displaymode=n;start=2010-01-12%2003:56;end=now;target=Test.KandyTC
> [Wed Jan 13 09:56:39 2010] [error] [client 10.64.10.76] Premature end of script headers: cropper.js, referer: http://172.25.6.222/smokeping/smokeping.cgi?displaymode=n;start=2010-01-12%2003:56;end=now;target=Test.KandyTC
> [Wed Jan 13 09:56:39 2010] [error] [client 10.64.10.76] (8)Exec format error: exec of '/usr/local/smokeping/htdocs/cropper/smokeping-zoom.js' failed, referer: http://172.25.6.222/smokeping/smokeping.cgi?displaymode=n;start=2010-01-12%2003:56;end=now;target=Test.KandyTC
> [Wed Jan 13 09:56:39 2010] [error] [client 10.64.10.76] Premature end of script headers: smokeping-zoom.js, referer: http://172.25.6.222/smokeping/smokeping.cgi?displaymode=n;start=2010-01-12%2003:56;end=now;target=Test.KandyTC
>
>
> here are the permissions :
>
>
>   cropper]# ls -al
> total 148
> drwxr-xr-x 3 apache apache  4096 Dec 30 18:07 .
> drwxr-xr-x 5 apache apache  4096 Jan  3 10:28 ..
> -rw-r--r-- 1 root   root    3583 Sep 29  2007 cropper.css
> -rwxr-xr-x 1 apache apache 17049 Sep 29  2007 cropper.js
> -rwxr-xr-x 1 apache apache 49289 Sep 29  2007 cropper.uncompressed.js
> drwxr-xr-x 2 root   root    4096 Dec 30 18:07 lib
> -rw-r--r-- 1 root   root    1556 Aug 21  2007 licence.txt
> -rw-r--r-- 1 root   root    1125 Aug 21  2007 marqueeHoriz.gif
> -rw-r--r-- 1 root   root    1141 Aug 21  2007 marqueeVert.gif
> -rwxr-xr-x 1 apache apache  2810 Jan 12 12:36 smokeping-zoom.js
>
> htdocs]# ls -al
> total 752
> drwxr-xr-x  5 apache apache   4096 Jan  3 10:28 .
> drwxr-xr-x 10 apache apache   4096 Dec 30 18:10 ..
> -rw-r--r--  1 root   root    25786 Nov 11 12:09 command.history
> drwxr-xr-x  3 apache apache   4096 Dec 30 18:07 cropper
> drwxr-xr-x  4 root   root     4096 Jan  3 10:29 resource
> drwxr-xr-x  2 root   root     4096 Dec 30 18:07 script
> -rwxrwxrwx  1 root   root     2485 Aug 11 09:09 smokeping.cgi
> -rwxr-xr-x  1 root   root      668 Aug 13 08:44 tr.cgi
> -rwxr-xr-x  1 root   root      663 Jul 24  2008 tr.cgi.dist
> -rw-r--r--  1 root   root      195 Jan  3 10:28 tr.html
> -rw-r--r--  1 root   root   658198 Aug 10 16:28 Tr.js

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 ... also you should NOT have the execute bits set
on the js files ... note js is running on the browser and not on
the server.

cheers
tobi

>
>
>
>
>
>
> _________________________________________________________________
> Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the smokeping-users mailing list