[CRIU] crtools error checkpoint/restore error ("Unable to open pstree.img")

Pavel Emelyanov xemul at parallels.com
Tue Mar 26 14:10:13 EDT 2013


On 03/26/2013 10:07 PM, Kevin Wilson wrote:
> Hi,
> Good news: checkpoint of sshd now works!
> 
> What I did is, after reboot, try the **same** checkpoint
> command. And no error was mentioned, also dump.log
> did not show errors.
> The difference was that I issued the command from the
> terminal itself. In previous experiments, I issued the command
> from a different machine, from which I was connected by "ssh"
> to the machine on which I ran crtools checkpoint. It could be
> that even so this should have worked; I will try also with other processes.

Am I right, you tried to checkpoint an sshd, which served your connection?
Or you had two connections? One for running program and the other one for
running crtools?

BTW, have you applied two patches I've recently sent? If no, please do.

> Restore does not work (I try it from the same terminal).
> I get this error:
> 
> 00.004341)    803: Error (sk-unix.c:833): FATAL: Peer 0x3c10 unresolved for 0x3
> c0f
> (00.022538) Error (cr-restore.c:902): 803 exited, status=255
> (00.022648) Error (cr-restore.c:1209): Someone can't be restored

This is external unix socket again. Use the -x option on restore as well.

> Best,
> Kevin

Thanks,
Pavel


More information about the CRIU mailing list