Linux Startup error unexpected inconsistency Solution

Source: Internet
Author: User

1. Enter (optional) in the command line)

Mount | grep ''on /''

Obtain the root user's partition/dev/your_partition.

2. Enter

Fsck-y/dev/root

# Fsck-y/dev/your_partition

# Check and fix the disk/dev/root. The-Y option specifies that "yes" is automatically entered for each file to be detected.

 

3 reboot

 

4. If the problem persists, enter the repair command in the command line.

Fsck-y/dev/sda1

 

 

5. After restart, continue to report an errorStarting auditd: Failed

The explanation for the online search is "The auditd daemon will fail to start if its logfile is readable by anyone but root". That is, because root does not have the permission to write the auditd log file, auditd cannot be started.

Run the following command:

Chown root. Root/var/log/audit. Log

Chmod 600/var/log/audit. Log

 

 

6. Restart reboot.

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.