I have a vm running a LAMP stack with Fedora 22. This is a server dedicated to running OwnCloud.
The server and OwnCLoud ran fine for several weeks. I had to reboot the server. On reboot mysqld fails to start. Attempting to manually start the service fails also.
[root@cloudServ]/home/rcreasy# service mysqld start
Redirecting to /bin/systemctl start mysqld.service
Job for mysqld.service failed because the control process exited with
error code. See "systemctl status mysqld.service" and "journalctl -xe"
for details.
Here are the results of systemctl status mysqld.service
[root@cloudServ]/home/rcreasy# systemctl status mysqld.service
● mysqld.service - MySQL Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Fri 2016-09-30 12:03:34 EDT; 1min 3s ago
Process: 3851 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid $MYSQLD_OPTS (code=exited, status=1/FAILURE)
Process: 3829 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS)
Sep 30 12:03:34 cloudServ systemd[1]: mysqld.service: Unit entered failed state.
Sep 30 12:03:34 cloudServ systemd[1]: mysqld.service: Failed with result 'exit-code'.
Sep 30 12:03:34 cloudServ systemd[1]: mysqld.service: Service hold-off time over, scheduling ...art.
Sep 30 12:03:34 cloudServ systemd[1]: mysqld.service: Start request repeated too quickly.
Sep 30 12:03:34 cloudServ systemd[1]: Failed to start MySQL Server.
Sep 30 12:03:34 cloudServ systemd[1]: mysqld.service: Unit entered failed state.
Sep 30 12:03:34 cloudServ systemd[1]: mysqld.service: Failed with result 'start-limit'.
journalctl -xe gives many lines with (where XXX is several different numbers)
Sep 30 12:15:12 cloudServ ownCloud[XXX]: {remote} Failed to connect to the database: An exception occured in driver: SQLSTATE[HY000] [2002] No such file or dir
Nothing new is written to /var/log/mysqld.log Ownership on /var/lib/mysql and its contents is mysql:mysql
Can anyone point me in the right direction?