Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 84 [text/html]
Saving to: `nagiosql.export.additional'
100%[=========================================================>] 84 --.-K/s in 0s
22:07:31 (164 KB/s) - `nagiosql.export.additional' saved [84/84]
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/verify.php --post-data 'writeAdditional=Go' -O nagiosql.export.additional
OUTPUT:
Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Unable to open main config file '/usr/local/nagios/etc/nagios.cfg'
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
RET: 254
/usr/local/nagiosxi/nom/checkpoints/nagioscore/errors /tmp/nagiosxi/nagiosxi/basedir/scripts
tar: Removing leading `/' from member names
/tmp/nagiosxi/nagiosxi/basedir/scripts
ls: /usr/local/nagiosxi/nom/checkpoints/nagioscore/*.gz: No such file or directory
NO NOM SNAPSHOT FOUND!
/tmp/nagiosxi
The file is there and permissions are fine. I even chmod 777'd the whole dir, no dice.
Code: Select all
[root@s600nj3vl03 nagiosxi]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Unable to open main config file '/usr/local/nagios/etc/nagios.cfg'
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
Code: Select all
[root@s600nj3vl03 nagiosxi]# ls -l /usr/local/nagios/etc
total 120
-rwxrwxrwx 1 nagios nagios 744 Nov 12 21:30 cgi.cfg
drwxrwxrwx 2 nagios nagios 4096 Nov 12 21:30 hosts
drwxrwxrwx 2 nagios nagios 4096 Nov 12 22:07 import
-rwxrwxrwx 1 nagios nagios 5714 Nov 12 21:30 nagios.cfg
-rwxrwxrwx 1 nagios nagios 2229 Nov 12 21:32 ndo2db.cfg
-rwxrwxrwx 1 nagios nagios 4723 Nov 12 21:32 ndomod.cfg
-rwxrwxrwx 1 nagios nagios 7207 Nov 12 21:32 nrpe.cfg
-rwxrwxrwx 1 nagios nagios 5345 Nov 12 21:32 nsca.cfg
drwxrwxrwx 4 nagios nagios 4096 Nov 12 21:32 pnp
-rwxrwxrwx 1 nagios nagios 210 Nov 12 21:30 resource.cfg
-rwxrwxrwx 1 nagios nagios 1627 Nov 12 21:32 send_nsca.cfg
drwxrwxrwx 2 nagios nagios 4096 Nov 12 21:30 services
drwxrwxrwx 2 nagios nagios 4096 Nov 12 21:30 static
[root@s600nj3vl03 nagiosxi]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[root@s600nj3vl03 nagiosxi]# uname -a
Linux s600nj3vl03 2.6.18-53.1.13.el5 #1 SMP Mon Feb 11 13:27:27 EST 2008 x86_64 x86_64 x86_64 GNU/Linux