<div dir="ltr">Hi,<br><br>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.<br><br>The error in the restore log is:<br>(00.016370) 2866: sk unix: Opening standalone socket (id 0x6a ino 0x696e peer 0)<br>(00.016392) 2866: Error (criu/sk-unix.c:1194): sk unix: Can't bind socket: No such file or directory<br>(00.016395) 2866: sk unix: Reverted working dir<br>(00.016399) 2866: Error (criu/files.c:1202): Unable to open fd=18 id=0x6a<br>(00.016948)pie: 2550: Task 2866 exited, status= 1<br>(00.016985) Error (criu/cr-restore.c:2174): Restoring FAILED.<br><br>=====================================<br>Some environment information<br><br>uname -r<br>4.15.4-1.el7.elrepo.x86_64<br><br>sudo /opt/criu/criu-3.7/criu/criu -V<br>Version: 3.7<br><br>sudo /opt/criu/criu-3.7/criu/criu check<br>Looks good.<br><br>
=====================================
<br>I've taken a look at<br><a href="https://criu.org/External_UNIX_socket">https://criu.org/External_UNIX_socket</a><br><a href="https://github.com/checkpoint-restore/criu/issues/410">https://github.com/checkpoint-restore/criu/issues/410</a><br><br>I've tried --evasive-devices --link-remap --skip-in-flight --tcp-close options to no avail.<br><br>I've also tried <br>criu dump --external unix[26990] <br>and <br>criu restore --inherit-fd fd[3]:socket:[26990] <br>but it fails with 'Error (criu/files.c:1582): Can't fstat inherit fd 3: Bad file descriptor'<br><br>Please let me know if you require more information.<br>Any help on this issue will be much appreciated!<br><br>Many thanks<br>Michael<br></div>