Page 1 of 1

Re: [Nagios-devel] Nagios 2.0 problems starting

Posted: Wed Nov 03, 2004 10:04 am
by Guest
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
http://magoazul.com






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]