NRPE just won't start on Solaris.

Alex St. Amand astamand at ati.com
Thu Oct 30 16:22:46 CET 2003


Matt,
 
That's the odd thing, the server port is correct:
 
# cat /usr/local/nagios/etc/nrpe.cfg | grep server_port
server_port=5666
 
I tried starting it as a daemon like this:
 
# /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d
 
...and it just returns to the prompt.  If I grep processes for nrpe there's
nothing
 
except another one of those error messages in the log file
 
Thanks
 
-Alex
 
 
 
 
-----Original Message-----
From: Garrett, Matt M SITI-ITDIEEE [mailto:matt.garrett at shell.com] 
Sent: Thursday, October 30, 2003 9:56 AM
To: Alex St. Amand; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] NRPE just won't start on Solaris.
 
Alex
 
Have a check in /usr/local/nagios/etc/nrpe.cfg
what does the server_port say it is set to.
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.
 
I would also try running from the command line e.g
/usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d
 
To see if that sheds any light on the problem.
 
Hope this help's
 
Matt
Matthew Garrett 
Unix System Support 
Shell Information Technology International Limited 
Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom 
-----Original Message-----
From: Alex St. Amand [mailto:astamand at ati.com]
Sent: 30 October 2003 14:40
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] NRPE just won't start on Solaris.
Hello,
I am trying to get NRPE running on a 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.  It just does nothing.  I have
enclosed the entries from both /etc/services and /etc/inetd.conf.  I have
also enclosed a message I found in /var/adm/messages indicating the address
is already in use (which I assume it means port # which is not the case).
I HUP, and I HUP, but it just wont start.  The nagios user exists and owns
and can execute the binary as well as read the config file.
Did I miss something here?
 
FROM /ETC/SERVICES:
nrpe    5666/tcp                                # Nagios
 
FROM /ETC/INETD.CONF:
nrpe    stream   tcp    nowait   nagios  /usr/local/nagios/bin/nrpe -c
/usr/local/nagios/etc/nrpe.cfg -inetd
 
FROM /VAR/ADM/MESSAGES:
Oct 30 08:55:04 smbck1 nrpe[1361]: [ID 434846 daemon.error] Network server
bind failure (125: Address already in use)
 
$ cat /etc/services | grep 5666
nrpe    5666/tcp                                # Nagios
$
 
Thank you!
Alex St. Amand
Information Technology
ATI Research, Inc.
62 Forest Street
Marlborough, MA 01752
 <mailto:astamand at ati.com> astamand at ati.com
(508) 263-4843
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031030/442b28e2/attachment.html>


More information about the Users mailing list