CentOS restart failed, always respawn

Source: Internet
Author: User
An error occurred while restarting CentOS. always respawnCentOS installed mysql. according to the Internet, init was changed. d, added datadir =... the path exists. I have verified it. it indicates that a restart is required, but the restart fails. it indicates that the restart is stopped at init. d, datadir = ..., commandn CentOS restart failed, always respawn
Mysql is installed on CentOS. according to the Internet, init. d is changed and datadir =... Path is added. I have verified it.
It indicates that a restart is required, but the restart fails. it is displayed as init. d, datadir =..., command not found, always respawn
The thread is continuously incubated, error occurs, and then the thread is killed. then, the thread continues and repeats continuously. the graphic login interface cannot be entered.
I installed CentOS 6.3, which is a developer environment configuration.
You cannot enter the system logon page (enter the user name and password)
There are a lot of software installed in it, and my installation experience, I really don't want to re-create a virtual machine.
Help ~~~~~~~~~~~~~~~~~~~~~~~~~~


------ Solution --------------------
Is it not configured?
[Root @ sample ~] # Chkconfig mysqld on startup
[Root @ sample ~] # Chkconfig -- list mysqld restart confirm that MySQL is started automatically
Mysqld 0: off 1: off 2: on 3: on 4: on 5: on 6: off okay if 2--5 is on
[Root @ sample ~] #/Etc/rc. d/init. d/mysqld start slave start MySQL service

Initializing MySQL database: [OK]
Starting MySQL: [OK]
------ Solution --------------------
In such a situation, there is no way to get in, but to reinstall it!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.