Nagios hangs while performing applying configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
disrael
Posts: 116
Joined: Tue Jun 19, 2012 3:16 pm

Re: Nagios hangs while performing applying configuration

Post by disrael »

Did some searching on your forum and read you can also run the "reconfigure_nagios.sh". I tried that and got NAGIOSQL LOGIN FAILED!

Code: Select all

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=k92ils' -O nagiosql.login--2012-09-28 17:52:11--  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... 200 OK
Length: 954 [text/html]
Saving to: `nagiosql.login'

100%[===================================================================================================================>] 954         --.-K/s   in 0s

2012-09-28 17:52:11 (25.3 MB/s) - `nagiosql.login' saved [954/954]

NAGIOSQL LOGIN FAILED!
disrael
Posts: 116
Joined: Tue Jun 19, 2012 3:16 pm

Re: Nagios hangs while performing applying configuration

Post by disrael »

don't mean to be spamming this, though I keep finding things...

It looks like we were getting the issue from running the authentication module in apache. When I disabled it it got past it. Now it looks like we hit some other stuff, I will update when I get more info.
disrael
Posts: 116
Joined: Tue Jun 19, 2012 3:16 pm

Re: Nagios hangs while performing applying configuration

Post by disrael »

Looks like I am getting this again after I started playing with the apply configuration thing:

Starting ndo2db:Could not bind socket: No such file or directory
done.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios hangs while performing applying configuration

Post by mguthrie »

Did you make any modifications to the install scripts? There seems to be several major subcomponents that are having issues for this being a fresh install. We can maybe look at doing a remote session early next week, but it might actually be simpler to just start with a clean system and re-run the installer.
disrael
Posts: 116
Joined: Tue Jun 19, 2012 3:16 pm

Re: Nagios hangs while performing applying configuration

Post by disrael »

K thanks, I got a good portion of it working, though not ndo2db. I did get ndo2db working for a short time, though I am wondering if by changing the passwords in "Reset Security Credentials", could cause an issue? I might have broke it while trying to fix somethign else ><.

Another possible issue I am wondering, is the .cfg for ndo2db suppose to have variables i.e.:

socket_name=@localstatedir@/ndo.sock


-Doron
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios hangs while performing applying configuration

Post by mguthrie »

No, that's what the files look like before they're compiled and installed. Lets try the following.

- Grab the latest tarball and unpack it if it's not already there

Code: Select all

cd /tmp/nagiosxi/subcomponents/ndoutils
./install
Locked