Problem loading vzctl module [message #20164] |
Wed, 12 September 2007 17:19  |
 |
dowdle
Messages: 261 Registered: December 2005 Location: Bozeman, Montana
|
Senior Member |
|
|
I want to do a migration between two OpenVZ machines running the same kernel but I've run into a problem. Here's the stats of the two machines:
Host distribution: CentOS 4.5
kernel: Latest RHEL4 kernel - 2.6.9-023stab044.4-smp
vzmigrate gave me the following error:
Quote: | Error: vzcpt module is not loaded on the source node
Error: Can't continue online migration
|
Ok, so I'll try and load it:
Quote: | [root@hprack5 ~]# modprobe vzctl
FATAL: Module vzctl not found.
[root@hprack5 ~]# uname -a
Linux hprack5.cs.montana.edu 2.6.9-023stab044.4-smp #1 SMP Mon May 28 23:18:17 MSD 2007 i686 i686 i386 GNU/Linux
[root@hprack5 ~]# locate vzcpt
/lib/modules/2.6.9-023stab044.4-smp/kernel/kernel/cpt/vzcpt. ko
[root@hprack5 ~]# insmod vzcpt
insmod: can't read 'vzcpt': No such file or directory
[root@hprack5 ~]# lsmod | grep vz
vzethdev 8008 0
vzdquota 45520 3 [permanent]
vznetdev 14048 7
vzmon 49196 5 vzethdev,vznetdev
vzdev 2208 4 vzethdev,vzdquota,vznetdev,vzmon
|
I'm sure if I reboot the hardware node, it'll work again... but I'd rather not do that and find a way around this issue... and I'm not in a hurry to do the migration so I can wait a while if anyone is willing to provide me with a fix or help me troubleshoot.
Oh, btw... I have a good uptime on my system so that's great:
Quote: | [root@hprack5 ~]# w
11:28:58 up 106 days, 34 min, 6 users, load average: 0.03, 0.13, 0.17
|
--
TYL, Scott Dowdle
Belgrade, Montana, USA
[Updated on: Wed, 12 September 2007 17:30] Report message to a moderator
|
|
|
|
Re: Problem loading vzctl module [message #20179 is a reply to message #20175] |
Wed, 12 September 2007 22:46   |
 |
dowdle
Messages: 261 Registered: December 2005 Location: Bozeman, Montana
|
Senior Member |
|
|
Quote: | Should be vzcpt not vzctl
|
Yeah, I know that... and the problem I had WAS with vzcpt, it's just I typed/pasted the wrong thing when I was writing up the forum posting. Let me try again:
Now do you believe me? All of the other previous output is valid.
I could have sworn I've used insmod before with just the name of the module (no path info included) and it just worked... but perhaps I was imagining that... so I tried it with the full path:
Quote: | [root@hprack5 ~]# insmod /lib/modules/2.6.9-023stab044.4-smp/kernel/kernel/cpt/vzcpt. ko
insmod: error inserting '/lib/modules/2.6.9-023stab044.4-smp/kernel/kernel/cpt/vzcpt .ko': -1 Unknown symbol in module
[root@hprack5 ~]#
|
I'm not missing something because that's the only one to use, right?
Quote: | [root@hprack5 ~]# rpm -ql ovzkernel-smp-2.6.9-023stab044.4 | grep vzcpt
/lib/modules/2.6.9-023stab044.4-smp/kernel/kernel/cpt/vzcpt. ko
[root@hprack5 ~]#
|
Please note that I'm having the same problem on both the source and destination hosts (running the same host OS and OpenVZ kernel)... neither one have the vzcpt module loaded and neither system want to load it.
I'm hoping I'm just having a silly brain fart and that it is something simple... something I'm doing wrong... but it's stumping me so far.
--
TYL, Scott Dowdle
Belgrade, Montana, USA
[Updated on: Wed, 12 September 2007 23:00] Report message to a moderator
|
|
|
|
|
|
|