Jump to content

Any LAMP experts out there?


Geonovast

Recommended Posts

Google is not being terribly helpful, and topic-specific forums (I won't name them, but they know who they are) tend to treat asking a question as a cardinal sin, so I thought I would try here since I know a lot of you are adept programmers and a handful are Linux buffs (as I'm aspiring to be one day).

I'm starting a project for work that is essentially a SaaS replacement for an antiquated piece of software that is about to be retired.  This will be running on a LAMP server with Ubuntu 16.04.  I have a big learning curve ahead of me for the PHP/SQL interaction, but I don't see it being an issue.

However, I really need to be able to easily work on it while at work and when I'm home.  I don't want to be lugging a computer back and forth, so my solution was to put the project on a USB external HD. 

Following this guide I was easily able to move the MySql database over to the HD.  I sshed into my computer at home after I got it working, and made the exact same changes (albeit without the drive plugged in).  I just got home, plugged in the drive, and I cannot get MySql to start.  I'm mounting the drive into /var/www/html.  Apache is working fine with this arrangement.  SQL database is in /var/www/html/DATAB/mysql

Computer at work is running Ubuntu server 16.04.  Computer at home is running Linux Mint 18.2.

Any tips would be appreciated!

Link to comment
Share on other sites

I did a:

chown correy -R /var/www/html

Which succeeded.

sudo systemctl start mysql

Returns this:

Job for mysql.service failed because the control process ended with error code.  See "systemctl status mysql.service" and "journalctl -xe" for details

Results of "systemctl status mysql.service:

Spoiler

● mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
   Active: activating (start-post) (Result: exit-code) since Tue 2017-10-24 18:14:56 CDT; 20s ago
  Process: 15378 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
  Process: 15370 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
 Main PID: 15378 (code=exited, status=1/FAILURE);         : 15379 (mysql-systemd-s)
   CGroup: /system.slice/mysql.service
           └─control
             ├─15379 /bin/bash /usr/share/mysql/mysql-systemd-start post
             └─15420 sleep 1

Oct 24 18:14:56 Athena mysqld[15378]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.768766Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.768791Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.903755Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.903808Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.903826Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 15378 ...
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.905397Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.905406Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.905432Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:14:56 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE

Results of journalctl -xe:

Spoiler

