cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6269
Views
0
Helpful
2
Replies

Error when setting up EVE-ng with VMWare Workstation 14.

ronjonjonjon1
Level 1
Level 1
does anyone have any experience setting up EVE-ng? I have d/l a community ISO from their website.
 
Then I set it up on VMWare Workstation 14. I then attached an .vmdk (that has all my node images).
 
Then I boot up vm and get IP to use for EVE, and go to webpage and when I type in username/pw it doesn't respond ie. When I click the "Sign In" radio button nothing happens, no wrong username etc.
 
Went to the eve-ng website, and the FAQ says to issue a fixpermissions command which the eve VM takes without error.
 
then followed that up with a
"unl_wrapper -a restoredb ; grep -q default_time_zone /etc/mysql/mysql.conf.d/mysqld.cnf || echo "default_time_zone='+00:00'" >> /etc/mysql/mysql.conf.d/mysqld.cnf ; systemctl restart mysql"
but it says "-bash: unl_wrapper: command not found" --
 
I copy and pasted this "fix" command off the FAQ of the eve-ng.net but it's still not working. Any advice? Do I need to use their PRO edition even though I have all the images for routers, etc?
 
Below is the output of commands after it said its a some kind of SQL error:
 

login as: root
root@192.168.1.57's password:
Welcome to Ubuntu 16.04.7 LTS (GNU/Linux 4.9.40-eve-ng-ukms-2+ x86_64)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Last login: Wed Mar 31 14:58:59 2021
root@eve-ng:~#
root@eve-ng:~#
root@eve-ng:~#
root@eve-ng:~#
root@eve-ng:~# unl_wrapper -a restoredb ; grep -q default_time_zone /etc/mysql/m ysql.conf.d/mysqld.cnf || echo "default_time_zone='+00:00'" >> /etc/mysql/mysql. conf.d/mysqld.cnf ; systemctl restart mysql
-bash: unl_wrapper: command not found
Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql. service" and "journalctl -xe" for details.
root@eve-ng:~# systemctl status mysql.service
* mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: activating (start-post) (Result: exit-code) since Wed 2021-03-31 15:05:16 EDT; 16s ago
Process: 9588 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
Process: 9581 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Main PID: 9588 (code=exited, status=1/FAILURE); : 9589 (mysql-systemd-s)
CGroup: /system.slice/mysql.service
`-control
|-9589 /bin/bash /usr/share/mysql/mysql-systemd-start post
`-9675 sleep 1

Mar 31 15:05:16 eve-ng systemd[1]: Starting MySQL Community Server...
Mar 31 15:05:17 eve-ng systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
root@eve-ng:~# journalctl -xe
Mar 31 15:13:58 eve-ng systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Mar 31 15:14:27 eve-ng systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has failed.
--
-- The result is failed.
Mar 31 15:14:27 eve-ng systemd[1]: mysql.service: Unit entered failed state.
Mar 31 15:14:27 eve-ng systemd[1]: mysql.service: Failed with result 'exit-code'.
Mar 31 15:14:27 eve-ng systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Mar 31 15:14:27 eve-ng systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has finished shutting down.
Mar 31 15:14:27 eve-ng systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has begun starting up.
Mar 31 15:14:27 eve-ng audit[12625]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="
Mar 31 15:14:27 eve-ng audit[12625]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="
Mar 31 15:14:27 eve-ng audit[12625]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="
Mar 31 15:14:27 eve-ng kernel: audit: type=1400 audit(1617218067.866:102): apparmor="DENIED" operation="open"
Mar 31 15:14:27 eve-ng kernel: audit: type=1400 audit(1617218067.866:103): apparmor="DENIED" operation="open"
Mar 31 15:14:27 eve-ng kernel: audit: type=1400 audit(1617218067.866:104): apparmor="DENIED" operation="open"
Mar 31 15:14:28 eve-ng systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
lines 2381-2411/2411 (END)
Mar 31 15:13:58 eve-ng systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Mar 31 15:14:27 eve-ng systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has failed.
--
-- The result is failed.
Mar 31 15:14:27 eve-ng systemd[1]: mysql.service: Unit entered failed state.
Mar 31 15:14:27 eve-ng systemd[1]: mysql.service: Failed with result 'exit-code'.
Mar 31 15:14:27 eve-ng systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Mar 31 15:14:27 eve-ng systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has finished shutting down.
Mar 31 15:14:27 eve-ng systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has begun starting up.
Mar 31 15:14:27 eve-ng audit[12625]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12625/status" pid=12625
Mar 31 15:14:27 eve-ng audit[12625]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pi
Mar 31 15:14:27 eve-ng audit[12625]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12625/status" pid=12625
Mar 31 15:14:27 eve-ng kernel: audit: type=1400 audit(1617218067.866:102): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" n
Mar 31 15:14:27 eve-ng kernel: audit: type=1400 audit(1617218067.866:103): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" n
Mar 31 15:14:27 eve-ng kernel: audit: type=1400 audit(1617218067.866:104): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" n
Mar 31 15:14:28 eve-ng systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE

 
2 Replies 2

Martin L
VIP
VIP

 

I would go to eve forum and post your issue there. You likely have an networking subnet mismatch issue.

No need for Pro version; you will get the same error; you said you attached a vm disk; has it come from different eve-ng? if so, IPs settings do not match. Reset network or remove and add vm net adapters, check network subnet and IP, make sure they are on same network. There might be extra issue if you use Win 10.

While you wait for Eve forum's reply, Create a new Eve Vm, then copy paste your files from old to new using WinSCP

 

Regards, ML
**Please Rate All Helpful Responses **

I have the same problem.

I check the subnet and it was ok. ping from my pc to eve vm (and vice versa) is successfull.

I remove the eve vm and create again with an ovf file.

everything is ok i can access the login page on browser but when in click sign in nothing happens.

i check the eve-ng FAQ and find a command for this problem starting with "unl_wrapper"

but vmware cli doesnt recognize the command(unl_wrapper command not found)