[smokeping-users] Need help install

J.P van Oyen jeepee at pbnec.nl
Fri Mar 14 15:47:14 MET 2003


Subject: Need help

I am trying to get Smokeping to work but am running into issues.

I have installed Smokeping 1.19 in /usr/local/smokeping
Smokeping.conf in /etc/

If I run the bin/smokeping utility I see the RDD stats being build in the 
/usr/local/smokeping/var directory.

I have copied smokeping.cgi in my cgi directory and if I run it through my 
browser I get a 500 warning Internal Server Error.

Also the HTML directory is not being build however in my log files I do not 
see any errors.

running smokeping.cgi the first time result:
./smokeping.cgi 

### fping seems to report in 1 miliseconds
Note: logging to syslog as local0/info.
Daemonizing ./smokeping.cgi ...

Second time from prompt:
Note: logging to syslog as local0/info.
ERROR: I Quit! Another copy of ./smokeping.cgi (15023) seems to be running.
        Check /usr/local/smokeping/var/smokeping.pid


ps aux gives than

nobody   14926  1.7  1.3  8676 7012 ?        S    14:48   0:02 
/usr/local/bin/speedy_backend -w /var/lib/apache/cgi-bin/smokeping.cg
nobody   14927  0.3  1.5  9472 7864 ?        S    14:48   0:00 
/usr/local/bin/speedy_backend -w /var/lib/apache/cgi-bin/smokeping.cg
nobody   14930  0.0  0.0     0    0 ?        Z    14:49   0:00 
[speedy_backend <defunct>]

If I run the cgi through the browser it just adds more 
/usr/local/bin/speedy_backend tasks.

Some of my settings.....

sendmail = /usr/sbin/sendmail
imgcache = /var/lib/apache/htdocs/simg
imgurl   = /var/lib/apache/htdocs/simg
datadir  = /usr/local/smokeping/var
piddir  = /usr/local/smokeping/var
cgiurl   = http://www.gids.nl/cgi-bin/smokeping.cgi
smokemail = /usr/local/smokeping/etc/smokemail

syslog :
Mar 14 14:49:07 gidswww smokeping.cgi[14930]: Launched successfully
Mar 14 14:49:07 gidswww smokeping.cgi[14930]: FPing: probing 8 targets

smokeping.cgi:
#!/usr/local/bin/speedy -w
# -*-perl-*-

use lib qw(/usr/local/rrdtool-1.0.40/lib/perl);
use lib qw(/usr/local/smokeping/lib);

use Smokeping 1.19;

Smokeping::main("/etc/smokeping.conf");


Who can assist me in getting this to work properly ?

--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the smokeping-users mailing list