migrating from oel6 to centos 7.8
Posted: Mon Nov 02, 2020 4:32 am
Hi
we have nagios XI 5.6.14 on oel 6.10. we want to migrate centos 7.8 then nagios xi 5.7.4.
we are following "Backing Up And Restoring Your Nagios XI System". we have installed new centos 7.8 and installed nagios xi 5.6.14 on it..
we have backed up our oel system successfully using backup_xi.sh script
restore part:
/usr/local/nagiosxi/scripts/restore_xi.sh /store/backups/nagiosxi/16043001044.tar.gz
it warned us about migration from el6 to el7. that is OK (according to doc)
but also it said:
restoring nagios core
tar: usr/local/nagios: cannot open: file exists
tar: exiting with failure status due to previous errors
tar: usr/local/nagios/libexec/*.*: not found in archive
tar: exiting with failure status due to previous errors
restoring nagios xi
....
after restore finishes, nagios service did not start. it says "can not open main configuration file nagios.cfg for reading"
moreover we are using an internal network which do not access internet.
we needed to have offline restore_repair package. is that possible?..or what are the requirements for this file to run successfully?
i have changed the main script so that it can run offline. but in the running part it searched for gcc and some perl packages.. i need to have all prerequisite packages..
TIA
we have nagios XI 5.6.14 on oel 6.10. we want to migrate centos 7.8 then nagios xi 5.7.4.
we are following "Backing Up And Restoring Your Nagios XI System". we have installed new centos 7.8 and installed nagios xi 5.6.14 on it..
we have backed up our oel system successfully using backup_xi.sh script
restore part:
/usr/local/nagiosxi/scripts/restore_xi.sh /store/backups/nagiosxi/16043001044.tar.gz
it warned us about migration from el6 to el7. that is OK (according to doc)
but also it said:
restoring nagios core
tar: usr/local/nagios: cannot open: file exists
tar: exiting with failure status due to previous errors
tar: usr/local/nagios/libexec/*.*: not found in archive
tar: exiting with failure status due to previous errors
restoring nagios xi
....
after restore finishes, nagios service did not start. it says "can not open main configuration file nagios.cfg for reading"
moreover we are using an internal network which do not access internet.
we needed to have offline restore_repair package. is that possible?..or what are the requirements for this file to run successfully?
i have changed the main script so that it can run offline. but in the running part it searched for gcc and some perl packages.. i need to have all prerequisite packages..
TIA