# cat /var/log/mysql/error.log
root@mautic-sfo1:~#
~# uname -a
Linux mautic-sfo1 4.8.0-34-generic #36-Ubuntu SMP Wed Dec 21 17:24:18 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Jan 30 11:11:15 mautic-sfo1 systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit mysql.service has failed.
--
-- The result is failed.
Jan 30 11:11:15 mautic-sfo1 systemd[1]: mysql.service: Unit entered failed state.
Jan 30 11:11:15 mautic-sfo1 systemd[1]: mysql.service: Failed with result 'exit-code'.
Jan 30 11:11:15 mautic-sfo1 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Jan 30 11:11:15 mautic-sfo1 systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit mysql.service has finished shutting down.
Jan 30 11:11:15 mautic-sfo1 systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit mysql.service has begun starting up.
Jan 30 11:11:15 mautic-sfo1 audit[885]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/885/status" pid=885 comm="mysqld" requested_mask="
Jan 30 11:11:15 mautic-sfo1 audit[885]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=885 comm="mysqld" request
Jan 30 11:11:15 mautic-sfo1 audit[885]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/885/status" pid=885 comm="mysqld" requested_mask="
Jan 30 11:11:15 mautic-sfo1 kernel: audit: type=1400 audit(1485774675.352:159): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/885/status" pi
Jan 30 11:11:15 mautic-sfo1 kernel: audit: type=1400 audit(1485774675.352:160): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/
Jan 30 11:11:15 mautic-sfo1 kernel: audit: type=1400 audit(1485774675.352:161): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/885/status" pi
Jan 30 11:11:15 mautic-sfo1 systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Jan 30 11:11:30 mautic-sfo1 snmpd[1798]: error on subcontainer 'ia_addr' insert (-1)
root@mautic-sfo1:~# /etc/init.d/mysql stop
[ ok ] Stopping mysql (via systemctl): mysql.service.
root@mautic-sfo1:~# /etc/init.d/mysql start
[....] Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
failed!