Upgrade 5.2.9 to 5.3.0 fails with LOGIN FAILED
Posted: Mon Oct 10, 2016 4:57 am
Hi
Trying to upgrade to 5.3 but it fails with the following output
When I manually run it while nagiosxi is running
You are searching for logout I guess
Reading from other posts. This is the output of show grants for the user nagiosql
Trying to upgrade to 5.3 but it fails with the following output
Code: Select all
NEW VALUES
--------------
xi_commands_command_id_seq = 848
xi_events_event_id_seq = 31697
xi_meta_meta_id_seq = 31701
xi_options_option_id_seq = 159
xi_sysstat_sysstat_id_seq = 101
xi_usermeta_usermeta_id_seq = 643
xi_users_user_id_seq = 54
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: https://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.loginNAGIOSQL LOGIN FAILEDCode: Select all
# /usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.login
--2016-10-10 11:52:26-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:443... connected.
WARNING: cannot verify localhost’s certificate, issued by “/C=CH/ST=Basel/L=Basel/O=Bank For International Settlements/OU=IMS/CN=lbnss22/[email protected]”:
Self-signed certificate encountered.
WARNING: certificate common name “lbnss22” doesn't match requested host name “localhost”.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”
[ <=> ] 36,629 23.6K/s in 1.5s
2016-10-10 11:52:32 (23.6 KB/s) - “nagiosql.login” saved [36629]Code: Select all
# grep logout /home/ch002854/nagiosql.login
Logged in as: nagiosxi <a href='index.php?cmd=logout'>Logout</a> </div>
Code: Select all
mysql> 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)