“/opt/unetlab/wrappers/unl_wrapper -a fixpermissions” issues

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
Cyclical
Posts: 1
Joined: Thu Jan 12, 2023 10:36 pm

“/opt/unetlab/wrappers/unl_wrapper -a fixpermissions” issues

Post by Cyclical » Fri Jan 13, 2023 12:42 am

Hello,

I’m running an EVE-NG VM within Virtualbox 7.0 on a 2015 Intel based Macbook Pro. I’d attempted to follow the guide to add some VIRL images I have access to, and it all went accordingly until the last step. Could anyone help me out?

Entering in:

“/opt/unetlab/wrappers/unl_wrapper -a fix permissions”

Resulted in:

“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”

So I edited line 71 in /opt/unetlab/html/includes/init.php; Removing “platform” from “/opt/unetlab/platform”:

$kvm_family = file_get_contents(“/opt/unetlab/“);

After editing; Entering the same command again:

“/opt/unetlab/wrappers/unl_wrapper -a fixpermissions”

Resulted in:

“PHP Notice: file_get_contents(): read of 8192 bytes failed with errno=21 Is a directory in /opt/unetlab/html/includes/init.php on line 71”

I’m not sure where to go from here to fix the permissions. Any insight would be greatly appreciated. Thank you.

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

Re: “/opt/unetlab/wrappers/unl_wrapper -a fixpermissions” issues

Post by Uldis (UD) » Fri Jan 13, 2023 8:13 am

You forgot to enable Intel VT-X nested virtualization on the EVE CPU,
Please read cookbook how to install EVE

Post Reply