Linux Daily Boot error

Source: Internet
Author: User

Today is Saturday, Bo Master originally wanted to lazy rest, when Bo Master open virtual machine, suddenly found that his CentOS 6.8 has a boot error, obsessive-compulsive bloggers can not endure. Bo master must want to solve and then quickly, well, come down to see the blogger's problem.

Could not update iceauthority file/home/user/. Iceauthority

This is the Bo master after the first question, Bo master a bit of panic, forget, immediately after, Bo master click on the bottom right corner close, then there was a mistake, Bo Master suddenly feel life good dark, wrong such as.

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/86/81/wKioL1fBRZTDT6ncAAAtYtKqQlc442.png-wh_500x0-wm_3 -wmp_4-s_18784865.png "title=" 2.png "alt=" Wkiol1fbrztdt6ncaaatytkqqlc442.png-wh_50 "/>

This time Bo Master has been very calm cut down the figure, what storms Bo Master did not see! OK, let's get to work on it.

Issue one: Could not update iceauthority file/home/user/. Iceauthority

Unable to update iceauthority file/home/user/. Iceauthority

Question two: There is a problem with the configuration server

There is a problem configuring the server

At this time Bo master in thinking, why their own centos will appear this problem, so, Bo Master's mind is like a small film, finally think of, yesterday, when the experiment, Bo Master mv/home/testdir/home, although Bo Master of the gname into not go, but witty bo master [ CTRL]+[ALT]+[F1] (f1-f6 "Text interface login Tty1-tty6 terminal") to a terminal to go

By, LS

CD./home

Confirmed the blogger's guess, sure enough, the home files are Bo master mv to/testdir/home, all, CentOS can not find our login in the home user, so the first and the second error, the solution is

Mv/testdir/home/home

After executing this command, the blogger looks again

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/86/81/wKiom1fBTAGy2ZHoAABMn9yEVhw169.png-wh_500x0-wm_3 -wmp_4-s_4288345133.png "title=" 1.png "alt=" Wkiom1fbtagy2zhoaabmn9yevhw169.png-wh_50 "/>

Then, reboot, log in again, perfect! So it was solved, so the blogger thought of a problem, if these two problems were separate. Have you ever thought, so Bo master Baidu a bit.

The first problem occurs separately:the user of the/home/u directory becomes root, so the ice cannot be updated to cause the boot warning

Workaround:

Note: (User's own username)

One:

code:sudo chown $USER: $USER/home/$USER/. Iceauthority

sudo chmod 644/home/$USER/. Iceauthority

Two:

code:sudo chown user-r/home/user

Three:

Code
first, the users and groups who want to see the/home/directory are the root user, and this directory must belong to the root user and root group.
# ls-l/home/user name
drwxr-xr-x 4 root root 4096 2008-05-31 10:40 home

if not, the change group is root and the user is root
# sudo chgrp-r root/home//change group to root
# sudo chown-r root/home//change user to root

second, the permission to change the/home directory is 755
# sudo chmod 755/home

again, change the/HOME/USER/.DMRC permission to 644
# sudo chmod 600/home/user/. Iceauthority

  The second problem arises separately: < Span style= "Color:rgb (85,85,85); Font-family:simsun;font-size:14px;line-height:21px;background-color:rgb ( 255,255,255); " > due to the deletion of /tmp folder modified the folder properties, resulting in the inability to log on to Linux

1: Single-user mode login Linux:

(1) After Grub is started, move the keyboard to Linux startup items, press the E key, and then move the keyboard to a line similar to the following,

That's the kernel line:

KERNEL/BOOT/VMLINUZ-2.6.11-1.1369_FC4 ro root=label=/1 rhgb quiet (2) after moving the cursor over the line, press the E key again to enter the edit line; a space at the end of line, then enter:
Linux Single

This is similar to the following:

KERNEL/BOOT/VMLINUZ-2.6.11-1.1369_FC4 ro root=label=/1 rhgb quiet Linux ingle

(3) We want to start the system, click the B button to start;

(4) Non-Fedora Core 4.0 may be read-only when a single user goes in, and run the following command;

#mount-O REMOUNT,RW/2: Modify/tmp property chmod 777/tmp3: Restart OK, this kind of problem Bo master only summed up these methods, hope can help everyone, Bo Master's wish is, the world no longer do not want to machine a prostitute, we see you next day.


This article is from the "11897401" blog, please be sure to keep this source http://11907401.blog.51cto.com/11897401/1843295

Linux Daily Boot error

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.