Page 1 of 2

NagiosXI upgrade failed?!

Posted: Sat May 25, 2019 8:55 pm
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?

Re: NagiosXI upgrade failed?!

Posted: Tue May 28, 2019 7:05 am
by scottwilkerson
Lets run the following repair procedure, and once it completes run the upgrade again
https://assets.nagios.com/downloads/nag ... tabase.pdf

Re: NagiosXI upgrade failed?!

Posted: Wed May 29, 2019 6:27 pm
by xpertech
still error?!

also
can not run Nagvis?!
can not download profile?!

Re: NagiosXI upgrade failed?!

Posted: Thu May 30, 2019 12:05 pm
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

Re: NagiosXI upgrade failed?!

Posted: Fri May 31, 2019 9:51 am
by xpertech
ok, the upgrade was successful but can not open Nagvis, seems a user authentication problem?!

Re: NagiosXI upgrade failed?!

Posted: Fri May 31, 2019 1:20 pm
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.

Re: NagiosXI upgrade failed?!

Posted: Tue Jun 04, 2019 1:25 pm
by xpertech
had PM you with two files.

Re: NagiosXI upgrade failed?!

Posted: Tue Jun 04, 2019 4:56 pm
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

Re: NagiosXI upgrade failed?!

Posted: Tue Jun 04, 2019 10:57 pm
by xpertech
still failed, seems no use?!

Re: NagiosXI upgrade failed?!

Posted: Wed Jun 05, 2019 1:57 pm
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.