Migrate Server is Hung

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
gregbeyer
Posts: 181
Joined: Fri Sep 11, 2020 2:13 pm

Migrate Server is Hung

Post by gregbeyer »

Hello, I attempted to use the Admin/Migrate Server tool. After upon entering SSH credentials to our Nagios Core server the process began, but has been running for over two days. It seems to be hung, see image attached. The wheelie images on all four lines are spinning.
Migrate_Server.png
I have attempted cycling nagios, mariadb and ran /usr/local/nagiosxi/scripts/repair_databases.sh

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg. come back OK.

When first I installed XI, I had no problems, but now I notice I have localhost errors, not sure if this is related. How can I resolve this apparent hang. Surely it cannot take days to migrate an Core server to XI?
You do not have the required permissions to view the files attached to this post.
sgardil
Posts: 355
Joined: Wed Aug 09, 2023 9:58 am

Re: Migrate Server is Hung

Post by sgardil »

Hey @gregbeyer, thanks for reaching out.

You are right, the migration process shouldn't hang for that long of a period. If you haven't reverted yet or would like to attempt the migration again and get stuck again, you can look at these log files to find potential issues:
Directory: /usr/local/nagiosxi/scripts/migrate/jobs/<random#IdOfJob>
Potentially useful files to review:
<random#idofjob>.yml
ansible.cfg
errors.txt
hosts
output.json

Hope this helps, I attached a document going into the migration process a bit more in-depth if you would like to take a read.

Related documents:
https://support.nagios.com/kb/article/a ... i-878.html
Post Reply