RHEL5 failed to start the system due to service startup error stagnation

Source: Internet
Author: User
RHEL5.1 is installed in the system. At first, the device cannot recognize the hard disk. After viewing the BIOS settings, the hard disk interface mode is PATA and then switched to the SATA interface mode. You can enter the system startup interface. However, when the system starts various services, the system cannot be accessed due to one of the service faults. Solution: Use the CD to enter the LinuxRescue mode. Check the startup service of chroot/mnt/sysimagechkconfig -- list. The services provided by the system are normal.

RHEL5.1 is installed in the system. At first, the device cannot recognize the hard disk. After viewing the BIOS settings, the hard disk interface mode is PATA and then switched to the SATA interface mode. You can enter the system startup interface.

However, when the system starts various services, the system cannot be accessed due to one of the service faults.

Solution:

  • Use the CD to enter the Linux Rescue mode, chroot/mnt/sysimage

  • Run chkconfig -- list to check whether the startup service is running properly.

  • Cat/etc/rc. local: comment out the # sign in front of some previously set service paths. After the restart, the system reports that the service does not appear and the system enters normal.

  • Forgot password, change root Password

  • Rescue mode for CD Linux (omitted here ..) Enter the passwd command, and prompt to change the new password. After the change, confirm it again.

  • Enter the system and use the new password.

Note: mount the Linux hard disk to a Windows system for data backup. Use the Linux reader tool to view the Linux partition on the disk and back up the data.

For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-08/105484.htm

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.