shoot not sure what is happening - cant start nagios (account unavailable)

Natalie Aloi naloi at experisdatacenters.com
Fri Jul 10 20:52:20 CEST 2009


All I had a sample version (out of the box) of nagios running, I made my config changes with my devices, etc, verified configuration...now nagios won't start! Here is my output any ideas?

[root at dns bin]# ./nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org/)
Last Modified: 12-01-2008
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
 Checked 81 services.
Checking hosts...
 Checked 19 hosts.
Checking host groups...
 Checked 3 host groups.
Checking service groups...
 Checked 0 service groups.
Checking contacts...
 Checked 3 contacts.
Checking contact groups...
 Checked 3 contact groups.
Checking service escalations...
 Checked 0 service escalations.
Checking service dependencies...
 Checked 0 service dependencies.
Checking host escalations...
 Checked 0 host escalations.
Checking host dependencies...
 Checked 0 host dependencies.
Checking commands...
 Checked 94 commands.
Checking time periods...
 Checked 5 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
[root at dns bin]# exit
exit
[naloi at dns bin]$ sudo service nagios restart
[sudo] password for root:
Running configuration check...done.
Stopping nagios: done.
Starting nagios:su: warning: cannot change directory to /var/spool/nagios: No such file or directory
This account is currently not available.
 done.
[naloi at dns bin]$ su
Password:
[root at dns bin]# sudo service nagios start
Starting nagios:su: warning: cannot change directory to /var/spool/nagios: No such file or directory
This account is currently not available.
 done.
[root at dns bin]# service nagios start
Starting nagios:su: warning: cannot change directory to /var/spool/nagios: No such file or directory
This account is currently not available.
 done.
[root at dns bin]# cd /var/spool
[root at dns spool]# ls -lat
total 52
drwxrwx--- 2 smmsp smmsp 4096 2009-07-10 05:00 clientmqueue
drwxr-xr-x 13 root root 4096 2009-07-08 13:52 .
drwxrwxr-x 2 root mail 4096 2009-07-07 04:10 mail
drwx------ 2 root mail 4096 2009-07-07 04:10 mqueue
drwxr-xr-x 2 root root 4096 2009-06-30 15:00 anacron
drwxr-xr-x 20 root root 4096 2009-06-30 14:37 ..
drwx--x--- 3 root lp 4096 2009-06-30 14:35 cups
drwx------ 3 daemon daemon 4096 2009-06-30 14:26 at
drwxr-xr-x 2 root root 4096 2008-12-12 13:02 repackage
drwxr-xr-x 2 root root 4096 2008-04-07 17:44 lpd
drwxr-x--- 2 squid squid 4096 2008-04-03 07:30 squid
drwxrwxrwt 2 root root 4096 2008-03-03 12:51 vbox
drwx------ 2 root root 4096 2008-02-12 10:18 cron
[root at dns spool]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root at dns spool]# chkconfig --add nagios
[root at dns spool]# chkconfig nagios on
[root at dns spool]# service nagios start
Starting nagios:su: warning: cannot change directory to /var/spool/nagios: No such file or directory
This account is currently not available.
 done.
[root at dns spool]#

Network Operations Center Manager 
Experis Data Center LLC 
8209 Valley Pike 
PO Box 535 
Middletown,VA 22645 
phone:540-869-8702 
cell:240-988-3267 
fax:540-869-8710 
e-mail:naloi at experisdatacenters.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090710/37efccbf/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
-------------- next part --------------
_______________________________________________
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