Nagios 2.0 problems starting

twebster at daksoft.com twebster at daksoft.com
Wed Nov 3 19:44:54 CET 2004


small suggestion.

Do your log files have the correct permission's and ownership?  Make sure
the user that runs Nagios owns the /var/log/Nagios directory and files.

Tony

nagios-devel-admin at lists.sourceforge.net wrote on 11/03/2004 10:08:00 AM:

> 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
>
> make all
>
> make install install-config install-init install-commandmode
>
> The final debug lines are: (I attached full output)
> find_service() start
> find_service() end
> write_to_all_logs() start
> write_to_syslog() start
> write_to_syslog() end
> write_to_log() start
> write_to_log() end
> write_to_all_logs() end
> Caught SIGSEGV, shutting down...
> close_command_file() start
> [root at master root]#
>
> I am not sure what is telling it to quit.  Where do I need to go from
> here to figure it out?
>
> Thanks,
>
> jl
>
>
> [attachment "nagios.txt" deleted by Tony Webster/DAKSOFT/BHC]



-------------------------------------------------------
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