did you take a look at the syslog ? It might capture the issue and tell you more about why it crashes !
you can also execute the init script manually sh -x /etc/init.d/nagios start and see what the output is . Assaf On Thursday 18 June 2009 16:10:17 Bibrak Qamar wrote: > Hi there. > > I had installed nagios, it was working great, until i upgraded from ubuntu > 8.10 to 9.04, I think the up-gradation might be he reason of the nagios not > running. I have removed the nagios and reinstalled as guided in the > QuickStartGuide. But the problem still remains. > > Also see this ---> > > > r...@biebo-laptop:/usr/local/nagios/var# service nagios start > Starting nagios: done. > r...@biebo-laptop:/usr/local/nagios/var# service nagios status > nagios is not running > > ---------------------- > > the log file -----> > > r...@biebo-laptop:/usr/local/nagios/var# cat nagios.log > [1245339292] Nagios 3.1.0 starting... (PID=25252) > [1245339292] Local time is Thu Jun 18 21:34:52 PKST 2009 > [1245339292] LOG VERSION: 2.0 > [1245339292] Finished daemonizing... (New PID=25256) > [1245339380] Nagios 3.1.0 starting... (PID=25440) > [1245339380] Local time is Thu Jun 18 21:36:20 PKST 2009 > [1245339380] LOG VERSION: 2.0 > [1245339380] Finished daemonizing... (New PID=25443) > [1245341109] Nagios 3.1.0 starting... (PID=26592) > [1245341109] Local time is Thu Jun 18 22:05:09 PKST 2009 > [1245341109] LOG VERSION: 2.0 > [1245341109] Finished daemonizing... (New PID=26597) > > ------------------------ > > I donot know why it stops by itself. Or it not starts correctly. Please > help me with this. > > Thanks -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list [email protected] 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
