Apply Configuration will not complete: NAGIOSQL LOGIN FAILED
Posted: Tue Sep 26, 2017 10:09 am
Whenever I run the apply config command through XI it will just sit there and spin and say that its waiting, when in reality it has errored out with a NAGIOSQL LOGIN FAILED error.
$ tail -F /usr/local/nagiosxi/var/cmdsubsys.log
..................................PROCESSING COMMAND ID 7196...
PROCESS COMMAND: CMD=17, DATA=
APPLYING NAGIOSCORE CONFIG...
CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
--2017-09-26 15:01:36-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://<hostname>/nagiosxi/includes/components/ccm/ [following]
--2017-09-26 15:01:36-- https://<hostname>/nagiosxi/includes/components/ccm/
Resolving <proxy info>
Connecting to <proxy info>... connected.
WARNING: cannot verify <hostname>’s certificate, issued by “<removed>”:
Self-signed certificate encountered.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”
0K .......... . 6.31M=0.002s
2017-09-26 15:01:36 (6.31 MB/s) - “nagiosql.login” saved [11455]
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
OUTPUT=/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
RETURNCODE=2
........................
PROCESSED 1 COMMANDS
tail: /usr/local/nagiosxi/var/cmdsubsys.log: file truncated
............................................................
Any help to getting this resolved would be greatly appreciated!
$ tail -F /usr/local/nagiosxi/var/cmdsubsys.log
..................................PROCESSING COMMAND ID 7196...
PROCESS COMMAND: CMD=17, DATA=
APPLYING NAGIOSCORE CONFIG...
CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
--2017-09-26 15:01:36-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://<hostname>/nagiosxi/includes/components/ccm/ [following]
--2017-09-26 15:01:36-- https://<hostname>/nagiosxi/includes/components/ccm/
Resolving <proxy info>
Connecting to <proxy info>... connected.
WARNING: cannot verify <hostname>’s certificate, issued by “<removed>”:
Self-signed certificate encountered.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”
0K .......... . 6.31M=0.002s
2017-09-26 15:01:36 (6.31 MB/s) - “nagiosql.login” saved [11455]
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
OUTPUT=/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILED!
RETURNCODE=2
........................
PROCESSED 1 COMMANDS
tail: /usr/local/nagiosxi/var/cmdsubsys.log: file truncated
............................................................
Any help to getting this resolved would be greatly appreciated!