Nagios Hanging at Startup/Init

Marc Powell marc at ena.com
Fri Jul 28 19:42:54 CEST 2006



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Robert S Galloway
> Sent: Friday, July 28, 2006 12:14 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Nagios Hanging at Startup/Init
> 
> Howdy everybody. I've been running Nagios on my CentOS 4.3 machine for
a
> while now, but recently (I can't say exactly when) the Nagios init has
> been hanging when the server boots. A "ps -wef | grep nagios" after
the
> server comes up shows the following processes running:
> 
> root      2435  1454  0 09:26 ?        00:00:00 initlog -q -c
> /etc/rc3.d/S99nagios start
> root      2436  2435  0 09:26 ?        00:00:00 /bin/sh
> /etc/rc3.d/S99nagios start
> root      2440  2436  0 09:26 ?        00:00:00 su - nagios -c touch
> /usr/local/nagios/var/nagios.log /usr/local/nagios/var/retention.dat
> root      4251  4218  0 10:43 pts/1    00:00:00 grep nagios
> 
> I also noticed the following lines in the "messages" log when I last
> rebooted:
> 
> Jul 28 09:26:50 hoshi nagios: Starting network monitor: nagios
> Jul 28 09:26:50 hoshi su(pam_unix)[2440]: session opened for user
nagios
> by (uid=0)
> Jul 28 09:26:50 hoshi nagios: Do you want to choose a different one?
[n]

Google for the [error] message. Judging by the last log entry it looks
like you have done something with SELinux user accounts. See section 4.1
of 

http://72.14.209.104/search?q=cache:hxxeX2CxD_8J:www.lurking-grue.org/ge
ttingstarted_newselinuxHOWTO.html+%22Do+you+want+to+choose+a+different+o
ne%3F+%22&hl=en&gl=us&ct=clnk&cd=1&client=firefox-a

--
Marc

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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