Home > Backend Development > PHP Tutorial > CentOS重启失败,老是respawn

CentOS重启失败,老是respawn

WBOY
Release: 2016-06-13 13:09:27
Original
1100 people have browsed it

CentOS重启失败,总是respawn
CentOS上装mysql,按照网上的说法,改动了init.d,增加了 datadir=... 路径是存在的,我验证过了.
说是要重新启动,但是重启失败,显示停在了init.d,datadir=...,command not found,总是respawn
不停地孵化线程,然后错误,然后杀死线程,然后继续,不停地循环.无法进入图形登陆界面.
我装的是CentOS 6.3,是开发者环境配置.
现在进入不了系统登陆界面(输入用户名和密码)
里面装了很多软件,还有我的装机心得,真的不想重新做虚拟机.
救命~~~~~~~~~~~~~~~~~~~~~~~~~~ 


------解决方案--------------------
是不是没配置好
[root@sample ~]# chkconfig mysqld on  ← 设置MySQL服务随系统启动自启动
[root@sample ~]# chkconfig --list mysqld  ← 确认MySQL自启动
mysqld 0:off 1:off 2:on 3:on 4:on 5:on 6:off  ← 如果2--5为on的状态就OK
[root@sample ~]# /etc/rc.d/init.d/mysqld start  ← 启动MySQL服务

Initializing MySQL database:         [ OK ]
Starting MySQL:              [ OK ]
------解决方案--------------------
像这样的情况,实在进不去也没有办法了,只有重装了!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template