[CRIU] Restore process issue

Michael Sheng Yang Loh michael.loh at plunify.com
Mon Feb 26 09:29:17 MSK 2018


Hi,

I'm trying to dump and restore a process on the same machine using criu. I
managed to dump the process successfully but am having trouble restoring
the process.

The error in the restore log is:
(00.016370)   2866: sk unix: Opening standalone socket (id 0x6a ino 0x696e
peer 0)
(00.016392)   2866: Error (criu/sk-unix.c:1194): sk unix: Can't bind
socket: No such file or directory
(00.016395)   2866: sk unix: Reverted working dir
(00.016399)   2866: Error (criu/files.c:1202): Unable to open fd=18 id=0x6a
(00.016948)pie: 2550: Task 2866 exited, status= 1
(00.016985) Error (criu/cr-restore.c:2174): Restoring FAILED.

=====================================
Some environment information

uname -r
4.15.4-1.el7.elrepo.x86_64

sudo /opt/criu/criu-3.7/criu/criu -V
Version: 3.7

sudo /opt/criu/criu-3.7/criu/criu check
Looks good.

=====================================
I've taken a look at
https://criu.org/External_UNIX_socket
https://github.com/checkpoint-restore/criu/issues/410

I've tried --evasive-devices --link-remap --skip-in-flight --tcp-close
options to no avail.

I've also tried
criu dump --external unix[26990]
and
criu restore --inherit-fd fd[3]:socket:[26990]
but it fails with 'Error (criu/files.c:1582): Can't fstat inherit fd 3: Bad
file descriptor'

Please let me know if you require more information.
Any help on this issue will be much appreciated!

Many thanks
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20180226/584b964c/attachment-0001.html>


More information about the CRIU mailing list