[smokeping-users] Re: trouble with smokeping 1.18
chelle
mdemarr at ev1.net
Thu Feb 20 04:15:22 MET 2003
alright, i have changed the config file to ping one ip
heres the end of my config file:
+ FPing
binary = /fping
*** Targets ***
probe = FPing
menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing website of xxx Company. \
Here you will learn all about the latency of our network.
+ LOCALHOST
menu = LocalHost
title = LocalHost (127.0.0.1)
host = 127.0.0.1
then i run it:
[chelle at smokeping smokeping]$ ./bin/smokeping
### fping seems to report in 1 miliseconds
Daemonizing ./bin/smokeping ...
so now i get the regular process and a fping process:
chelle 18616 0.1 2.3 7628 6072 ? S 20:42 0:00 /usr/bin/perl -w ./bin/smokeping
chelle 18617 0.1 0.2 1452 520 ? R 20:42 0:00 /fping -C 20 -q -B1 -i10 -r1 127.0.0.1
[chelle at smokeping smokeping]$ date
Wed Feb 19 20:43:02 CST 2003
by the way i can ping 127.0.0.1:
[chelle at smokeping smokeping]$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) from 127.0.0.1 : 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=35 usec
--- 127.0.0.1 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/mdev = 0.035/0.035/0.035/0.000 ms
so i then check /var/www/cgi-bin/smokeping/var/:
[root at smokeping var]# ls -al
total 2940
drwxrwxrwx 3 chelle chelle 4096 Feb 19 20:42 .
drwxr-xr-x 9 chelle chelle 4096 Feb 19 20:35 ..
-rw-r--r-- 1 chelle chelle 2986668 Feb 19 20:45 LOCALHOST.rrd
-rw-r--r-- 1 chelle chelle 6 Feb 19 20:42 smokeping.pid
drwxrwxrwx 4 chelle chelle 4096 Feb 18 17:27 World
so then i wait about 15 min:
[chelle at smokeping smokeping]$ date
Wed Feb 19 21:00:12 CST 2003
smokeping is still running:
chelle 18616 0.0 2.3 7640 6112 ? S 20:42 0:00 /usr/bin/perl -w ./bin/smokeping
so now i check the webpage @ http://smokeping.domain.com/cgi-bin/smokeping/smokeping.cgi
heres what i get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.22 Server at smokeping.domain.com Port 80
so i check the error_log for apache:
[Wed Feb 19 21:01:39 2003] [error] [client 207.218.193.24] malformed header from script. Bad header=Daemonizing /var/www/cgi-bin/s: /var/www/cgi-bin/smokeping/smokeping.cgi
and suexec_log hasnt been updated:
[root at smokeping smokeping]# ls -al /var/log/httpd
total 132
drwxr-xr-x 2 root root 4096 Feb 18 16:26 .
drwxr-xr-x 5 root root 4096 Feb 16 04:02 ..
-rw-r--r-- 1 root root 65949 Feb 19 21:01 access_log
-rw-r--r-- 1 root root 14771 Feb 14 20:39 access_log.1
-rw-r--r-- 1 root root 25931 Feb 19 21:01 error_log
-rw-r--r-- 1 root root 1839 Feb 14 20:29 error_log.1
-rw-r--r-- 1 root root 288 Feb 19 19:15 suexec_log
any other ideas?
thanks,
chelle
----- Original Message -----
From: "Leigh Sharpe" <lsharpe at pacificwireless.com.au>
To: "chelle" <mdemarr at ev1.net>; <smokeping-users at list.ee.ethz.ch>
Sent: Wednesday, February 19, 2003 8:33 PM
Subject: [smokeping-users] Re: trouble with smokeping 1.18
>
> A couple of things stand out here:
> 1. You have entries in the config which smokeping cannot resolve to an IP
> address. This will give you errors on your web page and on your command
> line. Try using just IP addresses for now until you get the rest of it
> working, then substitute them for names. Looks like you may have some kind
> of DNS error which is only making things look worse than they really are.
>
> 2. You are supposed to have two processes running. One is the smokeping
> daemon and the other is the cgi, which will run as user apache. This is
> normal and there is no need to kill the processes as you are. Just leave the
> daemon run for 10 or 15 mins and then look at the web page.
>
> Doing this should cut down on the error and warning messages so that you can
> see where the real problem lies.
>
> Regards,
> Leigh
>
> Leigh Sharpe
> Network Systems Engineer
> Pacific Wireless
> Ph 9584 8966
> Mob 0408 009 502
> email lsharpe at pacificwireless.com.au
> web www.pacificwireless.com.au
>
>
> --
> 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
>
>
>
--
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