Page 1 of 1

Failed to lock the lab (60061)

Posted: Sun Jul 02, 2017 7:00 am
by ee_cskaa
Hi, After I entered copy run start in Cisco node, and then click Export CFG in EVE GUI, it shows "CSR1: Failed to lock the lab (60061)."
How to fix it?

Re: Failed to lock the lab (60061)

Posted: Sun Jul 02, 2017 8:03 am
by Uldis (UD)
usually this error is if not fixed permissions for copied lab in the eve.

you have to check if such happens on freshly new created lab

Re: Failed to lock the lab (60061)

Posted: Sun Jul 02, 2017 11:13 am
by mike
more info wouldn't hurt at all - version for example of eve

Re: Failed to lock the lab (60061)

Posted: Sun Jul 02, 2017 3:45 pm
by Uldis (UD)
no sir..
all pll who did right update to newest version, never have probs..
you have to be sure if you had no probs during update

AND
it is MUST

clear browser cache and rferesh it !!!!

Re: Failed to lock the lab (60061)

Posted: Mon Jul 03, 2017 12:50 am
by ee_cskaa
I upgraded to the latest version, 2.0.3-68, run the below command, but the problem still occur.

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

Re: Failed to lock the lab (60061)

Posted: Mon Jul 03, 2017 4:36 am
by ee_cskaa
I found there is a lab file named xxx.lock. How to unlock the lab file?

root@eve-ng:/opt/unetlab/labs# ls -al
total 72
drwxr-sr-x 2 www-data www-data 4096 Jul 3 07:07 .
drwxr-xr-x 10 root root 4096 Apr 11 03:01 ..
-rwxrwxrwx 1 www-data www-data 61303 Jul 1 12:25 QYTDCVLAB2.unl
-rwxrwxrwx 1 www-data www-data 0 Jul 1 12:26 QYTDCVLAB2.unl.lock
-rw-r--r-- 1 www-data www-data 158 May 29 06:28 test.unl

Re: Failed to lock the lab (60061)

Posted: Mon Jul 03, 2017 6:51 am
by mike
just remove that file with

rm QYTDCVLAB2.unl.lock

Re: Failed to lock the lab (60061)

Posted: Mon Jul 03, 2017 8:16 am
by ee_cskaa
Fixed, thanks