[smokeping-users] Apache errors...

Petr jantar.cz at quick.cz
Thu Feb 26 23:18:35 CET 2009


You should just try to reinstall the package.
It is working without problems in Ubuntu, i installed it in Ubuntu about 
two weeks ago.
Just:
In Gnome go:
menu System - Administration - Synaptic Package Manager
in menu Settings - Repositories verify that you have Universe packages 
selected (if you want to have access to more software, check all)
Confirm and Reload sources.
Search for Smokeping.
If the package is installed, choose Mark for complete removal.
Remove the package.
Check the contents of folders where you have been adding files and 
making directories (probably /var/www/ and /usr/lib/cgi-bin/ and maybe 
/var/lib/smokeping/) and delete all smokeping-related files you might 
added there.
Then search for it again in Synaptic and install it.
If your Ubuntu system is not somehow havilly modified (or broken), it 
will work after you type
http://localhost/cgi/bin/smokeping.cgi in your browser in that machine.
As far as i remember, there were no problems, you should not need to set 
any permissions or copy files.
It seems to me you tried to configure it manually, but there is no need 
to do that in Ubuntu.
Then you should read the Smokeping documentation how to set the targets 
you want to ping. (BTW you should probably read it BEFORE you decide to 
install it).
If this fails, you probably should uninstall Ubuntu and install Windows. :)
Or at least use Google and search for "how to install software in Ubuntu".
Petr


redhat unix napsal(a):
> 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 
> <mailto: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 
> <mailto: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. 
> <http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns%21550F681DAD532637%217540.entry?ocid=TXT_TAGLM_WL_t2_ugc_post_022009>
> ------------------------------------------------------------------------
> Access your email online and on the go with Windows Live Hotmail. Sign 
> up today. 
> <http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Access_022009> 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>   



More information about the smokeping-users mailing list