Apply Configuration Fails, server was renamed & pwd reset
Posted: Fri Feb 21, 2014 4:08 am
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
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