[smokeping-users] 500 Error all of a sudden..

B. Cook bcook-smokeping at poughkeepsieschools.org
Wed Jun 3 16:49:42 CEST 2009


Not that it should matter, but I have been running smokeping on this 
machine for over 45+ days on lighttpd and FreeBSD 7.2 (amd64).

Yesterday someone told me smokeping.cgi gave a 500 error, (they were 
right) and as far as I can see I can not find a problem.

if I run ./smokeping.cgi it does produce html output.

thinking for some odd reason there might be something up w/ lighttpd; i 
quickly compiled thttpd.  It to produces a white screen.

I just ran a rebuild of smokeping with portmaster, and same results.

(software versions)

smokeping-2.4.2_1   Latency logging and graphing system

This is perl, v5.10.0 built for amd64-freebsd

RRDtool 1.3.7  Copyright 1997-2009 by Tobias Oetiker <tobi at oetiker.ch>
                Compiled Jun  3 2009 07:34:00


lighttpd error log (fwiw)

2009-06-03 10:41:14: (server.c.1469) server stopped by UID = 0 PID = 0
2009-06-03 10:41:17: (log.c.97) server started
2009-06-03 10:41:20: (request.c.294) fd: 11 request-len: 452
GET /smokeping/ HTTP/1.1
Host: nms.domain.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en; 
rv:1.9.0.12pre) Gecko/2009060209 Camino/2.0b3pre (like Firefox/3.0.12pre)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: 
en-US,en;q=0.9,ja;q=0.8,fr;q=0.7,de;q=0.6,es;q=0.5,it;q=0.4,pt;q=0.3,pt-PT;q=0.2,nl;q=0.1
Accept-Encoding: gzip,deflate
Keep-Alive: 300
Connection: keep-alive


2009-06-03 10:41:20: (response.c.221) -- splitting Request-URI
2009-06-03 10:41:20: (response.c.222) Request-URI  :  /smokeping/
2009-06-03 10:41:20: (response.c.223) URI-scheme   :  https
2009-06-03 10:41:20: (response.c.224) URI-authority:  nms.domain.com
2009-06-03 10:41:20: (response.c.225) URI-path     :  /smokeping/
2009-06-03 10:41:20: (response.c.226) URI-query    :
2009-06-03 10:41:20: (response.c.276) -- sanatising URI
2009-06-03 10:41:20: (response.c.277) URI-path     :  /smokeping/
2009-06-03 10:41:20: (mod_access.c.135) -- mod_access_uri_handler called
2009-06-03 10:41:20: (response.c.391) -- before doc_root
2009-06-03 10:41:20: (response.c.392) Doc-Root     : /usr/local/www/data/
2009-06-03 10:41:20: (response.c.393) Rel-Path     : /smokeping/
2009-06-03 10:41:20: (response.c.394) Path         :
2009-06-03 10:41:20: (response.c.442) -- after doc_root
2009-06-03 10:41:20: (response.c.443) Doc-Root     : /usr/local/www/data/
2009-06-03 10:41:20: (response.c.444) Rel-Path     : /smokeping/
2009-06-03 10:41:20: (response.c.445) Path         : 
/usr/local/www/data/smokeping/
2009-06-03 10:41:20: (response.c.462) -- logical -> physical
2009-06-03 10:41:20: (response.c.463) Doc-Root     : /usr/local/www/data/
2009-06-03 10:41:20: (response.c.464) Rel-Path     : /smokeping/
2009-06-03 10:41:20: (response.c.465) Path         : 
/usr/local/smokeping/htdocs/
2009-06-03 10:41:20: (response.c.482) -- handling physical path
2009-06-03 10:41:20: (response.c.483) Path         : 
/usr/local/smokeping/htdocs/
2009-06-03 10:41:20: (response.c.490) -- file found
2009-06-03 10:41:20: (response.c.491) Path         : 
/usr/local/smokeping/htdocs/
2009-06-03 10:41:20: (response.c.640) -- handling subrequest
2009-06-03 10:41:20: (response.c.641) Path         : 
/usr/local/smokeping/htdocs/
2009-06-03 10:41:20: (mod_indexfile.c.151) -- handling the request as 
Indexfile
2009-06-03 10:41:20: (mod_indexfile.c.152) URI          : /smokeping/
2009-06-03 10:41:20: (mod_access.c.135) -- mod_access_uri_handler called
2009-06-03 10:41:20: (response.c.120) Response-Header:
HTTP/1.1 500 Internal Server Error
Content-Type: text/html
Content-Length: 369
Date: Wed, 03 Jun 2009 14:41:20 GMT
Server: lighttpd/1.4.22


(smokeping log..)

Jun  3 10:15:13 nms smokeping[7931]: Starting syslog logging
Jun  3 10:15:13 nms smokeping[28513]: Smokeping version 2.004002 
successfully launched.
Jun  3 10:15:13 nms smokeping[28513]: Entering multiprocess mode.
Jun  3 10:15:14 nms smokeping[28513]: Child process 95763 started for 
probe FPing.
Jun  3 10:15:14 nms smokeping[95763]: FPing: probing 57 targets with 
step 300 s and offset 148 s.
Jun  3 10:15:14 nms smokeping[28513]: Child process 61506 started for 
probe EchoPingSmtp.
Jun  3 10:15:14 nms smokeping[61506]: EchoPingSmtp: probing 6 targets 
with step 300 s and offset 150 s.
Jun  3 10:15:14 nms smokeping[28513]: All probe processes started 
successfully.


(first few lines of smokeping.cgi being executed)

root at nms [/usr/local/smokeping/htdocs]# 69 > ./smokeping.cgi
Expires: Wed, 03 Jun 2009 14:49:49 GMT
Date: Wed, 03 Jun 2009 14:44:49 GMT
Content-length: 4446
Content-Type: text/html; charset=iso-8859-15

<?xml version="1.0" encoding="iso-8859-15"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<HTML>
<HEAD>
<META HTTP-EQUIV="Cache-Control" content="no-cache">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Refresh" CONTENT="300">
<link rel="shortcut icon" href="/smokeping/favicon.ico" type="image/x-icon">
<link rel="icon" href="/smokeping/favicon.ico" type="image/x-icon">
<TITLE>SmokePing Latency Page for Network Latency Grapher</TITLE>
<STYLE type="text/css">

root at nms [/usr/local/smokeping/htdocs]# 70 > pkg_info -W smokeping.cgi
/usr/local/smokeping/htdocs/smokeping.cgi was installed by package 
smokeping-2.4.2_1


Anyone have a clue where I could/should start?



More information about the smokeping-users mailing list