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.
Centos6 to Centos 7 Migration - /nagios up /nagiosxi db erro
Re: Centos6 to Centos 7 Migration - /nagios up /nagiosxi db
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:
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'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 SUPPORTIf 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.
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.
Re: Centos6 to Centos 7 Migration - /nagios up /nagiosxi db
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
HI,
Great! Glad you got it solved. Did you need anything else or shall we close this out?Once the passwords to the databases were squared away, was able to access the nagiosxi page.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!