03-31-2021 12:49 PM
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
03-31-2021 03:06 PM
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 **
05-31-2023 01:20 AM
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)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide