Home > Operation and Maintenance > CentOS > How to solve the error when centos starts?

How to solve the error when centos starts?

王林
Release: 2020-04-03 14:29:23
Original
3115 people have browsed it

How to solve the error when centos starts?

Problem:

CentOS startup error "UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY"

As shown:

How to solve the error when centos starts?

Solution:

1. Enter the root user password and press Enter, the command line prompt appears

2. Detect and repair disk /dev/mapper/vg_centos6.9 -root, enter the command:

# fsck -y /dev/mapper/vg_centos6.9-root
Copy after login

The -y option means to automatically enter yes when detecting each file

3. Reboot and restart the server after it is completely repaired

Note: Sometimes it may be necessary to repair multiple times according to the prompt information, and when using the fsck command to scan the file system, it must be performed in single-user mode or repair mode.

Recommended related tutorials: centos tutorial

The above is the detailed content of How to solve the error when centos starts?. For more information, please follow other related articles on the PHP Chinese website!

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