I installed Proxmox VE into Debian Lenny amd64 with kernel 2.6.32-4-pve. All seems be nice but I'm getting problems with vzctl checkpointing:
dmesg:
I reproduced it on another node with the same kernel but there it couldn't open file /var/run/inetd.pid during restore. It's working after changing kernel to 2.6.24-12-pve.
Do you know what's wrong with that? I'd rather use the kernel 2.6.32. Thanks for any suggestions.
Code:
debik:~# vzctl start 101
[I]Starting container ...
Container is mounted
Adding IP address(es): 127.0.0.1
Setting CPU units: 1000
Setting CPUs: 1
Set hostname: test1.here.xx
File resolv.conf was modified
Setting quota ugidlimit: 0
Container start in progress...[/I]
debik:~# vzctl chkpnt 101
[I]Setting up checkpoint...
suspend...
dump...
kill...
Container is unmounted
Checkpointing completed succesfully
[/I]debik:~# vzctl restore 101[I]
Restoring container ...
Starting container ...
Container is mounted
undump...
Adding IP address(es): 127.0.0.1
Setting CPU units: 1000
Setting CPUs: 1
Error: undump failed: Permission denied
Restoring failed:
Error: can't open file /var/log/news/news.crit
Error: rst_file: -13 41016
Error: rst_files: -13
Error: make_baby: -13
Error: rst_clone_children
Container start failed
Stopping container ...
Container was stopped
Container is unmounted[/I]
debik:~# ls -lh /var/log/news/news.crit
[I]-rw-r----- 1 root adm 0 2010-09-26 00:12 /var/log/news/news.crit[/I]
debik:~# chmod 666 /var/log/news/news.crit
debik:~# vzctl restore 101
[I]Restoring container ...
Starting container ...
Container is mounted
undump...
Adding IP address(es): 127.0.0.1
Setting CPU units: 1000
Setting CPUs: 1
Error: undump failed: Permission denied
Restoring failed:
Error: can't open file /var/log/news/news.crit
Error: rst_file: -13 41016
Error: rst_files: -13
Error: make_baby: -13
Error: rst_clone_children
Container start failed
Stopping container ...
Container was stopped
Container is unmounted[/I]
dmesg:
Code:
CT: 101: started
CPT ERR: ffff8800248c2000,101 :can't open file /var/log/news/news.crit
CPT ERR: ffff8800248c2000,101 :rst_file: -13 41016
CPT ERR: ffff8800248c2000,101 :rst_files: -13
CPT ERR: ffff8800248c2000,101 :make_baby: -13
CPT ERR: ffff8800248c2000,101 :rst_clone_children
CT: 101: stopped
I reproduced it on another node with the same kernel but there it couldn't open file /var/run/inetd.pid during restore. It's working after changing kernel to 2.6.24-12-pve.
Do you know what's wrong with that? I'd rather use the kernel 2.6.32. Thanks for any suggestions.
Last edited: