[smokeping-users] Apache errors...

redhat unix gamji44 at hotmail.com
Thu Feb 26 22:17:32 CET 2009


ok could some one please clrify where i need to have the cropper ...file ..i momentarily moved it to /var/www that did not seem to work well... 

 

 

My apache error...

 

script not found or unable to stat: /usr/lib/cgi-bin/cropper, referer: http://smokeping/cgi-bin/smokeping.cgi

[Thu Feb 26 15:45:12 2009] [error] (8)Exec format error: exec of '/usr/lib/cgi-bin/cropper/smokeping-zoom.js' failed
[Thu Feb 26 15:45:12 2009] [error] [client 192.168.1.100 Premature end of script headers: smokeping-zoom.js, referer: http://smokeping/cgi-bin/smokeping.cgi

 

 

THis is the Grap error i am getting ...

 

RROR: Opening '/var/www/smokeping/ISP_HOLDER_mini.png' for write: Permission denied
'DEF:median1=/var/lib/smokeping//ISP/QWEST.rrd:median:AVERAGE'
'DEF:loss1=/var/lib/smokeping//ISP/QWEST.rrd:loss:AVERAGE'
'CDEF:ploss1=loss1,5,/,100,*'
'CDEF:dm1=median1,0,100000,LIMIT'

 

how ever i have read write permission on all the files in that path......

 

 

ls -al 

 

drwxrwxrwx 28 smokeping smokeping    4096 2009-02-26 15:35 .
drwxr-xr-x 31 root      root         4096 2009-02-12 09:53 ..
drwxrwxrwx  2 www-data  www-data     4096 2009-02-12 10:10 AP_line
drwxrwxrwx  3 smokeping smokeping    4096 2009-02-12 09:54 __cgi
drwxrwxrwx  2 smokeping smokeping    4096 2009-02-12 10:11 Client
drwxrwxrwx  2 www-data  www-data     4096 2009-02-12 10:11 Datacenter
drwxrwxrwx  2 smokeping smokeping    4096 2009-02-12 10:09 _Patform

 

 

 

Thanks ....

 

 

 


From: gamji44 at hotmail.com
To: ntyni+smokeping-users at mappi.helsinki.fi
Date: Wed, 25 Feb 2009 21:31:43 +0000
CC: smokeping-users at lists.oetiker.ch
Subject: Re: [smokeping-users] Apache errors...



grrrrrr yeah it does... see below....i went ahead and recopied the file smokeping.dist to /usr/lib/cgi-bin/ and name it smokeping.cgi.... looking at the logs now i am getting ..........it is still not recognising it as a script... 
 
[Wed Feb 25 16:21:08 2009] [error] (2)No such file or directory: exec of '/usr/lib/cgi-bin/smokeping.cgi' failed
[Wed Feb 25 16:21:08 2009] [error] [client 192.168.1.100] Premature end of script headers: smokeping.cgi
 
 
Package: smokeping
Status: install ok installed
Priority: extra
Section: net
Installed-Size: 2668
Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
Architecture: all
Version: 2.3.6-1
Depends: perl (>= 5.6.0-16), libnet-perl, libwww-perl, libsnmp-session-perl (>= 0.86), librrds-perl (>= 1.2), liburi-perl, fping (>= 2.4b2-to-ipv6-2), speedy-cgi-perl (>= 2.21-1), exim4 | mail-transport-agent, debianutils (>= 1.7), adduser, lsb-base (>= 3.0-6), libdigest-hmac-perl, ucf (>= 0.28)
Recommends: apache2 | httpd, libsocket6-perl, dnsutils, echoping
Suggests: curl, libauthen-radius-perl, libnet-ldap-perl, libnet-dns-perl, openssh-client, libio-socket-ssl-perl, libnet-telnet-perl
Conffiles:
 /etc/default/smokeping cd4f40c070a6fb2b484abd2e55804159
 /etc/init.d/smokeping fcd1df6f3e13c0682b2981af54b01642
Description: latency logging and graphing system
 SmokePing consists of a daemon process which organizes the
 latency measurements and a CGI which presents the graphs.
 .
 With SmokePing you can measure latency and packet loss in your network.
 SmokePing uses RRDtool to maintain a longterm datastore and to draw pretty
 graphs giving up to the minute information on the state of each
 network connection.
Original-Maintainer: Jose Carlos Garcia Sogo <jsogo at debian.org>
 
 
 
 
 
 

 
> Date: Wed, 25 Feb 2009 22:52:53 +0200
> From: ntyni+smokeping-users at mappi.helsinki.fi
> To: gamji44 at hotmail.com
> CC: smokeping-users at lists.oetiker.ch
> Subject: Re: [smokeping-users] Apache errors...
> 
> On Wed, Feb 25, 2009 at 08:33:59PM +0000, redhat unix wrote:
> 
> > this is what i am running ..Ubuntu 8.10 \n \l
> 
> So 'dpkg -s smokeping' says version 2.3.6-1 ?
> 
> > should i not be able to atleast read that file... becaue as it is i am not able to, this is the content of the file...
> 
> It is not a regular file on your system, it's a directory. Sorry, no idea
> what could have hosed your system that bad. Maybe filesystem corruption.
> 
> Looking at the Ubuntu 2.3.6-1 build log, the package should definitely
> not have a directory there:
> 
> http://launchpadlibrarian.net/15345387/buildlog_ubuntu-intrepid-i386.smokeping_2.3.6-1_FULLYBUILT.txt.gz
> 
> -rwxr-xr-x root/root 2413 2008-06-16 10:30 ./usr/lib/cgi-bin/smokeping.cgi
> -- 
> Niko Tyni ntyni at iki.fi



Windows Live™: Discover 10 secrets about the new Windows Live. View post.
_________________________________________________________________
Access your email online and on the go with Windows Live Hotmail.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Access_022009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20090226/fcd9f6b5/attachment.html 


More information about the smokeping-users mailing list