Starting up Nagios

Marc Powell marc at ena.com
Wed Oct 11 22:59:34 CEST 2006



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Jeff Rutkowski
> Sent: Wednesday, October 11, 2006 1:22 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Starting up Nagios
> 
> OK, I've played around with it some more today, I took the startup
script
> from production and made the necessary modifications, and now I'm
getting:
> 
> Starting nagios + config_check
> + /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
> + '[' 0 -eq 0 ']'
> + return 0
> + '[' 0 -eq 0 ']'
> + su jrutkows -c 'touch /usr/local/nagios/var/nagios.log
> /usr/local/nagios/var/status.sav'
> + startproc /usr/local/nagios/bin/nagios -d
> /usr/local/nagios/etc/nagios.cfg
> startproc:  exit status of parent of /usr/local/nagios/bin/nagios: 254
> 
> 
> Nagios is still not starting and nothing is getting written to
nagios.log.
> Anyone have any ideas? Thanks.

Try running nagios as a foreground process --

su - jrutkows
/usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg

--
Marc

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list