I reinstalled RHEL7, updated all packages, installed 5.2.9, restored from a backup of my prod server (also running 5.2.9), and immediately attempted to upgrade by re-downloading xi-latest. This failed with the same error as before:
Code: Select all
Updating NagiosQL...
NAGIOSQL-POST
Patching NDOUtils...
NDOUtils already patched at level 103
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=s4kphi' -O nagiosql.login--2016-10-10 13:44:18-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... 127.0.0.1, ::1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2016-10-10 13:44:18 ERROR 500: Internal Server Error.
NAGIOSQL LOGIN FAILED!
Code: Select all
MariaDB [(none)]> show grants for 'nagiosql'@'localhost';
+-----------------------------------------------------------------------------------------------------------------+
| Grants for nagiosql@localhost |
+-----------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'nagiosql'@'localhost' IDENTIFIED BY PASSWORD '*244733929909A95DDF1A7F78DD067589B4092EE7' |
| GRANT ALL PRIVILEGES ON `nagiosql`.* TO 'nagiosql'@'localhost' WITH GRANT OPTION |
+-----------------------------------------------------------------------------------------------------------------+
2 rows in set (0.01 sec)
I confirmed that the ugrade script I invoked to kick off the upgrade (from xi-latest.tar.gz ) did use cfg__db_info__nagiosql__pwd on line 828 before I upgraded. I also commented out line 834 before running the upgrade to avoid the issue with limits.conf. I have attached the upgrade.log.
Any ideas?
You do not have the required permissions to view the files attached to this post.