<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><FONT face="Times New Roman"><FONT
color=#000000><FONT size=3><SPAN class=734181103-24012005>Richard Baker
wrote:</SPAN></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><FONT face="Times New Roman"><FONT
color=#000000><FONT size=3><SPAN class=734181103-24012005></SPAN>On the return
page from srvcheck.cgi I get "Error: Server closed connection before init packet
was received Error: Could not read init packet from server" and in
/var/log/messages I get: "Network server bind failure (98: Address already in
use)". I have mapped port 5667 to nsca in /etc/services and netstat -anp |
grep 5667 reveals nothing else trying to use that port. The web page, cgi
and NSCA are all on the same server as nagios. NSCA is running under
xinetd. </FONT></FONT></FONT><BR></FONT></DIV>
<DIV><SPAN class=734181103-24012005><FONT face=Arial color=#0000ff size=2>And I
replied thusly:</FONT></SPAN></DIV>
<DIV><SPAN class=734181103-24012005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=734181103-24012005><FONT face=Arial color=#0000ff size=2>Sounds
as if you have missed out the essential --inetd parameter.
</FONT></SPAN></DIV>
<DIV><SPAN class=734181103-24012005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>service
nsca<BR>{<BR>
flags =
REUSE<BR>
socket_type =
stream<BR>
wait =
no<BR>
user =
nagios<BR>
group =
nagios<BR>
server =
/u01/nagios/bin/nsca<BR>
server_args = -c /u01/nagios/etc/nsca.cfg
--inetd<BR>
disable =
no<BR>#
only_from = <ipaddress1>
<ipaddress2> ...<BR> only_from
= <SPAN class=734181103-24012005>130.216.4.0</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=734181103-24012005></SPAN>
instances = UNLIMITED<BR> # conn. per
sec, seconds to disable for when
exceeded<BR> cps = 60
10<BR>}</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=734181103-24012005>Steve</SPAN></FONT></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>---<BR>Steve Shipway: ITSS, University of Auckland<BR>Email:
s.shipway@auckland.ac.nz Web: <A
href="http://www.steveshipway.org/">http://www.steveshipway.org/</A> <BR>**
We can only discover new oceans when we have the **<BR>** courage to lose sight
of the
shore.
**</FONT> </P></BODY></HTML>