gpt4 book ai didi

linux - ESXi 重启后无法启动 MySQL

转载 作者:太空宇宙 更新时间:2023-11-04 11:20:56 26 4
gpt4 key购买 nike

我的 MySQL 服务器在 ESXi 服务器重启后停止工作...它不会自动启动,我无法从我的 Unix shell 启动它。

~# service mysql restart
restart: Unknown instance:

~# sudo service mysql start
start: Job failed to start

~# sudo -u mysql mysqld
~#
~# netstat -tap | grep mysql
~#
~# service mysql restart
restart: Unknown instance:

/var/log/中的文件:mysql.err 和 mysql.log 为空。这里的文件/var/log/mysql/error.log 有一些信息:

Version: '5.1.62-0ubuntu0.11.10.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
130410 9:50:54 [ERROR] /usr/sbin/mysqld: Table './radius/radcheck' is marked as crashed and should be repaired
130410 9:50:54 [Warning] Checking table: './radius/radcheck'
130410 9:50:54 [ERROR] /usr/sbin/mysqld: Table './radius/radpostauth' is marked as crashed and should be repaired
130410 9:50:54 [Warning] Checking table: './radius/radpostauth'
130410 9:50:54 [ERROR] /usr/sbin/mysqld: Table './radius/resv' is marked as crashed and should be repaired
130410 9:50:54 [Warning] Checking table: './radius/resv'
130819 22:31:21 [Note] Plugin 'FEDERATED' is disabled.
130819 22:31:21 InnoDB: Initializing buffer pool, size = 8.0M
130819 22:31:21 InnoDB: Completed initialization of buffer pool
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
130819 22:31:21 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...

谁能告诉我,这里可能出了什么问题?

最佳答案

呃……那太丑了。

这是一个修复。卸载时,复制要删除的软件包列表,然后使用该列表重新安装它们。

http://www.blog.webcare.pk/2012/05/ubuntu-mysql-cannot-start-after-upgrade.html

关于linux - ESXi 重启后无法启动 MySQL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18322753/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com