root@broadband:/var/lib/mysql# sudo /etc/init.d/mysql start
[....] Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
failed!
root@broadband:/var/lib/mysql# systemctl status mysql.service
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Пт 2018-08-03 15:38:42 MSK; 1min 2s ago
Docs: man:systemd-sysv-generator(8)
Process: 14097 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
авг 03 15:38:42 broadband /etc/init.d/mysql[15142]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
авг 03 15:38:42 broadband /etc/init.d/mysql[15142]: [61B blob data]
авг 03 15:38:42 broadband /etc/init.d/mysql[15142]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111 "Connection refused")'
авг 03 15:38:42 broadband /etc/init.d/mysql[15142]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
авг 03 15:38:42 broadband /etc/init.d/mysql[15142]:
авг 03 15:38:42 broadband mysql[14097]: ...fail!
авг 03 15:38:42 broadband systemd[1]: mysql.service: Control process exited, code=exited status=1
авг 03 15:38:42 broadband systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
авг 03 15:38:42 broadband systemd[1]: mysql.service: Unit entered failed state.
авг 03 15:38:42 broadband systemd[1]: mysql.service: Failed with result 'exit-code'.
root@broadband:/var/lib/mysql#
root@broadband:/var/lib/mysql# journalctl -xe
авг 03 15:45:18 broadband mysqld[19045]: 180803 15:45:18 [Note] InnoDB: Started in read only mode
авг 03 15:45:18 broadband mysqld[19045]: 180803 15:45:18 [Note] InnoDB: Using mutexes to ref count buffer pool pages
авг 03 15:45:18 broadband mysqld[19045]: 180803 15:45:18 [Note] InnoDB: The InnoDB memory heap is disabled
авг 03 15:45:18 broadband mysqld[19045]: 180803 15:45:18 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
авг 03 15:45:18 broadband mysqld[19045]: 180803 15:45:18 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
авг 03 15:45:18 broadband mysqld[19045]: 180803 15:45:18 [Note] InnoDB: Compressed tables use zlib 1.2.8
авг 03 15:45:18 broadband mysqld[19045]: 180803 15:45:18 [Note] InnoDB: Using Linux native AIO
авг 03 15:45:18 broadband mysqld[19045]: 180803 15:45:18 [Note] InnoDB: Not using CPU crc32 instructions
авг 03 15:45:18 broadband mysqld[19045]: 180803 15:45:18 [Note] InnoDB: Disabling background IO write threads.
авг 03 15:45:18 broadband mysqld[19045]: 180803 15:45:18 [Warning] InnoDB: Unable to open "./ib_logfile0" to check native AIO read support.
авг 03 15:45:18 broadband mysqld[19045]: 180803 15:45:18 [Warning] InnoDB: Linux Native AIO disabled.
авг 03 15:45:18 broadband mysqld[19045]: 180803 15:45:18 [Note] InnoDB: Initializing buffer pool, size = 6.0G
авг 03 15:45:19 broadband mysqld[19045]: 180803 15:45:19 [Note] InnoDB: Completed initialization of buffer pool
авг 03 15:45:19 broadband mysqld[19045]: 180803 15:45:19 [ERROR] InnoDB: Cannot create log files in read-only mode
авг 03 15:45:19 broadband mysqld[19045]: 180803 15:45:19 [ERROR] Plugin 'InnoDB' init function returned error.
авг 03 15:45:19 broadband mysqld[19045]: 180803 15:45:19 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
авг 03 15:45:19 broadband mysqld[19045]: 180803 15:45:19 [Note] Plugin 'FEEDBACK' is disabled.
авг 03 15:45:19 broadband mysqld[19045]: 180803 15:45:19 [ERROR] Unknown/unsupported storage engine: InnoDB
авг 03 15:45:19 broadband mysqld[19045]: 180803 15:45:19 [ERROR] Aborting
авг 03 15:45:19 broadband mysqld[19045]:
авг 03 15:45:20 broadband mysqld[19045]: 180803 15:45:20 [Note] /usr/sbin/mysqld: Shutdown complete
авг 03 15:45:20 broadband mysqld[19045]:
авг 03 15:45:20 broadband mysqld_safe[19062]: mysqld from pid file /var/run/mysqld/mysqld.pid ended
авг 03 15:45:24 broadband kernel: [UFW BLOCK] IN=enp5s0f0 OUT= MAC=00:15:17:2a:e6:70:00:00:5e:00:01:95:08:00 SRC=188.170.82.201 DST=188.32.114.207 LEN=52 TOS=0x00 PREC=
авг 03 15:45:43 broadband CRON[18327]: pam_unix(cron:session): session closed for user root
авг 03 15:45:49 broadband /etc/init.d/mysql[19509]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
авг 03 15:45:49 broadband systemd[1]: mysql.service: Control process exited, code=exited status=1
авг 03 15:45:49 broadband mysql[18463]: ...fail!
авг 03 15:45:49 broadband /etc/init.d/mysql[19509]: [61B blob data]
авг 03 15:45:49 broadband systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
-- Subject: Ошибка юнита mysql.service
-- Defined-By: systemd
-- Support:
lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Произошел сбой юнита mysql.service.
--
-- Результат: failed.
авг 03 15:45:49 broadband /etc/init.d/mysql[19509]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111 "Connection refused")'
авг 03 15:45:49 broadband systemd[1]: mysql.service: Unit entered failed state.
авг 03 15:45:49 broadband /etc/init.d/mysql[19509]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
авг 03 15:45:49 broadband systemd[1]: mysql.service: Failed with result 'exit-code'.
авг 03 15:45:49 broadband /etc/init.d/mysql[19509]:
авг 03 15:45:50 broadband sudo[18446]: pam_unix(sudo:session): session closed for user root