Page 1 of 1

Any possible way to get EVE-NG Community working on Ubuntu 18.04.6

Posted: Wed Apr 20, 2022 8:21 pm
by matt.d.rogers
A lab user of ours upgraded their EVE-NG VM from Ubuntu 16.04.3 to 18.04.6. After this, the file structure of the /opt/unetlabs/ directories all appear intact thank goodness but the web login page is unresponsive (will not login) and I get fatal php errors from the init.php file, line 93 when running the "fix permissions" and "restore db" commands:

Code: Select all

root@eve-ng:~# unl_wrapper -a restoredb
PHP Fatal error:  Uncaught Error: Call to undefined function yaml_parse_file() in /opt/unetlab/html/includes/init.php:93
Stack trace:
#0 /opt/unetlab/wrappers/unl_wrapper(17): require_once()
#1 {main}
  thrown in /opt/unetlab/html/includes/init.php on line 93
Networking-wise, everything appears to be fine since I can https and ssh to the EVE-NG VM, but I notice in the ESXi VM console I receive a message that "pnet0 has no IP address." This is demonstrably false. The IP is configured in the /etc/network/interfaces file (does not use netplan).

- Hardware: Cisco UCS B200-M4
CPUs: Intel(R) Xeon(R) E5-2650 v4 (x2)
Total Cores: 24
Total Threads: 48
- Hypervisor: ESXi 6.7
- Virtual Machine Specs:
vCPUs: 4 (Core per Socket = 1)
Hardware virtualization is on
Memory: 16GB
Hard disk: 300GB
- EVE-NG Community version: eve-ng 2.0.3-112
- Operating System: Ubuntu 18.04.6 LTS
- Kernel: Linux 4.20.17-eve-ng-ukms+
- Architecture: x86-64
- CPU op-mode(s): 32-bit, 64-bit
- Byte Order: Little Endian
- CPU(s): 4
- On-line CPU(s) list: 0-3
- Thread(s) per core: 1
- Core(s) per socket: 1
- Socket(s): 4
- NUMA node(s): 1
- Vendor ID: GenuineIntel
- CPU family: 6
- Model: 79
- Model name: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
- Stepping: 1
- CPU MHz: 2194.917
- BogoMIPS: 4389.83
- Virtualization: VT-x
- Hypervisor vendor: VMware
- Virtualization type: full
- L1d cache: 32K
- L1i cache: 32K
- L2 cache: 256K
- L3 cache: 30720K
- NUMA node0 CPU(s): 0-3
- Services all active (guacd, tomcat8, mysql, apache2)
- H/W Accel is active

Interestingly, there is now a virtual bridge interface with a private IP under IP Info (none of my other EVE-NG VMs running on Ubuntu 16 have this).

Any help would be much appreciated. Thanks.

Re: Any possible way to get EVE-NG Community working on Ubuntu 18.04.6

Posted: Thu Apr 21, 2022 5:51 am
by Uldis (UD)
Not yet, but later this year EVE Community will be on EVE Pro platform so will use Ubuntu 20

Re: Any possible way to get EVE-NG Community working on Ubuntu 18.04.6

Posted: Fri Apr 22, 2022 6:07 pm
by matt.d.rogers
Thanks Uldis! I appreciate your response.