Upgrading Nagios XI to 2014R1.4 fails during upgrade
Posted: Thu Aug 21, 2014 1:01 pm
Support,
Current Version: 2012R2.9
Upgrading To: 2014R1.4
User Install Guide: http://assets.nagios.com/downloads/nagi ... nstall.pdf
I’m attempting to upgrade NagiosXI and I getting “NAGIOSQL LOGIN FAILED!” error during the upgrade, the upgrade stops and I no longer am able to access the application. Just to give a little history, based on the error I get. Several months ago I attempted to replace the different account passwords using “Reset Security Credentials”, but when I updated “Config Manager Backend Password” one of the engine broke, I think it was the monitor engine. But once I re-entered the default password n@gweb, it fixed my issue. I have upgraded NagiosXI after that time successfully, but I’m thinking the new upgrade today is replacing a lot more stuff, like the core. So I’m not sure if it’s a password issue or not, but I just wanted to give you some history that may or may not be related…
I did try a couple of password changes:
# reset the passwords in NagiosXI and set all the sub-system passwords (3 of them) to n@gweb
# reset nagiosxi account under CCM to n@gweb
# updated nagiosxi in htpasswd.users to n@gweb
# updated mysql root account back to default = nagiosxi
# Verified passwords in settings.php, config.inc.php, ndo2db.cfg (see attached)
Console output error
Current Version: 2012R2.9
Upgrading To: 2014R1.4
User Install Guide: http://assets.nagios.com/downloads/nagi ... nstall.pdf
I’m attempting to upgrade NagiosXI and I getting “NAGIOSQL LOGIN FAILED!” error during the upgrade, the upgrade stops and I no longer am able to access the application. Just to give a little history, based on the error I get. Several months ago I attempted to replace the different account passwords using “Reset Security Credentials”, but when I updated “Config Manager Backend Password” one of the engine broke, I think it was the monitor engine. But once I re-entered the default password n@gweb, it fixed my issue. I have upgraded NagiosXI after that time successfully, but I’m thinking the new upgrade today is replacing a lot more stuff, like the core. So I’m not sure if it’s a password issue or not, but I just wanted to give you some history that may or may not be related…
I did try a couple of password changes:
# reset the passwords in NagiosXI and set all the sub-system passwords (3 of them) to n@gweb
# reset nagiosxi account under CCM to n@gweb
# updated nagiosxi in htpasswd.users to n@gweb
# updated mysql root account back to default = nagiosxi
# Verified passwords in settings.php, config.inc.php, ndo2db.cfg (see attached)
Console output error
Code: Select all
Installing new PNP templates...
Updating init script...
Enabling large install tweaks...
Fixing config file permissions...
Fixing htpasswd permissions...
Checking group memberships...
Installing new XI templates...
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&username=nagiosxi&password=n@gweb' -O nagiosql.login--2014-08-20 14:36:42-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2014-08-20 14:36:42 ERROR 500: Internal Server Error.
NAGIOSQL LOGIN FAILED!