Problems starting nagios

ad at heapoverflow.com ad at heapoverflow.com
Wed Dec 19 11:14:44 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Try with strace to get much logs;

strace nagios -v /etc/nagios/nagios.cfg 2>&1 | egrep '(access|open)' >
/tmp/strace.log
strace nagios -v /etc/nagios/nagios.cfg 2>&1 | egrep '()' >
/tmp/strace.log

Alan Cooper wrote:
> Nagios 3.0rc1 on RHEL3
>
> I've RPM'd up this release - I have it working fine on one RHEL3
> box, and various other rhel4 boxes without issue, with the same
> configuration on all boxes.
>
> One (and only one) other RHEL3 box is causing me problems - nagios
> is quietly refusing to start, citing problems with the config file,
> but not saying what they are.
>
> Any ideas on where to begin debugging?
>
> [root at thdo-shell-01 nagios]# /etc/init.d/nagios restart Running
> configuration check... CONFIG ERROR!  Restart aborted.  Check your
> Nagios configuration. [root at thdo-shell-01 nagios]# nagios -v
> /etc/nagios/nagios.cfg
>
> Nagios 3.0rc1 Copyright (c) 1999-2007 Ethan Galstad
> (http://www.nagios.org) Last Modified: 12-17-2007 License: GPL
>
> Reading configuration data...
>
>
> ***> One or more problems was encountered while processing the
> config files...
>
> Check your configuration file(s) to ensure that they contain valid
> directives and data defintions.  If you are upgrading from a
> previous version of Nagios, you should be aware that some
> variables/definitions may have been removed or modified in this
> version.  Make sure to read the HTML documentation regarding the
> config files, as well as the 'Whats New' section to find out what
> has changed.
>
> [root at thdo-shell-01 nagios]# tail -f /var/log/nagios/nagios.log
>
>
> -------------------------------------------------------------------------
>  SF.Net email is sponsored by: Check out the new SourceForge.net
> Marketplace. It's the best place to buy or sell services for just
> about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>  _______________________________________________ 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
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
 
iD8DBQFHaO8UdS4H/t4eKFARAsZbAKC6kUUVriYmfnlF6Sq+oBKcohO2MQCgjwmV
TzNHY6JJQRJeHu66OUHaiEw=
=+rXK
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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