-- Logs begin at Thu 2017-10-19 17:20:29 CDT, end at Tue 2017-10-24 18:14:56 CDT. --
Oct 24 17:55:07 Athena mysqld[12088]: 2017-10-24T22:55:07.644438Z 0 [Note] Binlog end
Oct 24 17:55:07 Athena mysqld[12088]: 2017-10-24T22:55:07.644499Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 17:55:07 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 17:55:37 Athena 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.
Oct 24 17:55:37 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 17:55:37 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 17:55:37 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 17:55:37 Athena 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.
Oct 24 17:55:38 Athena 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.
Oct 24 17:55:38 Athena audit[12162]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12162/status" pid=12162 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:55:38 Athena audit[12162]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12162 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:55:38 Athena audit[12162]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12162/status" pid=12162 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:55:38 Athena kernel: audit: type=1400 audit(1508885738.019:1646): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12162/status" pid=12162 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:55:38 Athena kernel: audit: type=1400 audit(1508885738.019:1647): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12162 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:55:38 Athena kernel: audit: type=1400 audit(1508885738.019:1648): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12162/status" pid=12162 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:55:38 Athena mysqld[12162]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 17:55:38 Athena mysqld[12162]: 2017-10-24T22:55:38.025868Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 17:55:38 Athena mysqld[12162]: 2017-10-24T22:55:38.025895Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 17:55:38 Athena mysqld[12162]: 2017-10-24T22:55:38.155652Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 17:55:38 Athena mysqld[12162]: 2017-10-24T22:55:38.155702Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:55:38 Athena mysqld[12162]: 2017-10-24T22:55:38.155720Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 12162 ...
Oct 24 17:55:38 Athena mysqld[12162]: 2017-10-24T22:55:38.157242Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:55:38 Athena mysqld[12162]: 2017-10-24T22:55:38.157251Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:55:38 Athena mysqld[12162]: 2017-10-24T22:55:38.157306Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 17:55:38 Athena mysqld[12162]: 2017-10-24T22:55:38.157310Z 0 [ERROR] Aborting
Oct 24 17:55:38 Athena mysqld[12162]: 2017-10-24T22:55:38.157316Z 0 [Note] Binlog end
Oct 24 17:55:38 Athena mysqld[12162]: 2017-10-24T22:55:38.157359Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 17:55:38 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 17:56:08 Athena 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.
Oct 24 17:56:08 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 17:56:08 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 17:56:08 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 17:56:08 Athena 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.
Oct 24 17:56:08 Athena 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.
Oct 24 17:56:08 Athena audit[12234]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12234/status" pid=12234 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:56:08 Athena audit[12234]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12234 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:56:08 Athena audit[12234]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12234/status" pid=12234 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:56:08 Athena kernel: audit: type=1400 audit(1508885768.508:1649): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12234/status" pid=12234 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:56:08 Athena kernel: audit: type=1400 audit(1508885768.508:1650): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12234 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:56:08 Athena kernel: audit: type=1400 audit(1508885768.508:1651): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12234/status" pid=12234 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:56:08 Athena mysqld[12234]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 17:56:08 Athena mysqld[12234]: 2017-10-24T22:56:08.511572Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 17:56:08 Athena mysqld[12234]: 2017-10-24T22:56:08.511599Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 17:56:08 Athena mysqld[12234]: 2017-10-24T22:56:08.643097Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 17:56:08 Athena mysqld[12234]: 2017-10-24T22:56:08.643148Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:56:08 Athena mysqld[12234]: 2017-10-24T22:56:08.643165Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 12234 ...
Oct 24 17:56:08 Athena mysqld[12234]: 2017-10-24T22:56:08.644410Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:56:08 Athena mysqld[12234]: 2017-10-24T22:56:08.644419Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:56:08 Athena mysqld[12234]: 2017-10-24T22:56:08.644446Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 17:56:08 Athena mysqld[12234]: 2017-10-24T22:56:08.644449Z 0 [ERROR] Aborting
Oct 24 17:56:08 Athena mysqld[12234]: 2017-10-24T22:56:08.644454Z 0 [Note] Binlog end
Oct 24 17:56:08 Athena mysqld[12234]: 2017-10-24T22:56:08.644510Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 17:56:08 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 17:56:38 Athena 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.
Oct 24 17:56:38 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 17:56:38 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 17:56:38 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 17:56:38 Athena 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.
Oct 24 17:56:38 Athena 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.
Oct 24 17:56:38 Athena audit[12310]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12310/status" pid=12310 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:56:38 Athena audit[12310]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12310 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:56:38 Athena audit[12310]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12310/status" pid=12310 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:56:39 Athena kernel: audit: type=1400 audit(1508885798.996:1652): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12310/status" pid=12310 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:56:39 Athena kernel: audit: type=1400 audit(1508885798.996:1653): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12310 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:56:39 Athena kernel: audit: type=1400 audit(1508885798.996:1654): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12310/status" pid=12310 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:56:39 Athena mysqld[12310]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 17:56:39 Athena mysqld[12310]: 2017-10-24T22:56:39.000124Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 17:56:39 Athena mysqld[12310]: 2017-10-24T22:56:39.000164Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 17:56:39 Athena mysqld[12310]: 2017-10-24T22:56:39.136983Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 17:56:39 Athena mysqld[12310]: 2017-10-24T22:56:39.137037Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:56:39 Athena mysqld[12310]: 2017-10-24T22:56:39.137055Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 12310 ...
Oct 24 17:56:39 Athena mysqld[12310]: 2017-10-24T22:56:39.138392Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:56:39 Athena mysqld[12310]: 2017-10-24T22:56:39.138405Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:56:39 Athena mysqld[12310]: 2017-10-24T22:56:39.138448Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 17:56:39 Athena mysqld[12310]: 2017-10-24T22:56:39.138467Z 0 [ERROR] Aborting
Oct 24 17:56:39 Athena mysqld[12310]: 2017-10-24T22:56:39.138476Z 0 [Note] Binlog end
Oct 24 17:56:39 Athena mysqld[12310]: 2017-10-24T22:56:39.138566Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 17:56:39 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 17:57:09 Athena 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.
Oct 24 17:57:09 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 17:57:09 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 17:57:09 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 17:57:09 Athena 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.
Oct 24 17:57:09 Athena 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.
Oct 24 17:57:09 Athena audit[12383]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12383/status" pid=12383 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:57:09 Athena audit[12383]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12383 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:57:09 Athena audit[12383]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12383/status" pid=12383 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:57:09 Athena kernel: audit: type=1400 audit(1508885829.512:1655): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12383/status" pid=12383 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:57:09 Athena kernel: audit: type=1400 audit(1508885829.512:1656): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12383 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:57:09 Athena kernel: audit: type=1400 audit(1508885829.512:1657): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12383/status" pid=12383 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:57:09 Athena mysqld[12383]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 17:57:09 Athena mysqld[12383]: 2017-10-24T22:57:09.519720Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 17:57:09 Athena mysqld[12383]: 2017-10-24T22:57:09.519825Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 17:57:09 Athena mysqld[12383]: 2017-10-24T22:57:09.655933Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 17:57:09 Athena mysqld[12383]: 2017-10-24T22:57:09.655987Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:57:09 Athena mysqld[12383]: 2017-10-24T22:57:09.656005Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 12383 ...
Oct 24 17:57:09 Athena mysqld[12383]: 2017-10-24T22:57:09.657613Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:57:09 Athena mysqld[12383]: 2017-10-24T22:57:09.657622Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:57:09 Athena mysqld[12383]: 2017-10-24T22:57:09.657645Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 17:57:09 Athena mysqld[12383]: 2017-10-24T22:57:09.657648Z 0 [ERROR] Aborting
Oct 24 17:57:09 Athena mysqld[12383]: 2017-10-24T22:57:09.657655Z 0 [Note] Binlog end
Oct 24 17:57:09 Athena mysqld[12383]: 2017-10-24T22:57:09.657713Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 17:57:09 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 17:57:39 Athena 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.
Oct 24 17:57:39 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 17:57:39 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 17:57:39 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 17:57:39 Athena 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.
Oct 24 17:57:40 Athena 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.
Oct 24 17:57:40 Athena audit[12459]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12459/status" pid=12459 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:57:40 Athena audit[12459]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12459 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:57:40 Athena audit[12459]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12459/status" pid=12459 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:57:40 Athena kernel: audit: type=1400 audit(1508885860.025:1658): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12459/status" pid=12459 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:57:40 Athena kernel: audit: type=1400 audit(1508885860.025:1659): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12459 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:57:40 Athena kernel: audit: type=1400 audit(1508885860.025:1660): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12459/status" pid=12459 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:57:40 Athena mysqld[12459]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 17:57:40 Athena mysqld[12459]: 2017-10-24T22:57:40.027581Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 17:57:40 Athena mysqld[12459]: 2017-10-24T22:57:40.027606Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 17:57:40 Athena mysqld[12459]: 2017-10-24T22:57:40.163921Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 17:57:40 Athena mysqld[12459]: 2017-10-24T22:57:40.163972Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:57:40 Athena mysqld[12459]: 2017-10-24T22:57:40.163990Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 12459 ...
Oct 24 17:57:40 Athena mysqld[12459]: 2017-10-24T22:57:40.165555Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:57:40 Athena mysqld[12459]: 2017-10-24T22:57:40.165564Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:57:40 Athena mysqld[12459]: 2017-10-24T22:57:40.165590Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 17:57:40 Athena mysqld[12459]: 2017-10-24T22:57:40.165593Z 0 [ERROR] Aborting
Oct 24 17:57:40 Athena mysqld[12459]: 2017-10-24T22:57:40.165613Z 0 [Note] Binlog end
Oct 24 17:57:40 Athena mysqld[12459]: 2017-10-24T22:57:40.165657Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 17:57:40 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 17:58:10 Athena 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.
Oct 24 17:58:10 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 17:58:10 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 17:58:10 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 17:58:10 Athena 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.
Oct 24 17:58:10 Athena 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.
Oct 24 17:58:10 Athena audit[12555]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12555/status" pid=12555 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:58:10 Athena audit[12555]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12555 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:58:10 Athena audit[12555]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12555/status" pid=12555 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:58:10 Athena kernel: audit: type=1400 audit(1508885890.521:1661): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12555/status" pid=12555 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:58:10 Athena kernel: audit: type=1400 audit(1508885890.521:1662): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12555 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:58:10 Athena kernel: audit: type=1400 audit(1508885890.521:1663): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12555/status" pid=12555 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:58:10 Athena mysqld[12555]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 17:58:10 Athena mysqld[12555]: 2017-10-24T22:58:10.530750Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 17:58:10 Athena mysqld[12555]: 2017-10-24T22:58:10.530848Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 17:58:10 Athena mysqld[12555]: 2017-10-24T22:58:10.664087Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 17:58:10 Athena mysqld[12555]: 2017-10-24T22:58:10.664143Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:58:10 Athena mysqld[12555]: 2017-10-24T22:58:10.664161Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 12555 ...
Oct 24 17:58:10 Athena mysqld[12555]: 2017-10-24T22:58:10.665727Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:58:10 Athena mysqld[12555]: 2017-10-24T22:58:10.665737Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:58:10 Athena mysqld[12555]: 2017-10-24T22:58:10.665762Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 17:58:10 Athena mysqld[12555]: 2017-10-24T22:58:10.665765Z 0 [ERROR] Aborting
Oct 24 17:58:10 Athena mysqld[12555]: 2017-10-24T22:58:10.665772Z 0 [Note] Binlog end
Oct 24 17:58:10 Athena mysqld[12555]: 2017-10-24T22:58:10.665812Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 17:58:10 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 17:58:40 Athena 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.
Oct 24 17:58:40 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 17:58:40 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 17:58:40 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 17:58:40 Athena 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.
Oct 24 17:58:40 Athena 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.
Oct 24 17:58:41 Athena audit[12647]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12647/status" pid=12647 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:58:41 Athena audit[12647]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12647 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:58:41 Athena audit[12647]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12647/status" pid=12647 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:58:41 Athena kernel: audit: type=1400 audit(1508885921.005:1664): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12647/status" pid=12647 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:58:41 Athena kernel: audit: type=1400 audit(1508885921.005:1665): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12647 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:58:41 Athena kernel: audit: type=1400 audit(1508885921.005:1666): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12647/status" pid=12647 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:58:41 Athena mysqld[12647]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 17:58:41 Athena mysqld[12647]: 2017-10-24T22:58:41.013341Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 17:58:41 Athena mysqld[12647]: 2017-10-24T22:58:41.013384Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 17:58:41 Athena mysqld[12647]: 2017-10-24T22:58:41.154783Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 17:58:41 Athena mysqld[12647]: 2017-10-24T22:58:41.154836Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:58:41 Athena mysqld[12647]: 2017-10-24T22:58:41.154853Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 12647 ...
Oct 24 17:58:41 Athena mysqld[12647]: 2017-10-24T22:58:41.156372Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:58:41 Athena mysqld[12647]: 2017-10-24T22:58:41.156381Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:58:41 Athena mysqld[12647]: 2017-10-24T22:58:41.156407Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 17:58:41 Athena mysqld[12647]: 2017-10-24T22:58:41.156410Z 0 [ERROR] Aborting
Oct 24 17:58:41 Athena mysqld[12647]: 2017-10-24T22:58:41.156416Z 0 [Note] Binlog end
Oct 24 17:58:41 Athena mysqld[12647]: 2017-10-24T22:58:41.156474Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 17:58:41 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 17:59:11 Athena 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.
Oct 24 17:59:11 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 17:59:11 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 17:59:11 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 17:59:11 Athena 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.
Oct 24 17:59:11 Athena 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.
Oct 24 17:59:11 Athena audit[12719]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12719/status" pid=12719 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:59:11 Athena audit[12719]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12719 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:59:11 Athena audit[12719]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12719/status" pid=12719 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:59:11 Athena kernel: audit: type=1400 audit(1508885951.518:1667): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12719/status" pid=12719 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:59:11 Athena kernel: audit: type=1400 audit(1508885951.518:1668): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12719 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:59:11 Athena kernel: audit: type=1400 audit(1508885951.518:1669): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12719/status" pid=12719 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:59:11 Athena mysqld[12719]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 17:59:11 Athena mysqld[12719]: 2017-10-24T22:59:11.525482Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 17:59:11 Athena mysqld[12719]: 2017-10-24T22:59:11.525509Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 17:59:11 Athena mysqld[12719]: 2017-10-24T22:59:11.663454Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 17:59:11 Athena mysqld[12719]: 2017-10-24T22:59:11.663504Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:59:11 Athena mysqld[12719]: 2017-10-24T22:59:11.663522Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 12719 ...
Oct 24 17:59:11 Athena mysqld[12719]: 2017-10-24T22:59:11.665084Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:59:11 Athena mysqld[12719]: 2017-10-24T22:59:11.665092Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:59:11 Athena mysqld[12719]: 2017-10-24T22:59:11.665120Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 17:59:11 Athena mysqld[12719]: 2017-10-24T22:59:11.665123Z 0 [ERROR] Aborting
Oct 24 17:59:11 Athena mysqld[12719]: 2017-10-24T22:59:11.665130Z 0 [Note] Binlog end
Oct 24 17:59:11 Athena mysqld[12719]: 2017-10-24T22:59:11.665192Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 17:59:11 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 17:59:41 Athena 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.
Oct 24 17:59:41 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 17:59:41 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 17:59:41 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 17:59:41 Athena 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.
Oct 24 17:59:41 Athena 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.
Oct 24 17:59:42 Athena audit[12793]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12793/status" pid=12793 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:59:42 Athena audit[12793]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12793 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:59:42 Athena audit[12793]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12793/status" pid=12793 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:59:42 Athena kernel: audit: type=1400 audit(1508885982.018:1670): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12793/status" pid=12793 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:59:42 Athena kernel: audit: type=1400 audit(1508885982.018:1671): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12793 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 17:59:42 Athena kernel: audit: type=1400 audit(1508885982.018:1672): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12793/status" pid=12793 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 17:59:42 Athena mysqld[12793]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 17:59:42 Athena mysqld[12793]: 2017-10-24T22:59:42.027459Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 17:59:42 Athena mysqld[12793]: 2017-10-24T22:59:42.027596Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 17:59:42 Athena mysqld[12793]: 2017-10-24T22:59:42.163532Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 17:59:42 Athena mysqld[12793]: 2017-10-24T22:59:42.163588Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:59:42 Athena mysqld[12793]: 2017-10-24T22:59:42.163606Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 12793 ...
Oct 24 17:59:42 Athena mysqld[12793]: 2017-10-24T22:59:42.165130Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:59:42 Athena mysqld[12793]: 2017-10-24T22:59:42.165140Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 17:59:42 Athena mysqld[12793]: 2017-10-24T22:59:42.165165Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 17:59:42 Athena mysqld[12793]: 2017-10-24T22:59:42.165168Z 0 [ERROR] Aborting
Oct 24 17:59:42 Athena mysqld[12793]: 2017-10-24T22:59:42.165174Z 0 [Note] Binlog end
Oct 24 17:59:42 Athena mysqld[12793]: 2017-10-24T22:59:42.165233Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 17:59:42 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:00:12 Athena 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.
Oct 24 18:00:12 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:00:12 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:00:12 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:00:12 Athena 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.
Oct 24 18:00:12 Athena 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.
Oct 24 18:00:12 Athena audit[12866]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12866/status" pid=12866 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:00:12 Athena audit[12866]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12866 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:00:12 Athena audit[12866]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12866/status" pid=12866 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:00:12 Athena kernel: audit: type=1400 audit(1508886012.522:1673): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12866/status" pid=12866 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:00:12 Athena kernel: audit: type=1400 audit(1508886012.522:1674): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12866 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:00:12 Athena kernel: audit: type=1400 audit(1508886012.522:1675): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12866/status" pid=12866 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:00:12 Athena mysqld[12866]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:00:12 Athena mysqld[12866]: 2017-10-24T23:00:12.529401Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:00:12 Athena mysqld[12866]: 2017-10-24T23:00:12.529505Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:00:12 Athena mysqld[12866]: 2017-10-24T23:00:12.663550Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:00:12 Athena mysqld[12866]: 2017-10-24T23:00:12.663602Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:00:12 Athena mysqld[12866]: 2017-10-24T23:00:12.663620Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 12866 ...
Oct 24 18:00:12 Athena mysqld[12866]: 2017-10-24T23:00:12.665231Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:00:12 Athena mysqld[12866]: 2017-10-24T23:00:12.665240Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:00:12 Athena mysqld[12866]: 2017-10-24T23:00:12.665276Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:00:12 Athena mysqld[12866]: 2017-10-24T23:00:12.665279Z 0 [ERROR] Aborting
Oct 24 18:00:12 Athena mysqld[12866]: 2017-10-24T23:00:12.665286Z 0 [Note] Binlog end
Oct 24 18:00:12 Athena mysqld[12866]: 2017-10-24T23:00:12.665367Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:00:12 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:00:42 Athena 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.
Oct 24 18:00:42 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:00:42 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:00:42 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:00:42 Athena 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.
Oct 24 18:00:42 Athena 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.
Oct 24 18:00:43 Athena audit[12941]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12941/status" pid=12941 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:00:43 Athena audit[12941]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12941 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:00:43 Athena audit[12941]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12941/status" pid=12941 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:00:43 Athena kernel: audit: type=1400 audit(1508886043.015:1676): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12941/status" pid=12941 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:00:43 Athena kernel: audit: type=1400 audit(1508886043.015:1677): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=12941 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:00:43 Athena kernel: audit: type=1400 audit(1508886043.015:1678): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/12941/status" pid=12941 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:00:43 Athena mysqld[12941]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:00:43 Athena mysqld[12941]: 2017-10-24T23:00:43.023775Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:00:43 Athena mysqld[12941]: 2017-10-24T23:00:43.023874Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:00:43 Athena mysqld[12941]: 2017-10-24T23:00:43.156979Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:00:43 Athena mysqld[12941]: 2017-10-24T23:00:43.157031Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:00:43 Athena mysqld[12941]: 2017-10-24T23:00:43.157049Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 12941 ...
Oct 24 18:00:43 Athena mysqld[12941]: 2017-10-24T23:00:43.158693Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:00:43 Athena mysqld[12941]: 2017-10-24T23:00:43.158703Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:00:43 Athena mysqld[12941]: 2017-10-24T23:00:43.158725Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:00:43 Athena mysqld[12941]: 2017-10-24T23:00:43.158729Z 0 [ERROR] Aborting
Oct 24 18:00:43 Athena mysqld[12941]: 2017-10-24T23:00:43.158736Z 0 [Note] Binlog end
Oct 24 18:00:43 Athena mysqld[12941]: 2017-10-24T23:00:43.158792Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:00:43 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:01:13 Athena 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.
Oct 24 18:01:13 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:01:13 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:01:13 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:01:13 Athena 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.
Oct 24 18:01:13 Athena 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.
Oct 24 18:01:13 Athena audit[13021]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13021/status" pid=13021 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:01:13 Athena audit[13021]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13021 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:01:13 Athena audit[13021]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13021/status" pid=13021 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:01:13 Athena kernel: audit: type=1400 audit(1508886073.507:1679): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13021/status" pid=13021 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:01:13 Athena kernel: audit: type=1400 audit(1508886073.507:1680): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13021 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:01:13 Athena kernel: audit: type=1400 audit(1508886073.507:1681): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13021/status" pid=13021 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:01:13 Athena mysqld[13021]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:01:13 Athena mysqld[13021]: 2017-10-24T23:01:13.511267Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:01:13 Athena mysqld[13021]: 2017-10-24T23:01:13.511298Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:01:13 Athena mysqld[13021]: 2017-10-24T23:01:13.643712Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:01:13 Athena mysqld[13021]: 2017-10-24T23:01:13.643762Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:01:13 Athena mysqld[13021]: 2017-10-24T23:01:13.643780Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 13021 ...
Oct 24 18:01:13 Athena mysqld[13021]: 2017-10-24T23:01:13.645388Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:01:13 Athena mysqld[13021]: 2017-10-24T23:01:13.645397Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:01:13 Athena mysqld[13021]: 2017-10-24T23:01:13.645423Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:01:13 Athena mysqld[13021]: 2017-10-24T23:01:13.645426Z 0 [ERROR] Aborting
Oct 24 18:01:13 Athena mysqld[13021]: 2017-10-24T23:01:13.645432Z 0 [Note] Binlog end
Oct 24 18:01:13 Athena mysqld[13021]: 2017-10-24T23:01:13.645491Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:01:13 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:01:43 Athena 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.
Oct 24 18:01:43 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:01:43 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:01:43 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:01:43 Athena 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.
Oct 24 18:01:43 Athena 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.
Oct 24 18:01:44 Athena audit[13094]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13094/status" pid=13094 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:01:44 Athena kernel: audit: type=1400 audit(1508886104.007:1682): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13094/status" pid=13094 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:01:44 Athena kernel: audit: type=1400 audit(1508886104.007:1683): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13094 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:01:44 Athena kernel: audit: type=1400 audit(1508886104.011:1684): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13094/status" pid=13094 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:01:44 Athena audit[13094]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13094 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:01:44 Athena audit[13094]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13094/status" pid=13094 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:01:44 Athena mysqld[13094]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:01:44 Athena mysqld[13094]: 2017-10-24T23:01:44.016336Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:01:44 Athena mysqld[13094]: 2017-10-24T23:01:44.016438Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:01:44 Athena mysqld[13094]: 2017-10-24T23:01:44.156119Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:01:44 Athena mysqld[13094]: 2017-10-24T23:01:44.156170Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:01:44 Athena mysqld[13094]: 2017-10-24T23:01:44.156188Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 13094 ...
Oct 24 18:01:44 Athena mysqld[13094]: 2017-10-24T23:01:44.157790Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:01:44 Athena mysqld[13094]: 2017-10-24T23:01:44.157799Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:01:44 Athena mysqld[13094]: 2017-10-24T23:01:44.157825Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:01:44 Athena mysqld[13094]: 2017-10-24T23:01:44.157828Z 0 [ERROR] Aborting
Oct 24 18:01:44 Athena mysqld[13094]: 2017-10-24T23:01:44.157848Z 0 [Note] Binlog end
Oct 24 18:01:44 Athena mysqld[13094]: 2017-10-24T23:01:44.157894Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:01:44 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:02:14 Athena 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.
Oct 24 18:02:14 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:02:14 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:02:14 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:02:14 Athena 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.
Oct 24 18:02:14 Athena 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.
Oct 24 18:02:14 Athena audit[13167]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13167/status" pid=13167 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:02:14 Athena audit[13167]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13167 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:02:14 Athena audit[13167]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13167/status" pid=13167 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:02:14 Athena kernel: audit: type=1400 audit(1508886134.504:1685): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13167/status" pid=13167 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:02:14 Athena kernel: audit: type=1400 audit(1508886134.504:1686): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13167 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:02:14 Athena kernel: audit: type=1400 audit(1508886134.504:1687): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13167/status" pid=13167 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:02:14 Athena mysqld[13167]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:02:14 Athena mysqld[13167]: 2017-10-24T23:02:14.508157Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:02:14 Athena mysqld[13167]: 2017-10-24T23:02:14.508185Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:02:14 Athena mysqld[13167]: 2017-10-24T23:02:14.643928Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:02:14 Athena mysqld[13167]: 2017-10-24T23:02:14.643983Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:02:14 Athena mysqld[13167]: 2017-10-24T23:02:14.644002Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 13167 ...
Oct 24 18:02:14 Athena mysqld[13167]: 2017-10-24T23:02:14.645562Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:02:14 Athena mysqld[13167]: 2017-10-24T23:02:14.645572Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:02:14 Athena mysqld[13167]: 2017-10-24T23:02:14.645597Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:02:14 Athena mysqld[13167]: 2017-10-24T23:02:14.645600Z 0 [ERROR] Aborting
Oct 24 18:02:14 Athena mysqld[13167]: 2017-10-24T23:02:14.645619Z 0 [Note] Binlog end
Oct 24 18:02:14 Athena mysqld[13167]: 2017-10-24T23:02:14.645664Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:02:14 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:02:44 Athena 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.
Oct 24 18:02:44 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:02:44 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:02:44 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:02:44 Athena 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.
Oct 24 18:02:44 Athena 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.
Oct 24 18:02:45 Athena audit[13241]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13241/status" pid=13241 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:02:45 Athena kernel: audit: type=1400 audit(1508886165.008:1688): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13241/status" pid=13241 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:02:45 Athena kernel: audit: type=1400 audit(1508886165.012:1689): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13241 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:02:45 Athena kernel: audit: type=1400 audit(1508886165.012:1690): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13241/status" pid=13241 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:02:45 Athena audit[13241]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13241 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:02:45 Athena audit[13241]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13241/status" pid=13241 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:02:45 Athena mysqld[13241]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:02:45 Athena mysqld[13241]: 2017-10-24T23:02:45.016658Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:02:45 Athena mysqld[13241]: 2017-10-24T23:02:45.016760Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:02:45 Athena mysqld[13241]: 2017-10-24T23:02:45.155791Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:02:45 Athena mysqld[13241]: 2017-10-24T23:02:45.155845Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:02:45 Athena mysqld[13241]: 2017-10-24T23:02:45.155863Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 13241 ...
Oct 24 18:02:45 Athena mysqld[13241]: 2017-10-24T23:02:45.157432Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:02:45 Athena mysqld[13241]: 2017-10-24T23:02:45.157441Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:02:45 Athena mysqld[13241]: 2017-10-24T23:02:45.157464Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:02:45 Athena mysqld[13241]: 2017-10-24T23:02:45.157467Z 0 [ERROR] Aborting
Oct 24 18:02:45 Athena mysqld[13241]: 2017-10-24T23:02:45.157474Z 0 [Note] Binlog end
Oct 24 18:02:45 Athena mysqld[13241]: 2017-10-24T23:02:45.157515Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:02:45 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:03:15 Athena 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.
Oct 24 18:03:15 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:03:15 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:03:15 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:03:15 Athena 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.
Oct 24 18:03:15 Athena 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.
Oct 24 18:03:15 Athena audit[13320]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13320/status" pid=13320 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:03:15 Athena audit[13320]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13320 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:03:15 Athena audit[13320]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13320/status" pid=13320 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:03:15 Athena kernel: audit: type=1400 audit(1508886195.513:1691): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13320/status" pid=13320 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:03:15 Athena kernel: audit: type=1400 audit(1508886195.513:1692): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13320 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:03:15 Athena kernel: audit: type=1400 audit(1508886195.513:1693): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13320/status" pid=13320 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:03:15 Athena mysqld[13320]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:03:15 Athena mysqld[13320]: 2017-10-24T23:03:15.519590Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:03:15 Athena mysqld[13320]: 2017-10-24T23:03:15.519685Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:03:15 Athena mysqld[13320]: 2017-10-24T23:03:15.655067Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:03:15 Athena mysqld[13320]: 2017-10-24T23:03:15.655118Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:03:15 Athena mysqld[13320]: 2017-10-24T23:03:15.655135Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 13320 ...
Oct 24 18:03:15 Athena mysqld[13320]: 2017-10-24T23:03:15.656340Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:03:15 Athena mysqld[13320]: 2017-10-24T23:03:15.656348Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:03:15 Athena mysqld[13320]: 2017-10-24T23:03:15.656378Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:03:15 Athena mysqld[13320]: 2017-10-24T23:03:15.656381Z 0 [ERROR] Aborting
Oct 24 18:03:15 Athena mysqld[13320]: 2017-10-24T23:03:15.656387Z 0 [Note] Binlog end
Oct 24 18:03:15 Athena mysqld[13320]: 2017-10-24T23:03:15.656446Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:03:15 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:03:45 Athena 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.
Oct 24 18:03:45 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:03:45 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:03:45 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:03:45 Athena 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.
Oct 24 18:03:45 Athena 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.
Oct 24 18:03:46 Athena audit[13398]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13398/status" pid=13398 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:03:46 Athena audit[13398]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13398 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:03:46 Athena audit[13398]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13398/status" pid=13398 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:03:46 Athena kernel: audit: type=1400 audit(1508886226.009:1694): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13398/status" pid=13398 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:03:46 Athena kernel: audit: type=1400 audit(1508886226.009:1695): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13398 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:03:46 Athena kernel: audit: type=1400 audit(1508886226.009:1696): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13398/status" pid=13398 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:03:46 Athena mysqld[13398]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:03:46 Athena mysqld[13398]: 2017-10-24T23:03:46.018276Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:03:46 Athena mysqld[13398]: 2017-10-24T23:03:46.018380Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:03:46 Athena mysqld[13398]: 2017-10-24T23:03:46.155852Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:03:46 Athena mysqld[13398]: 2017-10-24T23:03:46.155907Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:03:46 Athena mysqld[13398]: 2017-10-24T23:03:46.155925Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 13398 ...
Oct 24 18:03:46 Athena mysqld[13398]: 2017-10-24T23:03:46.157165Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:03:46 Athena mysqld[13398]: 2017-10-24T23:03:46.157173Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:03:46 Athena mysqld[13398]: 2017-10-24T23:03:46.157198Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:03:46 Athena mysqld[13398]: 2017-10-24T23:03:46.157202Z 0 [ERROR] Aborting
Oct 24 18:03:46 Athena mysqld[13398]: 2017-10-24T23:03:46.157209Z 0 [Note] Binlog end
Oct 24 18:03:46 Athena mysqld[13398]: 2017-10-24T23:03:46.157251Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:03:46 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:04:16 Athena 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.
Oct 24 18:04:16 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:04:16 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:04:16 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:04:16 Athena 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.
Oct 24 18:04:16 Athena 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.
Oct 24 18:04:16 Athena audit[13471]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13471/status" pid=13471 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:04:16 Athena audit[13471]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13471 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:04:16 Athena audit[13471]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13471/status" pid=13471 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:04:16 Athena kernel: audit: type=1400 audit(1508886256.501:1697): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13471/status" pid=13471 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:04:16 Athena kernel: audit: type=1400 audit(1508886256.501:1698): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13471 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:04:16 Athena kernel: audit: type=1400 audit(1508886256.501:1699): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13471/status" pid=13471 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:04:16 Athena mysqld[13471]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:04:16 Athena mysqld[13471]: 2017-10-24T23:04:16.509317Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:04:16 Athena mysqld[13471]: 2017-10-24T23:04:16.509349Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:04:16 Athena mysqld[13471]: 2017-10-24T23:04:16.643327Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:04:16 Athena mysqld[13471]: 2017-10-24T23:04:16.643383Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:04:16 Athena mysqld[13471]: 2017-10-24T23:04:16.643400Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 13471 ...
Oct 24 18:04:16 Athena mysqld[13471]: 2017-10-24T23:04:16.644910Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:04:16 Athena mysqld[13471]: 2017-10-24T23:04:16.644919Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:04:16 Athena mysqld[13471]: 2017-10-24T23:04:16.644942Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:04:16 Athena mysqld[13471]: 2017-10-24T23:04:16.644946Z 0 [ERROR] Aborting
Oct 24 18:04:16 Athena mysqld[13471]: 2017-10-24T23:04:16.644951Z 0 [Note] Binlog end
Oct 24 18:04:16 Athena mysqld[13471]: 2017-10-24T23:04:16.645007Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:04:16 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:04:46 Athena 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.
Oct 24 18:04:46 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:04:46 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:04:46 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:04:46 Athena 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.
Oct 24 18:04:46 Athena 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.
Oct 24 18:04:46 Athena audit[13553]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13553/status" pid=13553 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:04:46 Athena audit[13553]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13553 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:04:46 Athena audit[13553]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13553/status" pid=13553 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:04:47 Athena kernel: audit: type=1400 audit(1508886286.994:1700): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13553/status" pid=13553 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:04:47 Athena kernel: audit: type=1400 audit(1508886286.994:1701): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13553 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:04:47 Athena kernel: audit: type=1400 audit(1508886286.994:1702): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13553/status" pid=13553 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:04:47 Athena mysqld[13553]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:04:47 Athena mysqld[13553]: 2017-10-24T23:04:47.001010Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:04:47 Athena mysqld[13553]: 2017-10-24T23:04:47.001039Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:04:47 Athena mysqld[13553]: 2017-10-24T23:04:47.135314Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:04:47 Athena mysqld[13553]: 2017-10-24T23:04:47.135367Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:04:47 Athena mysqld[13553]: 2017-10-24T23:04:47.135385Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 13553 ...
Oct 24 18:04:47 Athena mysqld[13553]: 2017-10-24T23:04:47.136896Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:04:47 Athena mysqld[13553]: 2017-10-24T23:04:47.136906Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:04:47 Athena mysqld[13553]: 2017-10-24T23:04:47.136931Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:04:47 Athena mysqld[13553]: 2017-10-24T23:04:47.136934Z 0 [ERROR] Aborting
Oct 24 18:04:47 Athena mysqld[13553]: 2017-10-24T23:04:47.136960Z 0 [Note] Binlog end
Oct 24 18:04:47 Athena mysqld[13553]: 2017-10-24T23:04:47.137004Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:04:47 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:05:17 Athena 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.
Oct 24 18:05:17 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:05:17 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:05:17 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:05:17 Athena 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.
Oct 24 18:05:17 Athena 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.
Oct 24 18:05:17 Athena audit[13626]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13626/status" pid=13626 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:05:17 Athena audit[13626]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13626 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:05:17 Athena audit[13626]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13626/status" pid=13626 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:05:17 Athena kernel: audit: type=1400 audit(1508886317.498:1703): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13626/status" pid=13626 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:05:17 Athena kernel: audit: type=1400 audit(1508886317.498:1704): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13626 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:05:17 Athena kernel: audit: type=1400 audit(1508886317.498:1705): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13626/status" pid=13626 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:05:17 Athena mysqld[13626]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:05:17 Athena mysqld[13626]: 2017-10-24T23:05:17.502941Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:05:17 Athena mysqld[13626]: 2017-10-24T23:05:17.502994Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:05:17 Athena mysqld[13626]: 2017-10-24T23:05:17.635073Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:05:17 Athena mysqld[13626]: 2017-10-24T23:05:17.635123Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:05:17 Athena mysqld[13626]: 2017-10-24T23:05:17.635141Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 13626 ...
Oct 24 18:05:17 Athena mysqld[13626]: 2017-10-24T23:05:17.636347Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:05:17 Athena mysqld[13626]: 2017-10-24T23:05:17.636355Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:05:17 Athena mysqld[13626]: 2017-10-24T23:05:17.636384Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:05:17 Athena mysqld[13626]: 2017-10-24T23:05:17.636387Z 0 [ERROR] Aborting
Oct 24 18:05:17 Athena mysqld[13626]: 2017-10-24T23:05:17.636393Z 0 [Note] Binlog end
Oct 24 18:05:17 Athena mysqld[13626]: 2017-10-24T23:05:17.636453Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:05:17 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:05:47 Athena 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.
Oct 24 18:05:47 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:05:47 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:05:47 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:05:47 Athena 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.
Oct 24 18:05:47 Athena 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.
Oct 24 18:05:48 Athena audit[13704]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13704/status" pid=13704 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:05:48 Athena audit[13704]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13704 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:05:48 Athena audit[13704]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13704/status" pid=13704 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:05:48 Athena kernel: audit: type=1400 audit(1508886348.006:1706): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13704/status" pid=13704 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:05:48 Athena kernel: audit: type=1400 audit(1508886348.006:1707): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13704 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:05:48 Athena kernel: audit: type=1400 audit(1508886348.006:1708): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13704/status" pid=13704 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:05:48 Athena mysqld[13704]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:05:48 Athena mysqld[13704]: 2017-10-24T23:05:48.011327Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:05:48 Athena mysqld[13704]: 2017-10-24T23:05:48.011356Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:05:48 Athena mysqld[13704]: 2017-10-24T23:05:48.143564Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:05:48 Athena mysqld[13704]: 2017-10-24T23:05:48.143695Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:05:48 Athena mysqld[13704]: 2017-10-24T23:05:48.143724Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 13704 ...
Oct 24 18:05:48 Athena mysqld[13704]: 2017-10-24T23:05:48.145016Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:05:48 Athena mysqld[13704]: 2017-10-24T23:05:48.145026Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:05:48 Athena mysqld[13704]: 2017-10-24T23:05:48.145046Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:05:48 Athena mysqld[13704]: 2017-10-24T23:05:48.145049Z 0 [ERROR] Aborting
Oct 24 18:05:48 Athena mysqld[13704]: 2017-10-24T23:05:48.145055Z 0 [Note] Binlog end
Oct 24 18:05:48 Athena mysqld[13704]: 2017-10-24T23:05:48.145093Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:05:48 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:06:18 Athena 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.
Oct 24 18:06:18 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:06:18 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:06:18 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:06:18 Athena 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.
Oct 24 18:06:18 Athena 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.
Oct 24 18:06:18 Athena audit[13783]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13783/status" pid=13783 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:06:18 Athena audit[13783]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13783 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:06:18 Athena audit[13783]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13783/status" pid=13783 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:06:18 Athena kernel: audit: type=1400 audit(1508886378.515:1709): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13783/status" pid=13783 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:06:18 Athena kernel: audit: type=1400 audit(1508886378.515:1710): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13783 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:06:18 Athena kernel: audit: type=1400 audit(1508886378.515:1711): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13783/status" pid=13783 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:06:18 Athena mysqld[13783]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:06:18 Athena mysqld[13783]: 2017-10-24T23:06:18.522076Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:06:18 Athena mysqld[13783]: 2017-10-24T23:06:18.522152Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:06:18 Athena mysqld[13783]: 2017-10-24T23:06:18.656146Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:06:18 Athena mysqld[13783]: 2017-10-24T23:06:18.656202Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:06:18 Athena mysqld[13783]: 2017-10-24T23:06:18.656220Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 13783 ...
Oct 24 18:06:18 Athena mysqld[13783]: 2017-10-24T23:06:18.657471Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:06:18 Athena mysqld[13783]: 2017-10-24T23:06:18.657480Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:06:18 Athena mysqld[13783]: 2017-10-24T23:06:18.657506Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:06:18 Athena mysqld[13783]: 2017-10-24T23:06:18.657510Z 0 [ERROR] Aborting
Oct 24 18:06:18 Athena mysqld[13783]: 2017-10-24T23:06:18.657517Z 0 [Note] Binlog end
Oct 24 18:06:18 Athena mysqld[13783]: 2017-10-24T23:06:18.657563Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:06:18 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:06:48 Athena 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.
Oct 24 18:06:48 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:06:48 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:06:48 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:06:48 Athena 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.
Oct 24 18:06:48 Athena 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.
Oct 24 18:06:48 Athena audit[13861]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13861/status" pid=13861 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:06:48 Athena audit[13861]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13861 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:06:48 Athena audit[13861]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13861/status" pid=13861 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:06:48 Athena kernel: audit: type=1400 audit(1508886408.763:1712): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13861/status" pid=13861 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:06:48 Athena kernel: audit: type=1400 audit(1508886408.763:1713): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13861 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:06:48 Athena kernel: audit: type=1400 audit(1508886408.763:1714): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13861/status" pid=13861 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:06:48 Athena mysqld[13861]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:06:48 Athena mysqld[13861]: 2017-10-24T23:06:48.770563Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:06:48 Athena mysqld[13861]: 2017-10-24T23:06:48.770616Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:06:48 Athena mysqld[13861]: 2017-10-24T23:06:48.903743Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:06:48 Athena mysqld[13861]: 2017-10-24T23:06:48.903795Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:06:48 Athena mysqld[13861]: 2017-10-24T23:06:48.903813Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 13861 ...
Oct 24 18:06:48 Athena mysqld[13861]: 2017-10-24T23:06:48.905018Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:06:48 Athena mysqld[13861]: 2017-10-24T23:06:48.905027Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:06:48 Athena mysqld[13861]: 2017-10-24T23:06:48.905054Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:06:48 Athena mysqld[13861]: 2017-10-24T23:06:48.905057Z 0 [ERROR] Aborting
Oct 24 18:06:48 Athena mysqld[13861]: 2017-10-24T23:06:48.905062Z 0 [Note] Binlog end
Oct 24 18:06:48 Athena mysqld[13861]: 2017-10-24T23:06:48.905121Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:06:48 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:07:18 Athena 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.
Oct 24 18:07:18 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:07:18 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:07:19 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:07:19 Athena 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.
Oct 24 18:07:19 Athena 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.
Oct 24 18:07:19 Athena audit[13934]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13934/status" pid=13934 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:07:19 Athena audit[13934]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13934 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:07:19 Athena audit[13934]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13934/status" pid=13934 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:07:19 Athena kernel: audit: type=1400 audit(1508886439.267:1715): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13934/status" pid=13934 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:07:19 Athena kernel: audit: type=1400 audit(1508886439.267:1716): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=13934 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:07:19 Athena kernel: audit: type=1400 audit(1508886439.267:1717): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/13934/status" pid=13934 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:07:19 Athena mysqld[13934]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:07:19 Athena mysqld[13934]: 2017-10-24T23:07:19.275719Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:07:19 Athena mysqld[13934]: 2017-10-24T23:07:19.275801Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:07:19 Athena mysqld[13934]: 2017-10-24T23:07:19.415607Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:07:19 Athena mysqld[13934]: 2017-10-24T23:07:19.415660Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:07:19 Athena mysqld[13934]: 2017-10-24T23:07:19.415678Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 13934 ...
Oct 24 18:07:19 Athena mysqld[13934]: 2017-10-24T23:07:19.416881Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:07:19 Athena mysqld[13934]: 2017-10-24T23:07:19.416890Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:07:19 Athena mysqld[13934]: 2017-10-24T23:07:19.416913Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:07:19 Athena mysqld[13934]: 2017-10-24T23:07:19.416916Z 0 [ERROR] Aborting
Oct 24 18:07:19 Athena mysqld[13934]: 2017-10-24T23:07:19.416923Z 0 [Note] Binlog end
Oct 24 18:07:19 Athena mysqld[13934]: 2017-10-24T23:07:19.416979Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:07:19 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:07:49 Athena 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.
Oct 24 18:07:49 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:07:49 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:07:49 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:07:49 Athena 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.
Oct 24 18:07:49 Athena 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.
Oct 24 18:07:49 Athena audit[14008]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14008/status" pid=14008 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:07:49 Athena audit[14008]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14008 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:07:49 Athena audit[14008]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14008/status" pid=14008 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:07:49 Athena kernel: audit: type=1400 audit(1508886469.768:1718): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14008/status" pid=14008 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:07:49 Athena kernel: audit: type=1400 audit(1508886469.768:1719): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14008 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:07:49 Athena kernel: audit: type=1400 audit(1508886469.768:1720): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14008/status" pid=14008 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:07:49 Athena mysqld[14008]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:07:49 Athena mysqld[14008]: 2017-10-24T23:07:49.774085Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:07:49 Athena mysqld[14008]: 2017-10-24T23:07:49.774190Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:07:49 Athena mysqld[14008]: 2017-10-24T23:07:49.916029Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:07:49 Athena mysqld[14008]: 2017-10-24T23:07:49.916093Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:07:49 Athena mysqld[14008]: 2017-10-24T23:07:49.916111Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 14008 ...
Oct 24 18:07:49 Athena mysqld[14008]: 2017-10-24T23:07:49.917460Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:07:49 Athena mysqld[14008]: 2017-10-24T23:07:49.917470Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:07:49 Athena mysqld[14008]: 2017-10-24T23:07:49.917493Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:07:49 Athena mysqld[14008]: 2017-10-24T23:07:49.917496Z 0 [ERROR] Aborting
Oct 24 18:07:49 Athena mysqld[14008]: 2017-10-24T23:07:49.917503Z 0 [Note] Binlog end
Oct 24 18:07:49 Athena mysqld[14008]: 2017-10-24T23:07:49.917560Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:07:49 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:08:19 Athena 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.
Oct 24 18:08:19 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:08:19 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:08:20 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:08:20 Athena 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.
Oct 24 18:08:20 Athena 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.
Oct 24 18:08:20 Athena audit[14085]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14085/status" pid=14085 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:08:20 Athena audit[14085]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14085 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:08:20 Athena audit[14085]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14085/status" pid=14085 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:08:20 Athena kernel: audit: type=1400 audit(1508886500.268:1721): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14085/status" pid=14085 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:08:20 Athena kernel: audit: type=1400 audit(1508886500.268:1722): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14085 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:08:20 Athena kernel: audit: type=1400 audit(1508886500.268:1723): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14085/status" pid=14085 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:08:20 Athena mysqld[14085]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:08:20 Athena mysqld[14085]: 2017-10-24T23:08:20.273249Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:08:20 Athena mysqld[14085]: 2017-10-24T23:08:20.273571Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:08:20 Athena mysqld[14085]: 2017-10-24T23:08:20.416001Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:08:20 Athena mysqld[14085]: 2017-10-24T23:08:20.416055Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:08:20 Athena mysqld[14085]: 2017-10-24T23:08:20.416073Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 14085 ...
Oct 24 18:08:20 Athena mysqld[14085]: 2017-10-24T23:08:20.417325Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:08:20 Athena mysqld[14085]: 2017-10-24T23:08:20.417334Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:08:20 Athena mysqld[14085]: 2017-10-24T23:08:20.417360Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:08:20 Athena mysqld[14085]: 2017-10-24T23:08:20.417364Z 0 [ERROR] Aborting
Oct 24 18:08:20 Athena mysqld[14085]: 2017-10-24T23:08:20.417369Z 0 [Note] Binlog end
Oct 24 18:08:20 Athena mysqld[14085]: 2017-10-24T23:08:20.417410Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:08:20 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:08:50 Athena 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.
Oct 24 18:08:50 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:08:50 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:08:50 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:08:50 Athena 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.
Oct 24 18:08:50 Athena 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.
Oct 24 18:08:50 Athena audit[14159]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14159/status" pid=14159 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:08:50 Athena audit[14159]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14159 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:08:50 Athena audit[14159]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14159/status" pid=14159 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:08:50 Athena kernel: audit: type=1400 audit(1508886530.768:1724): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14159/status" pid=14159 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:08:50 Athena kernel: audit: type=1400 audit(1508886530.768:1725): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14159 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:08:50 Athena kernel: audit: type=1400 audit(1508886530.768:1726): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14159/status" pid=14159 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:08:50 Athena mysqld[14159]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:08:50 Athena mysqld[14159]: 2017-10-24T23:08:50.773623Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:08:50 Athena mysqld[14159]: 2017-10-24T23:08:50.773717Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:08:50 Athena mysqld[14159]: 2017-10-24T23:08:50.915976Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:08:50 Athena mysqld[14159]: 2017-10-24T23:08:50.916026Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:08:50 Athena mysqld[14159]: 2017-10-24T23:08:50.916045Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 14159 ...
Oct 24 18:08:50 Athena mysqld[14159]: 2017-10-24T23:08:50.917249Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:08:50 Athena mysqld[14159]: 2017-10-24T23:08:50.917257Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:08:50 Athena mysqld[14159]: 2017-10-24T23:08:50.917328Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:08:50 Athena mysqld[14159]: 2017-10-24T23:08:50.917332Z 0 [ERROR] Aborting
Oct 24 18:08:50 Athena mysqld[14159]: 2017-10-24T23:08:50.917351Z 0 [Note] Binlog end
Oct 24 18:08:50 Athena mysqld[14159]: 2017-10-24T23:08:50.917395Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:08:50 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:09:01 Athena CRON[14184]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 24 18:09:01 Athena CRON[14185]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
Oct 24 18:09:01 Athena CRON[14184]: pam_unix(cron:session): session closed for user root
Oct 24 18:09:20 Athena 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.
Oct 24 18:09:20 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:09:20 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:09:21 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:09:21 Athena 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.
Oct 24 18:09:21 Athena 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.
Oct 24 18:09:21 Athena audit[14275]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14275/status" pid=14275 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:09:21 Athena audit[14275]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14275 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:09:21 Athena audit[14275]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14275/status" pid=14275 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:09:21 Athena kernel: audit: type=1400 audit(1508886561.249:1727): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14275/status" pid=14275 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:09:21 Athena kernel: audit: type=1400 audit(1508886561.249:1728): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14275 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:09:21 Athena kernel: audit: type=1400 audit(1508886561.249:1729): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14275/status" pid=14275 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:09:21 Athena mysqld[14275]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:09:21 Athena mysqld[14275]: 2017-10-24T23:09:21.258005Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:09:21 Athena mysqld[14275]: 2017-10-24T23:09:21.258039Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:09:21 Athena mysqld[14275]: 2017-10-24T23:09:21.396418Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:09:21 Athena mysqld[14275]: 2017-10-24T23:09:21.396474Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:09:21 Athena mysqld[14275]: 2017-10-24T23:09:21.396493Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 14275 ...
Oct 24 18:09:21 Athena mysqld[14275]: 2017-10-24T23:09:21.397816Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:09:21 Athena mysqld[14275]: 2017-10-24T23:09:21.397825Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:09:21 Athena mysqld[14275]: 2017-10-24T23:09:21.397847Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:09:21 Athena mysqld[14275]: 2017-10-24T23:09:21.397851Z 0 [ERROR] Aborting
Oct 24 18:09:21 Athena mysqld[14275]: 2017-10-24T23:09:21.397857Z 0 [Note] Binlog end
Oct 24 18:09:21 Athena mysqld[14275]: 2017-10-24T23:09:21.397914Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:09:21 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:09:43 Athena mate-screensaver-dialog[14314]: pam_ecryptfs: seteuid error
Oct 24 18:09:43 Athena mate-screensaver-dialog[14314]: gkr-pam: unlocked login keyring
Oct 24 18:09:51 Athena 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.
Oct 24 18:09:51 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:09:51 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:09:51 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:09:51 Athena 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.
Oct 24 18:09:51 Athena 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.
Oct 24 18:09:51 Athena audit[14373]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14373/status" pid=14373 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:09:51 Athena audit[14373]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14373 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:09:51 Athena audit[14373]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14373/status" pid=14373 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:09:51 Athena kernel: audit: type=1400 audit(1508886591.769:1730): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14373/status" pid=14373 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:09:51 Athena kernel: audit: type=1400 audit(1508886591.769:1731): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14373 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:09:51 Athena kernel: audit: type=1400 audit(1508886591.769:1732): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14373/status" pid=14373 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:09:51 Athena mysqld[14373]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:09:51 Athena mysqld[14373]: 2017-10-24T23:09:51.776810Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:09:51 Athena mysqld[14373]: 2017-10-24T23:09:51.776911Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:09:51 Athena mysqld[14373]: 2017-10-24T23:09:51.922403Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:09:51 Athena mysqld[14373]: 2017-10-24T23:09:51.922464Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:09:51 Athena mysqld[14373]: 2017-10-24T23:09:51.922482Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 14373 ...
Oct 24 18:09:51 Athena mysqld[14373]: 2017-10-24T23:09:51.924091Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:09:51 Athena mysqld[14373]: 2017-10-24T23:09:51.924109Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:09:51 Athena mysqld[14373]: 2017-10-24T23:09:51.924139Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:09:51 Athena mysqld[14373]: 2017-10-24T23:09:51.924143Z 0 [ERROR] Aborting
Oct 24 18:09:51 Athena mysqld[14373]: 2017-10-24T23:09:51.924151Z 0 [Note] Binlog end
Oct 24 18:09:51 Athena mysqld[14373]: 2017-10-24T23:09:51.924211Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:09:51 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:10:21 Athena 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.
Oct 24 18:10:21 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:10:21 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:10:22 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:10:22 Athena 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.
Oct 24 18:10:22 Athena 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.
Oct 24 18:10:22 Athena audit[14463]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14463/status" pid=14463 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:10:22 Athena audit[14463]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14463 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:10:22 Athena audit[14463]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14463/status" pid=14463 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:10:22 Athena kernel: audit: type=1400 audit(1508886622.278:1733): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14463/status" pid=14463 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:10:22 Athena kernel: audit: type=1400 audit(1508886622.278:1734): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14463 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:10:22 Athena kernel: audit: type=1400 audit(1508886622.278:1735): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14463/status" pid=14463 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:10:22 Athena mysqld[14463]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:10:22 Athena mysqld[14463]: 2017-10-24T23:10:22.285406Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:10:22 Athena mysqld[14463]: 2017-10-24T23:10:22.285511Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:10:22 Athena mysqld[14463]: 2017-10-24T23:10:22.418480Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:10:22 Athena mysqld[14463]: 2017-10-24T23:10:22.418537Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:10:22 Athena mysqld[14463]: 2017-10-24T23:10:22.418556Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 14463 ...
Oct 24 18:10:22 Athena mysqld[14463]: 2017-10-24T23:10:22.420598Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:10:22 Athena mysqld[14463]: 2017-10-24T23:10:22.420612Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:10:22 Athena mysqld[14463]: 2017-10-24T23:10:22.420639Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:10:22 Athena mysqld[14463]: 2017-10-24T23:10:22.420642Z 0 [ERROR] Aborting
Oct 24 18:10:22 Athena mysqld[14463]: 2017-10-24T23:10:22.420651Z 0 [Note] Binlog end
Oct 24 18:10:22 Athena mysqld[14463]: 2017-10-24T23:10:22.420705Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:10:22 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:10:52 Athena 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.
Oct 24 18:10:52 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:10:52 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:10:52 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:10:52 Athena 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.
Oct 24 18:10:52 Athena 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.
Oct 24 18:10:52 Athena audit[14538]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14538/status" pid=14538 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:10:52 Athena audit[14538]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14538 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:10:52 Athena audit[14538]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14538/status" pid=14538 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:10:52 Athena kernel: audit: type=1400 audit(1508886652.762:1736): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14538/status" pid=14538 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:10:52 Athena kernel: audit: type=1400 audit(1508886652.762:1737): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14538 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:10:52 Athena kernel: audit: type=1400 audit(1508886652.762:1738): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14538/status" pid=14538 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:10:52 Athena mysqld[14538]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:10:52 Athena mysqld[14538]: 2017-10-24T23:10:52.767534Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:10:52 Athena mysqld[14538]: 2017-10-24T23:10:52.767562Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:10:52 Athena mysqld[14538]: 2017-10-24T23:10:52.903312Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:10:52 Athena mysqld[14538]: 2017-10-24T23:10:52.903362Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:10:52 Athena mysqld[14538]: 2017-10-24T23:10:52.903381Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 14538 ...
Oct 24 18:10:52 Athena mysqld[14538]: 2017-10-24T23:10:52.904903Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:10:52 Athena mysqld[14538]: 2017-10-24T23:10:52.904912Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:10:52 Athena mysqld[14538]: 2017-10-24T23:10:52.904941Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:10:52 Athena mysqld[14538]: 2017-10-24T23:10:52.904944Z 0 [ERROR] Aborting
Oct 24 18:10:52 Athena mysqld[14538]: 2017-10-24T23:10:52.904950Z 0 [Note] Binlog end
Oct 24 18:10:52 Athena mysqld[14538]: 2017-10-24T23:10:52.905013Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:10:52 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:11:22 Athena 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.
Oct 24 18:11:22 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:11:22 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:11:23 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:11:23 Athena 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.
Oct 24 18:11:23 Athena 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.
Oct 24 18:11:23 Athena audit[14621]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14621/status" pid=14621 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:11:23 Athena audit[14621]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14621 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:11:23 Athena audit[14621]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14621/status" pid=14621 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:11:23 Athena kernel: audit: type=1400 audit(1508886683.270:1739): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14621/status" pid=14621 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:11:23 Athena kernel: audit: type=1400 audit(1508886683.270:1740): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14621 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:11:23 Athena kernel: audit: type=1400 audit(1508886683.270:1741): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14621/status" pid=14621 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:11:23 Athena mysqld[14621]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:11:23 Athena mysqld[14621]: 2017-10-24T23:11:23.278983Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:11:23 Athena mysqld[14621]: 2017-10-24T23:11:23.279087Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:11:23 Athena mysqld[14621]: 2017-10-24T23:11:23.415069Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:11:23 Athena mysqld[14621]: 2017-10-24T23:11:23.415121Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:11:23 Athena mysqld[14621]: 2017-10-24T23:11:23.415138Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 14621 ...
Oct 24 18:11:23 Athena mysqld[14621]: 2017-10-24T23:11:23.416343Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:11:23 Athena mysqld[14621]: 2017-10-24T23:11:23.416351Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:11:23 Athena mysqld[14621]: 2017-10-24T23:11:23.416381Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:11:23 Athena mysqld[14621]: 2017-10-24T23:11:23.416384Z 0 [ERROR] Aborting
Oct 24 18:11:23 Athena mysqld[14621]: 2017-10-24T23:11:23.416390Z 0 [Note] Binlog end
Oct 24 18:11:23 Athena mysqld[14621]: 2017-10-24T23:11:23.416449Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:11:23 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:11:35 Athena dbus[858]: [system] Activating service name='org.freedesktop.SystemToolsBackends' (using servicehelper)
Oct 24 18:11:35 Athena dbus[858]: [system] Successfully activated service 'org.freedesktop.SystemToolsBackends'
Oct 24 18:11:35 Athena dbus[858]: [system] Activating service name='org.freedesktop.SystemToolsBackends.Platform' (using servicehelper)
Oct 24 18:11:35 Athena dbus[858]: [system] Successfully activated service 'org.freedesktop.SystemToolsBackends.Platform'
Oct 24 18:11:35 Athena dbus[858]: [system] Activating service name='org.freedesktop.SystemToolsBackends.UsersConfig2' (using servicehelper)
Oct 24 18:11:35 Athena dbus[858]: [system] Activating service name='org.freedesktop.SystemToolsBackends.GroupsConfig2' (using servicehelper)
Oct 24 18:11:35 Athena dbus[858]: [system] Activating service name='org.freedesktop.SystemToolsBackends.SelfConfig2' (using servicehelper)
Oct 24 18:11:35 Athena org.mate.panel.applet.MintMenuAppletFactory[1822]: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Oct 24 18:11:35 Athena dbus[858]: [system] Successfully activated service 'org.freedesktop.SystemToolsBackends.SelfConfig2'
Oct 24 18:11:35 Athena dbus[858]: [system] Successfully activated service 'org.freedesktop.SystemToolsBackends.UsersConfig2'
Oct 24 18:11:35 Athena dbus[858]: [system] Successfully activated service 'org.freedesktop.SystemToolsBackends.GroupsConfig2'
Oct 24 18:11:53 Athena 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.
Oct 24 18:11:53 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:11:53 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:11:53 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:11:53 Athena 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.
Oct 24 18:11:53 Athena 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.
Oct 24 18:11:53 Athena audit[14901]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14901/status" pid=14901 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:11:53 Athena audit[14901]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14901 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:11:53 Athena audit[14901]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14901/status" pid=14901 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:11:53 Athena kernel: audit: type=1400 audit(1508886713.771:1742): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14901/status" pid=14901 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:11:53 Athena kernel: audit: type=1400 audit(1508886713.771:1743): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14901 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:11:53 Athena kernel: audit: type=1400 audit(1508886713.771:1744): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14901/status" pid=14901 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:11:53 Athena mysqld[14901]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:11:53 Athena mysqld[14901]: 2017-10-24T23:11:53.777899Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:11:53 Athena mysqld[14901]: 2017-10-24T23:11:53.777996Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:11:53 Athena mysqld[14901]: 2017-10-24T23:11:53.915196Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:11:53 Athena mysqld[14901]: 2017-10-24T23:11:53.915249Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:11:53 Athena mysqld[14901]: 2017-10-24T23:11:53.915267Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 14901 ...
Oct 24 18:11:53 Athena mysqld[14901]: 2017-10-24T23:11:53.916794Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:11:53 Athena mysqld[14901]: 2017-10-24T23:11:53.916803Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:11:53 Athena mysqld[14901]: 2017-10-24T23:11:53.916833Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:11:53 Athena mysqld[14901]: 2017-10-24T23:11:53.916836Z 0 [ERROR] Aborting
Oct 24 18:11:53 Athena mysqld[14901]: 2017-10-24T23:11:53.916842Z 0 [Note] Binlog end
Oct 24 18:11:53 Athena mysqld[14901]: 2017-10-24T23:11:53.916902Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:11:53 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:12:23 Athena 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.
Oct 24 18:12:23 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:12:23 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:12:24 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:12:24 Athena 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.
Oct 24 18:12:24 Athena 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.
Oct 24 18:12:24 Athena audit[14995]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14995/status" pid=14995 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:12:24 Athena audit[14995]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14995 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:12:24 Athena audit[14995]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14995/status" pid=14995 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:12:24 Athena kernel: audit: type=1400 audit(1508886744.267:1745): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14995/status" pid=14995 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:12:24 Athena kernel: audit: type=1400 audit(1508886744.267:1746): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=14995 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:12:24 Athena kernel: audit: type=1400 audit(1508886744.267:1747): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/14995/status" pid=14995 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:12:24 Athena mysqld[14995]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:12:24 Athena mysqld[14995]: 2017-10-24T23:12:24.271772Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:12:24 Athena mysqld[14995]: 2017-10-24T23:12:24.271799Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:12:24 Athena mysqld[14995]: 2017-10-24T23:12:24.402925Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:12:24 Athena mysqld[14995]: 2017-10-24T23:12:24.402977Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:12:24 Athena mysqld[14995]: 2017-10-24T23:12:24.402995Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 14995 ...
Oct 24 18:12:24 Athena mysqld[14995]: 2017-10-24T23:12:24.404189Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:12:24 Athena mysqld[14995]: 2017-10-24T23:12:24.404198Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:12:24 Athena mysqld[14995]: 2017-10-24T23:12:24.404225Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:12:24 Athena mysqld[14995]: 2017-10-24T23:12:24.404228Z 0 [ERROR] Aborting
Oct 24 18:12:24 Athena mysqld[14995]: 2017-10-24T23:12:24.404235Z 0 [Note] Binlog end
Oct 24 18:12:24 Athena mysqld[14995]: 2017-10-24T23:12:24.404293Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:12:24 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:12:32 Athena sudo[15006]:   correy : TTY=pts/0 ; PWD=/home/correy ; USER=root ; COMMAND=/bin/chown correy -R /var/www/html
Oct 24 18:12:32 Athena sudo[15006]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 24 18:12:32 Athena sudo[15006]: pam_unix(sudo:session): session closed for user root
Oct 24 18:12:35 Athena sudo[15025]:   correy : TTY=pts/0 ; PWD=/home/correy ; USER=root ; COMMAND=/bin/systemctl start mysql
Oct 24 18:12:35 Athena sudo[15025]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 24 18:12:54 Athena 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.
Oct 24 18:12:54 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:12:54 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:12:54 Athena sudo[15025]: pam_unix(sudo:session): session closed for user root
Oct 24 18:12:54 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:12:54 Athena 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.
Oct 24 18:12:54 Athena 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.
Oct 24 18:12:54 Athena audit[15074]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15074/status" pid=15074 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:12:54 Athena audit[15074]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15074 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:12:54 Athena audit[15074]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15074/status" pid=15074 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:12:54 Athena kernel: audit: type=1400 audit(1508886774.767:1748): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15074/status" pid=15074 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:12:54 Athena kernel: audit: type=1400 audit(1508886774.767:1749): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15074 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:12:54 Athena kernel: audit: type=1400 audit(1508886774.767:1750): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15074/status" pid=15074 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:12:54 Athena mysqld[15074]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:12:54 Athena mysqld[15074]: 2017-10-24T23:12:54.771335Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:12:54 Athena mysqld[15074]: 2017-10-24T23:12:54.771360Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:12:54 Athena mysqld[15074]: 2017-10-24T23:12:54.915030Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:12:54 Athena mysqld[15074]: 2017-10-24T23:12:54.915085Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:12:54 Athena mysqld[15074]: 2017-10-24T23:12:54.915103Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 15074 ...
Oct 24 18:12:54 Athena mysqld[15074]: 2017-10-24T23:12:54.916604Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:12:54 Athena mysqld[15074]: 2017-10-24T23:12:54.916613Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:12:54 Athena mysqld[15074]: 2017-10-24T23:12:54.916638Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:12:54 Athena mysqld[15074]: 2017-10-24T23:12:54.916641Z 0 [ERROR] Aborting
Oct 24 18:12:54 Athena mysqld[15074]: 2017-10-24T23:12:54.916647Z 0 [Note] Binlog end
Oct 24 18:12:54 Athena mysqld[15074]: 2017-10-24T23:12:54.916708Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:12:54 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:13:24 Athena 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.
Oct 24 18:13:24 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:13:24 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:13:25 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:13:25 Athena 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.
Oct 24 18:13:25 Athena 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.
Oct 24 18:13:25 Athena audit[15156]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15156/status" pid=15156 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:13:25 Athena audit[15156]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15156 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:13:25 Athena audit[15156]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15156/status" pid=15156 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:13:25 Athena kernel: audit: type=1400 audit(1508886805.268:1751): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15156/status" pid=15156 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:13:25 Athena kernel: audit: type=1400 audit(1508886805.268:1752): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15156 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:13:25 Athena kernel: audit: type=1400 audit(1508886805.268:1753): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15156/status" pid=15156 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:13:25 Athena mysqld[15156]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:13:25 Athena mysqld[15156]: 2017-10-24T23:13:25.272154Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:13:25 Athena mysqld[15156]: 2017-10-24T23:13:25.272182Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:13:25 Athena mysqld[15156]: 2017-10-24T23:13:25.414899Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:13:25 Athena mysqld[15156]: 2017-10-24T23:13:25.414956Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:13:25 Athena mysqld[15156]: 2017-10-24T23:13:25.414974Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 15156 ...
Oct 24 18:13:25 Athena mysqld[15156]: 2017-10-24T23:13:25.416455Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:13:25 Athena mysqld[15156]: 2017-10-24T23:13:25.416463Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:13:25 Athena mysqld[15156]: 2017-10-24T23:13:25.416491Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:13:25 Athena mysqld[15156]: 2017-10-24T23:13:25.416494Z 0 [ERROR] Aborting
Oct 24 18:13:25 Athena mysqld[15156]: 2017-10-24T23:13:25.416499Z 0 [Note] Binlog end
Oct 24 18:13:25 Athena mysqld[15156]: 2017-10-24T23:13:25.416557Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:13:25 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:13:55 Athena 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.
Oct 24 18:13:55 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:13:55 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:13:55 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:13:55 Athena 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.
Oct 24 18:13:55 Athena 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.
Oct 24 18:13:55 Athena audit[15230]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15230/status" pid=15230 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:13:55 Athena audit[15230]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15230 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:13:55 Athena audit[15230]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15230/status" pid=15230 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:13:55 Athena kernel: audit: type=1400 audit(1508886835.764:1754): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15230/status" pid=15230 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:13:55 Athena kernel: audit: type=1400 audit(1508886835.764:1755): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15230 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:13:55 Athena kernel: audit: type=1400 audit(1508886835.764:1756): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15230/status" pid=15230 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:13:55 Athena mysqld[15230]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:13:55 Athena mysqld[15230]: 2017-10-24T23:13:55.768243Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:13:55 Athena mysqld[15230]: 2017-10-24T23:13:55.768268Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:13:55 Athena mysqld[15230]: 2017-10-24T23:13:55.902327Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:13:55 Athena mysqld[15230]: 2017-10-24T23:13:55.902381Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:13:55 Athena mysqld[15230]: 2017-10-24T23:13:55.902399Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 15230 ...
Oct 24 18:13:55 Athena mysqld[15230]: 2017-10-24T23:13:55.903876Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:13:55 Athena mysqld[15230]: 2017-10-24T23:13:55.903885Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:13:55 Athena mysqld[15230]: 2017-10-24T23:13:55.903914Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:13:55 Athena mysqld[15230]: 2017-10-24T23:13:55.903917Z 0 [ERROR] Aborting
Oct 24 18:13:55 Athena mysqld[15230]: 2017-10-24T23:13:55.903922Z 0 [Note] Binlog end
Oct 24 18:13:55 Athena mysqld[15230]: 2017-10-24T23:13:55.903982Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:13:55 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:14:25 Athena 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.
Oct 24 18:14:25 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:14:25 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:14:26 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:14:26 Athena 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.
Oct 24 18:14:26 Athena 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.
Oct 24 18:14:26 Athena audit[15304]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15304/status" pid=15304 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:14:26 Athena audit[15304]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15304 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:14:26 Athena audit[15304]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15304/status" pid=15304 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:14:26 Athena kernel: audit: type=1400 audit(1508886866.268:1757): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15304/status" pid=15304 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:14:26 Athena kernel: audit: type=1400 audit(1508886866.268:1758): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15304 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:14:26 Athena kernel: audit: type=1400 audit(1508886866.268:1759): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15304/status" pid=15304 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:14:26 Athena mysqld[15304]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:14:26 Athena mysqld[15304]: 2017-10-24T23:14:26.271284Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:14:26 Athena mysqld[15304]: 2017-10-24T23:14:26.271311Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:14:26 Athena mysqld[15304]: 2017-10-24T23:14:26.403072Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:14:26 Athena mysqld[15304]: 2017-10-24T23:14:26.403125Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:14:26 Athena mysqld[15304]: 2017-10-24T23:14:26.403143Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 15304 ...
Oct 24 18:14:26 Athena mysqld[15304]: 2017-10-24T23:14:26.404354Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:14:26 Athena mysqld[15304]: 2017-10-24T23:14:26.404363Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:14:26 Athena mysqld[15304]: 2017-10-24T23:14:26.404391Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:14:26 Athena mysqld[15304]: 2017-10-24T23:14:26.404394Z 0 [ERROR] Aborting
Oct 24 18:14:26 Athena mysqld[15304]: 2017-10-24T23:14:26.404400Z 0 [Note] Binlog end
Oct 24 18:14:26 Athena mysqld[15304]: 2017-10-24T23:14:26.404441Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:14:26 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 18:14:56 Athena 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.
Oct 24 18:14:56 Athena systemd[1]: mysql.service: Unit entered failed state.
Oct 24 18:14:56 Athena systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 24 18:14:56 Athena systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 24 18:14:56 Athena 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.
Oct 24 18:14:56 Athena 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.
Oct 24 18:14:56 Athena audit[15378]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15378/status" pid=15378 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:14:56 Athena audit[15378]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15378 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:14:56 Athena audit[15378]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15378/status" pid=15378 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:14:56 Athena kernel: audit: type=1400 audit(1508886896.765:1760): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15378/status" pid=15378 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:14:56 Athena kernel: audit: type=1400 audit(1508886896.765:1761): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15378 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=0
Oct 24 18:14:56 Athena kernel: audit: type=1400 audit(1508886896.765:1762): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/15378/status" pid=15378 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=124 ouid=124
Oct 24 18:14:56 Athena mysqld[15378]: mysqld: Can't change dir to '/var/www/html/DATAB/mysql/' (Errcode: 13 - Permission denied)
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.768766Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.768791Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.903755Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.903808Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.903826Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.19-0ubuntu0.16.04.1) starting as process 15378 ...
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.905397Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.905406Z 0 [Warning] Can't create test file /var/www/html/DATAB/mysql/Athena.lower-test
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.905432Z 0 [ERROR] failed to set datadir to /var/www/html/DATAB/mysql/
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.905435Z 0 [ERROR] Aborting
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.905441Z 0 [Note] Binlog end
Oct 24 18:14:56 Athena mysqld[15378]: 2017-10-24T23:14:56.905498Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 24 18:14:56 Athena systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE

Is there any other log that would help?

Link to comment
Share on other sites

15 minutes ago, linuxgurugamer said:

Oh, I guess you aren't a Linux person.  Sorry

I am, just not a very knowledgable one yet :wink:

I didn't do it that way because the system wasn't showing a mysql user, and my account was in the mysql group.  Also I hadn't had to do it on the other machine.

I ran it anyway, worked fine, but still getting the same result when trying to start the mysql server with sudo systemctl start mysql.

But on a whim I did sudo su, then systemctl start mysql and it worked.

 

Not sure why that was different, but thank you for the help!

Edited by Geonovast
Link to comment
Share on other sites

3 minutes ago, linuxgurugamer said:

You weren't root?  No wonder.

Glad you got it working

Just using sudo worked just fine on the other machine.  I guess I didn't realize there was a difference between actually being root and running the sudo command.

Link to comment
Share on other sites

1 minute ago, Geonovast said:

Just using sudo worked just fine on the other machine.  I guess I didn't realize there was a difference between actually being root and running the sudo command.

It depends on how the systems are set up.  Without being able to get on , I can't say more than that

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...