I was trying to migrate my nagios xi from "ubuntu22.04" to "debian 10"
I took the backup on old server and copied my backup from old server to new serrver ,then untar it in new server and ran the restore script .
it is giving me an error saying database restore failed
I ran the script restore_repair.sh
then I was getting error on web browser "Database Error
A database connection error has been detected, please follow the repair prompt below. If the issue persists, please contact Nagios support.
Run the following from the CLI as root to attempt to repair the DB:
/usr/local/nagiosxi/scripts/repair_databases.sh
then I ran the above script and I was getting
nagios database repair succeeded
nagiosxi database repair FAILED, please check output above!
"/usr/local/nagiosxi/scripts/repairmysql.sh: line 112: pushd: /var/lib/mysql/nagiosxi: No such file or directory
ERROR: Could not change to dir: /var/lib/mysql/nagiosxi"
what to do now to migrate from old server to new server of diff OS?
Error in migration
Re: Error in migration
Hi @mohankumarsharma - earlier on August 18th you opened a thread asking about migration from CentOS to Ubuntu 22.04. Why are you now trying to migrate off of the Ubuntu 22.04 server onto Debian 10? Wouldn't it be easier to migrate directly from CentOS to Debian?
I'm not sure that I've heard of anyone trying to migrate a server that has already been migrated - you may run into additional issues through that process.
Regardless, I'm going to lock this thread. I recommend you update your original thread with your new situation.
-Sebastian Wolf
I'm not sure that I've heard of anyone trying to migrate a server that has already been migrated - you may run into additional issues through that process.
Regardless, I'm going to lock this thread. I recommend you update your original thread with your new situation.
-Sebastian Wolf
Developer @ Nagios 2017-05-15 thru 2024-08-06