Page 4 of 4

Re: unable to start Nagios service

Posted: Fri Nov 12, 2010 12:49 pm
by ericsson_att
could you please send us the cfg files from /usr/local/nagios/etc from your installation, so that we can compare with ours.

please email to [email protected]

Re: unable to start Nagios service

Posted: Mon Nov 15, 2010 2:55 pm
by mguthrie
I'm concerned that if you copied the files to the configuration directory manually, you will still have problems even if the install completes. The scripts import configuration files into the mysql database first, and then export them to the configuration directory.

Check our FAQ on proxies and see if it differs from what you have. I'm not as familiar with proxy configurations, so I couldn't tell you off hand if you've got it setup right.

http://support.nagios.com/wiki/index.ph ... th_Proxies

Re: unable to start Nagios service

Posted: Tue Nov 15, 2011 11:11 am
by vaibhav beohar
[root@localhost nagiosxi]# ./E-importnagiosql
httpd: no process killed
Starting httpd: [ OK ]
Sleeping...
NOTE: If prompted, enter the MySQL root password
NagiosQL database appears OK - continuing...
NDOUtils database appears OK - continuing...
Found config files to import - continuing...
URL: http://localhost/nagiosql/index.php
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.login--2011-11-15 20:09:43-- http://localhost/nagiosql/index.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2011-11-15 20:09:43 ERROR 500: Internal Server Error.

NAGIOSQL LOGIN FAILED!
ERROR: NagiosQL import appears to have failed - exiting. (Reason: Import files are still present in /usr/local/nagios/etc/import)

Re: unable to start Nagios service

Posted: Wed Nov 16, 2011 10:30 am
by mguthrie
Let me just reiterate our disclaimer, in that we can't fully support proxy installations. With that said, my suggestion for both of these is to either turn off the proxy altogther during the install, or set your proxy configurations according to the wiki below:
http://support.nagios.com/wiki/index.ph ... th_Proxies

Then remove the /tmp/nagiosxi directory altogether and start the installer from the beginning.