启动日志貌似也正常
[root@localhost zbox]# ./zbox restart
(20014)Internal error (specific information not available): AH00058: Error retrieving pid file /opt/zbox/tmp/apache/httpd.pid
AH00059: Remove it before continuing if it is corrupted.
Retart Apache success
ERROR! MySQL server is not running!
Retart Mysql success
其实这里mysql是启动失败了,这里注意一下,禅道的mysql是自带集成的,数据库没有跟系统本身的mysql在一起。
mysql的配置:
opt/zbox/etc/mysql/
mysql日志路径:
/opt/zbox/logs/mysql_error.log
可以看到有一行日志:
2020-07-20 13:48:32 139974368282368 [Note] InnoDB: Dumping buffer pool(s) not yet started
2020-07-20 13:48:32 139974929586304 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-20 13:48:32 139974929586304 [Note] Recovering after a crash using tc.log
2020-07-20 13:48:32 139974929586304 [ERROR] Can't init tc log
2020-07-20 13:48:32 139974929586304 [ERROR] Aborting
网上查找原因:
说是因为硬盘之前撑爆了导致mysql无法启动,就算硬盘恢复了也不能启动,需要把tc.log文件删掉即可。
在禅道目录查找tc.log文件在哪里:
find /opt/zbox -name 'tc.log'
发现结果是:/opt/zbox/data/mysql/tc.log
于是删除:rm -rf /opt/zbox/data/mysql/tc.log
重新启动禅道:
cd /opt/zbox
./zbox start
[root@localhost zbox]# ./zbox restart
Retart Apache success
ERROR! MySQL server is not running!
Retart Mysql success
估计禅道自己也没有考虑到硬盘撑爆的情况下,所以日志上没有体现出来!
网友评论