Problem with Clean and fix permissions

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
McQueen
Posts: 2
Joined: Thu May 19, 2022 10:58 pm

Problem with Clean and fix permissions

Post by McQueen » Thu May 19, 2022 11:08 pm

Hello,

I downloaded a Cisco Asav asav9-16-2-14.qcow2 from cisco software center and when i follow the procedure to load the qcow2 when i had the following log when executing the command "/opt/unetlab/wrappers/unl_wrapper -a fixpermissions"

root@eve-ng:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
PHP Warning: file_get_contents(/opt/unetlab/platform): failed to open stream: No such file or directory in /opt/unetlab/html/includes/init.php on line 71
PHP Warning: yaml_parse_file(): end of stream reached without finding document 0 in /opt/unetlab/html/includes/init.php on line 93

Anyone encountered this issue?

NOTE: I'm using VirtualBox

McQueen
Posts: 2
Joined: Thu May 19, 2022 10:58 pm

Re: Problem with Clean and fix permissions

Post by McQueen » Thu May 19, 2022 11:11 pm

On the init.php i have the the following lines:
Line 71: $kvm_family = file_get_contents("/opt/unetlab/platform");
Line 93: $cur_templ = yaml_parse_file(BASE_DIR.'/html/'.TPL_DIR.'/'.$element);

Uldis (UD)
Posts: 5068
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Problem with Clean and fix permissions

Post by Uldis (UD) » Fri May 20, 2022 8:06 am

You forgot turn ON nested virtualization !

Post Reply