On Fri, Aug 26, 2005 at 10:32:05AM +0200, Marc Haber wrote: > I generated a new secret, and when the remote client first reported > in, the .adr file was created OK. However, smokeping still > _occasionally_ logs the "Invalid Target" error, and when the client > changed IP addresses this morning, the .adr file was not updated. What > can be going wrong here? Sorry, I don't have any ideas left without more debugging. > Can I have a patch which causes the "Invalid Target" error to be > logged with a timestamp, source-IP, and a trailing newline? This would > greatly ease correlating error.log, access.log and tcpdump. Here you go. It's a backport of the 2.0 code. You need the previous patch (or 1.43) as well, that fix isn't included. There is a very strange problem with Apache and SpeedyCGI that I've been hunting down. Seems that STDERR is sometimes closed for the persistent scripts when the connection isn't closed between requests (ie. no Connection: Close HTTP 1.1 header). This can cause error messages not ending up in the server's error log. It should only affect normal CGI browsing, not the DYNAMIC updates, since the latter use HTTP 1.0. Still, you should probably be aware of it if you try to debug the problem with a regular browser like Firefox (which leaves the connection open between requests). HTH, -- Niko -- Attached file removed by Ecartis and put at URL below -- -- Type: text/plain -- Size: 2k (2363 bytes) -- URL : http://lists.ee.ethz.ch/p/sm-cgi-patch -- Unsubscribe mailto:smokeping-users-request@list.ee.ethz.ch?subject=unsubscribe Help mailto:smokeping-users-request@list.ee.ethz.ch?subject=help Archive http://lists.ee.ethz.ch/smokeping-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi