Hello NAGIOS support
Our fresh XI install (VM from the template, 5.3.2) initially hanged on verifying any configurations.
We added localhost to /etc/hosts, but it started failing instead (old snapshots also fail to apply)
Tried su nagios
./reconfigure_nagios.sh
Now getting NAGIOSSQL LOGIN FAILED!
Please help
Thank you
Fresh XI (5.3.2) test install fails to save config
Re: Fresh XI (5.3.2) test install fails to save config
Can you post the last 20 lines from the output when you run the ./reconfigure_nagios.sh?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Fresh XI (5.3.2) test install fails to save config
Here you gotgriep wrote:Can you post the last 20 lines from the output when you run the ./reconfigure_nagios.sh?
-----------------------------------------------------------------------------------------------
login as: root
[email protected]'s password:
Last login: Thu Nov 17 14:42:57 2016
[root@cakc-nagxitest02 ~]# su nagios
[nagios@cakc-nagxitest02 root]$ cd /usr/local/nagiosxi/scripts
[nagios@cakc-nagxitest02 scripts]$ ./reconfigure_nagios.sh
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/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&backend=1&username=nagiosxi&password=mukGQA' -O nagiosql.login--2016-11-17 16:11:28-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”
[ <=> ] 19,675 --.-K/s in 0.02s
2016-11-17 16:11:29 (964 KB/s) - “nagiosql.login” saved [19675]
NAGIOSQL LOGIN FAILED!
[nagios@cakc-nagxitest02 scripts]$
--------------------------------------------------------------------------------------------------------------------------------
Re: Fresh XI (5.3.2) test install fails to save config
Can you post the /usr/local/nagiosxi/html/config.inc.php file so we can view it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Fresh XI (5.3.2) test install fails to save config
Here you go (zipped / attached)tgriep wrote:Can you post the /usr/local/nagiosxi/html/config.inc.php file so we can view it?
You do not have the required permissions to view the files attached to this post.
Re: Fresh XI (5.3.2) test install fails to save config
Login to the XI GUI and go to the Admin > Reset Security Credentials menu, click the Update Credentials button and see if the reconfigure_nagios.sh script works.
One question, was SSL enabled on the server?
If so, edit the /usr/local/nagiosxi/html/config.inc.php file and change this line from
to
Then try the reconfigure script.
One question, was SSL enabled on the server?
If so, edit the /usr/local/nagiosxi/html/config.inc.php file and change this line from
Code: Select all
$cfg['use_https'] = false;Code: Select all
$cfg['use_https'] = true;Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Fresh XI (5.3.2) test install fails to save config
tgriep wrote:Login to the XI GUI and go to the Admin > Reset Security Credentials menu, click the Update Credentials button and see if the reconfigure_nagios.sh script works.
One question, was SSL enabled on the server?
If so, edit the /usr/local/nagiosxi/html/config.inc.php file and change this line fromtoCode: Select all
$cfg['use_https'] = false;Then try the reconfigure script.Code: Select all
$cfg['use_https'] = true;
This worked, thank you
Please close the thread