<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>NRPE just won't start on Solaris.</TITLE>
<META content="MSHTML 6.00.2800.1226" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=460235114-30102003>Alex</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=460235114-30102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=460235114-30102003>Have a
check in <FONT
color=#000000>/usr/local/nagios/etc/nrpe.cfg</FONT></SPAN></FONT></DIV>
<DIV><SPAN class=460235114-30102003><FONT face=Arial color=#0000ff size=2>what
does the server_port say it is set to.</FONT></SPAN></DIV>
<DIV><SPAN class=460235114-30102003><FONT face=Arial color=#0000ff size=2>By
default it should be 5666 , but your error logs seem to say it is trying to use
port 125 that is all ready used by something else.</FONT></SPAN></DIV>
<DIV><SPAN class=460235114-30102003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=460235114-30102003><FONT face=Arial color=#0000ff size=2>I
would also try running from the command line e.g</FONT></SPAN></DIV>
<DIV><SPAN class=460235114-30102003><FONT face=Arial color=#0000ff
size=2>/usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg
-d</FONT></SPAN></DIV>
<DIV><SPAN class=460235114-30102003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=460235114-30102003><FONT face=Arial color=#0000ff size=2>To see
if that sheds any light on the problem.</FONT></SPAN></DIV>
<DIV><SPAN class=460235114-30102003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=460235114-30102003><FONT face=Arial color=#0000ff size=2>Hope
this help's</FONT></SPAN></DIV>
<DIV><SPAN class=460235114-30102003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=460235114-30102003><FONT face=Arial color=#0000ff
size=2>Matt</FONT></SPAN></DIV>
<P><FONT face=Arial size=2>Matthew Garrett</FONT> <BR><FONT face=Arial
size=2>Unix System Support</FONT> <BR><FONT face=Arial size=2>Shell Information
Technology International Limited</FONT> <BR><FONT face=Arial size=2>Seafield
House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom</FONT> </P>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Alex St. Amand
[mailto:astamand@ati.com]<BR><B>Sent:</B> 30 October 2003 14:40<BR><B>To:</B>
'nagios-users@lists.sourceforge.net'<BR><B>Subject:</B> [Nagios-users] NRPE
just won't start on Solaris.<BR><BR></FONT></DIV>
<P align=left><FONT face=Arial size=2>Hello,</FONT></P>
<P align=left><FONT face=Arial size=2>I am trying to get NRPE running</FONT>
<FONT face=Arial size=2>on a</FONT><FONT face=Arial size=2> Solaris 8
system. The plugins have compiled correctly and the system has the
/dev/random patch applied. The problem I am having is getting NRPE to
start.</FONT> <FONT face=Arial size=2> It just does nothing. I have
enclosed the entries from</FONT> <FONT face=Arial size=2>both</FONT><FONT
face=Arial size=2> /etc/services and /etc/inetd.conf. I have also
enclosed a message I found in /var/adm/messages</FONT><FONT face=Arial size=2>
indicating the address is already in use</FONT> <FONT face=Arial size=2>(which
I assume it means port # which is not the case).</FONT></P>
<P align=left><FONT face=Arial size=2>I HUP</FONT><FONT face=Arial
size=2>,</FONT><FONT face=Arial size=2> and I HUP</FONT><FONT face=Arial
size=2>,</FONT><FONT face=Arial size=2> but it just wont start. The
nagios</FONT> <FONT face=Arial size=2>user exists</FONT><FONT face=Arial
size=2> and owns and can execute the binary as well as read the config
file.</FONT></P>
<P align=left><FONT face=Arial size=2>Did I miss something
here?</FONT></P><BR>
<P align=left><FONT face=Arial size=2>FROM /ETC/SERVICES:</FONT></P>
<P align=left><FONT face=Arial size=2>nrpe
5666/tcp
# Nagios</FONT></P><BR>
<P align=left><FONT face=Arial size=2>FROM /ETC/INETD.CONF:</FONT></P>
<P align=left><FONT face=Arial size=2>nrpe
stream </FONT> <FONT face=Arial size=2></FONT> <FONT face=Arial
size=2>tcp nowait </FONT> <FONT face=Arial
size=2></FONT> <FONT face=Arial size=2>nagios /usr/local/nagios/bin/nrpe
-c /usr/local/nagios/etc/nrpe.cfg</FONT> <FONT face=Arial size=2>-</FONT><FONT
face=Arial size=2>inetd</FONT></P><BR>
<P align=left><FONT face=Arial size=2>FROM /VAR/ADM/MESSAGES:</FONT></P>
<P align=left><FONT face=Arial size=2>Oct 30 08:55:04 smbck1 nrpe[1361]: [ID
434846 daemon.error] Network server bind failure (125: Address already in
use)</FONT></P><BR>
<P align=left><FONT face=Arial size=2>$ cat /etc/services | grep
5666</FONT></P>
<P align=left><FONT face=Arial size=2>nrpe
5666/tcp
# Nagi</FONT><FONT face=Arial size=2>os</FONT></P>
<P align=left><FONT face=Arial size=2>$</FONT></P><BR>
<P align=left><FONT face=Arial size=2>Thank you!</FONT></P>
<P align=left><A name=_MailAutoSig><FONT face=Arial size=2>Alex St.
Amand</FONT></A></P>
<P align=left><FONT face=Arial size=2>Information Technology</FONT></P>
<P align=left><FONT face=Arial color=#ff0000 size=2>ATI</FONT> <FONT
face=Arial size=2>Research, Inc.</FONT></P>
<P align=left><FONT face=Arial size=2>62 Forest Street</FONT></P>
<P align=left><FONT face=Arial size=2>Marlborough, MA 01752</FONT></P>
<P align=left><A href="mailto:astamand@ati.com"><U><FONT face=Arial
color=#0000ff size=2>astamand@ati.com</FONT></U></A></P>
<P align=left><FONT face=Arial size=2>(508) 263-4843</FONT></P>
<P align=left></P></BLOCKQUOTE></BODY></HTML>