Nagios 2.0 problems starting

Matthew Kent mkent at magoazul.com
Wed Nov 3 12:03:49 CET 2004


On Wed, 2004-11-03 at 17:08, Justin Lambert wrote:
> I have compiled nagios-cvs (latest) on a redhat 9 box and am having 
> troubles with it starting.  I first used my configs that I had been 
> using and had problems, so I put in the default nagios.cfg and 
> minimal.cfg and am having the same problem.
> 
> Configured wtih: ./configure --datadir="/usr/share/nagios" 
> --bindir="/usr/bin" --libexecdir="/usr/lib/nagios/plugins" 
> --localstatedir="/var/log/nagios" --sbindir="/usr/lib/nagios/cgi" 
> --sysconfdir="/etc/nagios" --with-cgiurl="/nagios/cgi-bin" 
> --with-command-user="apache" --with-command-grp="apache" 
> --with-gd-lib="/usr/lib/" --with-gd-inc="/usr/include/" 
> --with-init-dir="/etc/rc.d/init.d/" --with-htmurl="/nagios" 
> --with-lockfile="/var/run/nagios.pid" --with-mail="/bin/mail" 
> --with-nagios-user="nagios" --with-nagios-grp="nagios" 
> --enable-embedded-perl --with-perlcache --with-template-objects 
> --with-template-extinfo --enable-event-broker --enable-DEBUG0 
> --enable-DEBUGALL

Well first off it might be worth submitting a backtrace to the list to look at. If you need instructions on how to go about that I can give em.

Beyond that, initially I had very little luck getting embedded perl to work on my RedHat 7.3 install with nagios 2.0, unless you need it, I'd remove --enable-embedded-perl and --with-perlcache. I'd also remove --enable-event-broker for now unless you are planning on writing one (it's not needed for normal operation).  Also cosmetically, --with-template-objects --with-template-extinfo are no longer required and --enable-DEBUGALL supersedes --enable-DEBUG0.

Best of luck,
-- 
Matthew Kent <mkent at magoazul.com>
http://magoazul.com



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click




More information about the Developers mailing list