您的位置:首页 > 数据库 > MySQL

mysql启动失败!!

2015-10-13 09:11 676 查看
[root@172.17.97.222 webapps]# service mysqld restart

Stopping mysqld:                                           [  OK  ]

Timeout error occurred trying to start MySQL Daemon.

Starting mysqld:                                           [FAILED]
[root@172.17.97.222 webapps]# mysql

解决方案:

1、查看内存是否占满!

2、删除大的log文件。

命令:

 997  tail -f error.log

  998  tail -f arcface_allinone_server.log

  999  ping 172.17.10.178

 1000  tail -f /var/log/messages

 1001  cd /home/apache-tomcat-8.0.24/bin/

 1002  ./shutdown.sh

 1003  ./startup.sh

 1004  ps -A

 1005  CD ../

 1006  cd ../

 1007  ls

 1008  cd ./webapps/

 1009  ls

 1010  service mysqld restart

 1011  mysql

 1012  df -h

 1013  cd /

 1014  du -sh *

 1015  cd /home/apache-tomcat-8.0.24/logs/

 1016  ll

 1017  cd /root/programfiles/jboss-eap-6.2/bin/

 1018  ll

 1019  cd  /root/programfiles/jboss-eap-6.2/bin/

 1020  du -sh *

 1021  cd ../standalone/

 1022  du -sh *

 1023  rm -rf tem

 1024  rm -rf tmp/

 1025  service mysqld restart

 1026  cd /home/apache-tomcat-8.0.24/bin/

 1027  ./shutdown.sh

 1028  ./startup.sh

 1029  tail -f ../logs/catalina.out

 1030  tail -n 10 history

 1031  history
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: