NagiosXI upgrade failed?!
NagiosXI upgrade failed?!
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?!
Lets run the following repair procedure, and once it completes run the upgrade again
https://assets.nagios.com/downloads/nag ... tabase.pdf
https://assets.nagios.com/downloads/nag ... tabase.pdf
Re: NagiosXI upgrade failed?!
still error?!
also
can not run Nagvis?!
can not download profile?!
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?!
@xpertech, Please run this command first and show me the output:
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
Code: Select all
mysqlcheck -r -f -uroot -pnagiosxi --all-databases --use_frmhttps://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.
Re: NagiosXI upgrade failed?!
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?!
@xpertech, Please upload the following files in this thread(or send them to me in a private message):
Thanks
Files recieved and shared with the support team.
Code: Select all
/etc/httpd/conf.d/nagvis.conf
/usr/local/nagvis/etc/nagvis.ini.php
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.
Re: NagiosXI upgrade failed?!
had PM you with two files.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: NagiosXI upgrade failed?!
@xpertech, Please open the /usr/local/nagvis/etc/nagvis.ini.php file and delete the following line:
Also, change from:
To:
Finally, restart Apache with:
Code: Select all
logonenvvar="PHP_AUTH_USER"Code: Select all
logonmodule="LogonEnv"
Code: Select all
logonmodule="LogonSession"
Code: Select all
service httpd restartRe: NagiosXI upgrade failed?!
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?!
@xpertech, Please open the /usr/local/nagvis/etc/nagvis.ini.php file and comment out these lines:
Let me know if this would get the component to work.
Code: Select all
showautomaps=1
showmapthumbs=1
showrotations=0
cellsperrow=4As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.