Page 2 of 2

Re: Nagios hangs while performing applying configuration

Posted: Fri Sep 28, 2012 12:53 pm
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!

Re: Nagios hangs while performing applying configuration

Posted: Fri Sep 28, 2012 1:25 pm
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.

Re: Nagios hangs while performing applying configuration

Posted: Fri Sep 28, 2012 1:46 pm
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.

Re: Nagios hangs while performing applying configuration

Posted: Fri Sep 28, 2012 2:07 pm
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.

Re: Nagios hangs while performing applying configuration

Posted: Fri Sep 28, 2012 2:41 pm
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

Re: Nagios hangs while performing applying configuration

Posted: Fri Sep 28, 2012 3:43 pm
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