Requested info:
1) What version of Nagios XI are you using? 2012R2.9
2) Linux Distribution and version? CentOS release 6.5 (Final)
3) 32 or 64bit? 64bit
4) VMware Image or Manual Install of XI? Manual Install of XI
5) Are there special configurations on your system? Yes
a) I cloned this from a clean install of another Nagios XI server, renamed, re-IPed
b) I had to run ./reset_nagiosadmin_password.php --password=nagiosxi because I couldn't login
c) I reset ONLY the New Config Manager Admin password (leaving other three Sub-System Credentials alone)
Problem:
I am attempting to create a new command in Core Configuration Manager. When I click Apply Configuration for the new changes to take effect I get two errors:
1) Waiting for configuration verification....
2) Backend login to the Core Config Manager failed.
I followed the instructions here http://support.nagios.com/wiki/index.ph ... n_Problems
and am attaching cmd.txt & reconfig.txt
Additional Information:
When I go into Manage Config Access, there are two users:
1) nagiosadmin
2) nagiosxi
# cat /usr/local/nagiosxi/html/config.inc.php | grep -m 2 -A5 "\"nagiosql\" => array"
"nagiosql" => array(
"dbtype" => 'mysql',
"dbserver" => 'localhost',
"user" => 'nagiosql',
"pwd" => 'n@gweb',
"db" => 'nagiosql',
--
"nagiosql" => array(
"dir" => "/var/www/html/nagiosql",
"direct_url" => "/nagiosql",
"username" => 'nagiosxi', // don't change this!
"password" => 'n@gweb', // this gets reset when security credentials are reset after installation
),
# cat /var/www/html/nagiosql/config/settings.php | grep password
password = n@gweb
Apply Configuration Fails, server was renamed & pwd reset
Apply Configuration Fails, server was renamed & pwd reset
Last edited by mattx3210 on Fri Feb 21, 2014 11:54 am, edited 1 time in total.
Re: Apply Configuration Fails, server was renamed & pwd rese
I was able to solve the issue myself with the help of this post by lmiltchev: http://support.nagios.com/forum/viewtop ... =10#p52882
Code: Select all
cd /usr/local/nagiosxi/scripts
chown nagios.nagios nagiosql.cookies nagiosql.export.additional nagiosql.export.monitoring nagiosql.import.monitoring nagiosql.login-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Apply Configuration Fails, server was renamed & pwd rese
Fantastic, thanks for letting us know!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.