Mysql没有开始生成以下错误。当我在/ var / lib / mysql目录中移动ibdata1文件时,它开始工作,但这会删除我的数据库。 使用时启动“mysql”服务时系统遇到错误 命令“/etc/init.d/mysql start”:子进程报告错误号1 什么时候结束在/usr/local/cpanel/Cpanel/ServiceManager/Base.pm第1358行。
Cpanel :: ServiceManager :: Base :: warn(Cpanel :: ServiceManager :: Services :: Mysql = HASH(0x1107da0),“系统在启动\ x {x2} \ x {80}时遇到错误x {9c} mysql \ x {x2} \ x {80}“...)调用/usr/local/cpanel/Cpanel/ServiceManager/Manager/Initd.pm第103行Cpanel :: ServiceManager :: Manager :: Initd :: start(Cpanel :: ServiceManager :: Manager :: Initd = HASH(0x11166d8),Cpanel :: ServiceManager :: Services :: Mysql = HASH(0x1107da0))在/ usr / local / cpanel / Cpanel / ServiceManager / Base调用.pm第828行Cpanel :: ServiceManager :: Base :: start(Cpanel :: ServiceManager :: Services :: Mysql = HASH(0x1107da0))在/usr/local/cpanel/Cpanel/ServiceManager/Services/Mysql.pm行调用57
在日志中,我看到以下错误
2018-02-20 11:01:55 5924 [ERROR] InnoDB: File (unknown): 'read' returned OS
error 71. Cannot continue operation
2018-02-20 11:06:57 6308 [Note] Plugin 'FEDERATED' is disabled.
2018-02-20 11:06:57 6308 [Note] InnoDB: Using atomics to ref count buffer
pool pages
2018-02-20 11:06:57 6308 [Note] InnoDB: The InnoDB memory heap is disabled
2018-02-20 11:06:57 6308 [Note] InnoDB: Mutexes and rw_locks use GCC atomic
builtins
2018-02-20 11:06:57 6308 [Note] InnoDB: Memory barrier is not used
2018-02-20 11:06:57 6308 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-02-20 11:06:57 6308 [Note] InnoDB: Using Linux native AIO
2018-02-20 11:06:57 6308 [Note] InnoDB: Using CPU crc32 instructions
2018-02-20 11:06:57 6308 [Note] InnoDB: Initializing buffer pool, size =
120.0M
2018-02-20 11:06:57 6308 [Note] InnoDB: Completed initialization of buffer pool
2018-02-20 11:06:57 6308 [Note] InnoDB: Highest supported file format is Barracuda.
2018-02-20 11:06:57 6308 [Note] InnoDB: Log scan progressed past the checkpoint lsn 760768204742
2018-02-20 11:06:57 6308 [Note] InnoDB: Database was not shutdown normally!
2018-02-20 11:06:57 6308 [Note] InnoDB: Starting crash recovery.
2018-02-20 11:06:57 6308 [Note] InnoDB: Reading tablespace information from the .ibd files...
2018-02-20 11:06:57 6308 [ERROR] InnoDB: Tried to read 16384 bytes at offset 0. Was only able to read 4096.
2018-02-20 11:06:57 7ff612f0e720 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create