OpenVZ Forum


Home » General » Support » Checkpointing failed (vzctl chkpnt fails)
Re: Checkpointing failed SOLVED [message #37569 is a reply to message #37556] Fri, 25 September 2009 17:22 Go to previous messageGo to previous message
unxs is currently offline  unxs
Messages: 21
Registered: September 2009
Location: Oregon, USA
Junior Member
This works...

# wget http://download.openvz.org/utils/vzctl/3.0.23/src/vzctl-3.0.23-1.src.rpm
# rpm -i vzctl-3.0.23-1.src.rpm
# cd /usr/src/redhat/SOURCES
# tar xvjf vzctl-3.0.23.tar.bz2
# cd vzctl-3.0.23
# ./configure --enable-bashcomp --enable-logrotate
# make
# make install


The above complile from sources placed new utils in /usr/local.

And viola...now it works! Why is the question? More rudimentary investigating...

[root@fs2 vzctl-3.0.23]# /usr/local/sbin/vzctl chkpnt 1261
Setting up checkpoint...
        suspend...
        dump...
        kill...
Container is unmounted
Checkpointing completed succesfully
[root@fs2 vzctl-3.0.23]# /usr/local/sbin/vzctl restore 1261
Restoring container ...
Starting container ...
Container is mounted
        undump...
Adding IP address(es): 91.102.45.12
Setting CPU units: 1000
Configure meminfo: 127100
        resume...
Container start in progress...
Restoring completed succesfully
[root@fs2 vzctl-3.0.23]# vlist
-bash: vlist: command not found
[root@fs2 vzctl-3.0.23]# vzlist
      CTID      NPROC STATUS  IP_ADDR         HOSTNAME
      1051         59 running 91.102.45.3     ice-9.texxxs.nl
      1061         59 running 91.102.45.4     main.texxxs.nl
      1261          3 running 91.102.45.12    delme2.texxxs.nl
[root@fs2 vzctl-3.0.23]# ldd /usr/local/sbin/vzctl
        libvzctl-0.0.2.so => /usr/local/lib/libvzctl-0.0.2.so (0x00002b9630e37000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003002e00000)
        libutil.so.1 => /lib64/libutil.so.1 (0x0000003005600000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003002a00000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003002600000)
[root@fs2 vzctl-3.0.23]# ldd /usr/sbin/vzctl
        libvzctl-0.0.2.so => /usr/lib/libvzctl-0.0.2.so (0x0096a000)
        libdl.so.2 => /lib/libdl.so.2 (0x007db000)
        libutil.so.1 => /lib/libutil.so.1 (0x00990000)
        libc.so.6 => /lib/libc.so.6 (0x00671000)
        /lib/ld-linux.so.2 (0x00653000)
[root@fs2 vzctl-3.0.23]# diff /usr/lib/libvzctl-0.0.2.so /usr/local/lib/libvzctl-0.0.2.so
Binary files /usr/lib/libvzctl-0.0.2.so and /usr/local/lib/libvzctl-0.0.2.so differ
[root@fs2 vzctl-3.0.23]# ls -l /usr/local/lib/libvzctl-0.0.2.so
-rwxr-xr-x 1 root root 498441 Sep 25 19:01 /usr/local/lib/libvzctl-0.0.2.so*
[root@fs2 vzctl-3.0.23]# ls -l /usr/lib/libvzctl-0.0.2.so
-rwxr-xr-x 1 root root 384813 Oct 30  2008 /usr/lib/libvzctl-0.0.2.so*


So on my server set of new CentOS 5.3 x86_64 servers with yum installed OpenVZ kernel:

2.6.18-128.2.1.el5.028stab064.7

I had this thread's problem.

Summary: Had to compile from source to get chkpnt to work.

More info on my server farm, all my servers are dual quad core Xeons with 16Gb of RAM. Example cpu0:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           E5410  @ 2.33GHz
stepping        : 6
cpu MHz         : 2333.413
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips        : 4668.57
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:
...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Template creation from live Linux System
Next Topic: Error Starting VPS
Goto Forum:
  


Current Time: Thu Oct 09 06:21:33 GMT 2025

Total time taken to generate the page: 0.10495 seconds