I moved a centos server to a new IP and now it's stuck on ntpdate synch during boot. I just need it to boot once so I can assign the new IP. Going back to the old IP is not an option right now. CTL C AND CTL D don't work. Please help.
Asked
Active
Viewed 1,907 times
0
-
Disconnect the network cable? – Nathan C Mar 24 '14 at 16:44
-
tried that already – xivix Mar 24 '14 at 16:46
-
nevermind ... long timer ... it finally gave up and continued ... thanks – xivix Mar 24 '14 at 16:47
-
I posted an answer that may help if you run into this in the future. Some services will hang forever. – Nathan C Mar 24 '14 at 16:49
1 Answers
2
When I had this problem with a *nix box (changed IP schemes, old IP was no longer valid) the only way I could get around hanging services at boot time was to start it in single-user mode and hand-modify the interfaces file (specifically /etc/sysconfig/network/network-scripts/
..going from memory) then rebooting.
You can boot into single user mode by pressing e
in grub to modify the run line (the longest one) and adding single
to the end of it.

Nathan C
- 15,059
- 4
- 43
- 62