NagiosXI upgrade failed?!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

NagiosXI upgrade failed?!

Post by xpertech »

When upgrade NagiosXI from 5.5.11 to 5.6.2, it failed, seems a db problem, I remembered that db was mariadb rather than mysql?
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI upgrade failed?!

Post by scottwilkerson »

Lets run the following repair procedure, and once it completes run the upgrade again
https://assets.nagios.com/downloads/nag ... tabase.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: NagiosXI upgrade failed?!

Post by xpertech »

still error?!

also
can not run Nagvis?!
can not download profile?!
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: NagiosXI upgrade failed?!

Post by npolovenko »

@xpertech, Please run this command first and show me the output:

Code: Select all

mysqlcheck -r -f -uroot -pnagiosxi --all-databases --use_frm
Then follow the manual upgrade instructions from this article:
https://assets.nagios.com/downloads/nag ... ctions.pdf

If the upgrade fails, please send us the /tmp/nagiosxi/upgrade.log

For the profile build failed error, please see this article:
https://support.nagios.com/kb/article.p ... ategory=44
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: NagiosXI upgrade failed?!

Post by xpertech »

ok, the upgrade was successful but can not open Nagvis, seems a user authentication problem?!
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: NagiosXI upgrade failed?!

Post by npolovenko »

@xpertech, Please upload the following files in this thread(or send them to me in a private message):

Code: Select all

/etc/httpd/conf.d/nagvis.conf
/usr/local/nagvis/etc/nagvis.ini.php
Thanks

Files recieved and shared with the support team.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: NagiosXI upgrade failed?!

Post by xpertech »

had PM you with two files.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: NagiosXI upgrade failed?!

Post by npolovenko »

@xpertech, Please open the /usr/local/nagvis/etc/nagvis.ini.php file and delete the following line:

Code: Select all

logonenvvar="PHP_AUTH_USER"
Also, change from:

Code: Select all

logonmodule="LogonEnv"
To:

Code: Select all

logonmodule="LogonSession"
Finally, restart Apache with:

Code: Select all

service httpd restart
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: NagiosXI upgrade failed?!

Post by xpertech »

still failed, seems no use?!
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: NagiosXI upgrade failed?!

Post by npolovenko »

@xpertech, Please open the /usr/local/nagvis/etc/nagvis.ini.php file and comment out these lines:

Code: Select all

showautomaps=1
showmapthumbs=1
showrotations=0
cellsperrow=4
Let me know if this would get the component to work.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked