Inplace Upgrade of RHEL 6 to RHEL 7
Inplace Upgrade of RHEL 6 to RHEL 7
I currently have a nagiosxi 5.5 on RHEL 6 server and I would like to do an inplace upgrade of RHEL 6 to 7. Does nagios support doing inplace upgrades?
Re: Inplace Upgrade of RHEL 6 to RHEL 7
You will likely run into issues when doing an in-place upgrade. You would also likely need to do this after upgrading:
https://support.nagios.com/kb/article/n ... s-816.html
And run the restore repair script from the Backup/Restore guide to recompile your binaries.
It is probably a much better practice to migrate your instance to a fresh install with a backup and restore. I believe you will experience less problems in the long run that way.
BACKING UP AND RESTORING NAGIOS XI
https://support.nagios.com/kb/article/n ... s-816.html
And run the restore repair script from the Backup/Restore guide to recompile your binaries.
It is probably a much better practice to migrate your instance to a fresh install with a backup and restore. I believe you will experience less problems in the long run that way.
BACKING UP AND RESTORING NAGIOS XI
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!
Re: Inplace Upgrade of RHEL 6 to RHEL 7
At this point I get:
./init.sh
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mssql.so' - libgnutls.so.26: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_dblib.so' - libgnutls.so.26: cannot open shared object file: No such file or directory in Unknown on line 0
./init.sh
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mssql.so' - libgnutls.so.26: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_dblib.so' - libgnutls.so.26: cannot open shared object file: No such file or directory in Unknown on line 0
Re: Inplace Upgrade of RHEL 6 to RHEL 7
To gather up the relevant error, please submit the tail command below > run the upgrade script again > then hit Ctrl + C to kill the tail process and send us what that produces.
What version of PHP are you running?
You can try installing the packages as well.
Then restart Apache.
It never hurts to send ( PM ) us a profile either! We can find lots of information about your system in there. You can download the profile by navigating to System Profile under System Config on the left pane > and clicking the Download Profile button on that page.
Code: Select all
tail -Fn0 /var/log/httpd/error_log /var/log/httpd/ssl_error_log /var/log/apache/error.logCode: Select all
rpm -qa | grep phpCode: Select all
yum install php-mssql php-pdo_dblibCode: Select all
systemctl restart httpdAs 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!
Re: Inplace Upgrade of RHEL 6 to RHEL 7
Aug 10 12:02:16 nagiosserveru systemd[1]: Starting The Apache HTTP Server...
Aug 10 12:02:16 nagiosserveru httpd[21196]: [Mon Aug 10 12:02:16.410260 2020] [so:warn] [pid 21196] AH01574: module ssl_module is already loaded, skipping
Aug 10 12:02:16 nagiosserveru httpd[21196]: AH00526: Syntax error on line 64 of /etc/httpd/conf.d/nagvis.conf:
Aug 10 12:02:16 nagiosserveru httpd[21196]: Invalid command 'RewriteLock', perhaps misspelled or defined by a module not included in the server configuration
Aug 10 12:02:16 nagiosserveru systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Aug 10 12:02:16 nagiosserveru systemd[1]: Failed to start The Apache HTTP Server.
Aug 10 12:02:16 nagiosserveru systemd[1]: Unit httpd.service entered failed state.
Aug 10 12:02:16 nagiosserveru systemd[1]: httpd.service failed.
Aug 10 12:02:16 nagiosserveru httpd[21196]: [Mon Aug 10 12:02:16.410260 2020] [so:warn] [pid 21196] AH01574: module ssl_module is already loaded, skipping
Aug 10 12:02:16 nagiosserveru httpd[21196]: AH00526: Syntax error on line 64 of /etc/httpd/conf.d/nagvis.conf:
Aug 10 12:02:16 nagiosserveru httpd[21196]: Invalid command 'RewriteLock', perhaps misspelled or defined by a module not included in the server configuration
Aug 10 12:02:16 nagiosserveru systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Aug 10 12:02:16 nagiosserveru systemd[1]: Failed to start The Apache HTTP Server.
Aug 10 12:02:16 nagiosserveru systemd[1]: Unit httpd.service entered failed state.
Aug 10 12:02:16 nagiosserveru systemd[1]: httpd.service failed.
Re: Inplace Upgrade of RHEL 6 to RHEL 7
It looks like something in your NagVis configuration caused an issue with upgrading Apache. What is on line 64 of /etc/httpd/conf.d/nagvis.conf?
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!