Centos6 to Centos 7 Migration - /nagios up /nagiosxi db erro

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
phamanth
Posts: 13
Joined: Tue Jan 28, 2020 10:57 am

Centos6 to Centos 7 Migration - /nagios up /nagiosxi db erro

Post by phamanth »

We have just performed a centos 7 migration by using a manual backup and restoring on the Centos 7 box via the backupxi and restorexi scripts.
Those both ran successfully. Afterwards, we did the restore repair script and that looks like it ran correctly as well. The /nagiosxi page still gives a Database error page but the /nagios is running. I am assuming this may be due to a httpd configuration? Please assist. Thank you.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Centos6 to Centos 7 Migration - /nagios up /nagiosxi db

Post by dchurch »

If you PM me a system profile I can diagnose further. Get one by going to Admin (top menu) => System Profile (in the left menu), then clicking the blue button.

If you're unable to generate the the profile through the web interface, please try generating it from the command line by running these commands as root:

Code: Select all

rm -rf /usr/local/nagiosxi/var/components/profile*
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT
Then send me the resulting /usr/local/nagiosxi/var/components/profile.zip file.
If the profile script fails, please include the ENTIRE output.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
phamanth
Posts: 13
Joined: Tue Jan 28, 2020 10:57 am

Re: Centos6 to Centos 7 Migration - /nagios up /nagiosxi db

Post by phamanth »

Probably other similar posts about this issue, but my issue was caused by the db passwords in the restore process. Once the passwords to the databases were squared away, was able to access the nagiosxi page.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Centos6 to Centos 7 Migration - /nagios up /nagiosxi db

Post by benjaminsmith »

HI,
Once the passwords to the databases were squared away, was able to access the nagiosxi page.
Great! Glad you got it solved. Did you need anything else or shall we close this out?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked