Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-11-2012, 06:06 PM
|
#1
|
Member
Registered: Aug 2011
Location: /home
Posts: 96
Rep:
|
cannot boot up my 32 bits centos 6.2
hi everybody,
i was not able to boot my 32 bit centos 6.2 on my machine. what i have done before is i was configuring my local ftp server so i add user
#groupadd ftpusers
#useradd user
#passwd user
#usermod -aG ftpusers -d /var/ftp/pub user
#chown root:ftpusers /var/ftp/pub
#chmod g+w /var/ftp/pub
just after some moment i saw alert something nautilus and when i reboot my system the error occurs before displaying users list and my mouse and keyboard doesn't work.
error = "could not update ICEauthority file /var/ftp/gdm/.ICEauthority"
so how can i troubleshoot that error and able to login i have important data. or is there any way to repair system without loosing my data
can anybody help me to find solutions i'll be greatful and accept any kinds of ideas and suggestions are welcome.
|
|
|
05-11-2012, 11:50 PM
|
#2
|
Member
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Rep:
|
It appears like a permission problem with the file "/var/ftp/gdm/.ICEauthority". Just try loggin into single user mode and fix the issue with this file
|
|
|
05-12-2012, 09:11 AM
|
#3
|
Member
Registered: Aug 2011
Location: /home
Posts: 96
Original Poster
Rep:
|
thank you, blue_print.
for your quick reply i was able to login as single user mode but after that i don't know how to fix this problem.
|
|
|
05-12-2012, 10:38 PM
|
#4
|
Member
Registered: May 2008
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 82
Rep:
|
Quote:
Originally Posted by paruhang
thank you, blue_print.
for your quick reply i was able to login as single user mode but after that i don't know how to fix this problem.
|
What are the permissions of this file? You may need to modify them with something like (obviously you'll need to modify this code a bit):
Code:
sudo chown $USER:$USER /home/$USER/.ICEauthority
sudo chmod 644 /home/username/.ICEauthority
or depending on permissions desired:
sudo chmod 600 $HOME/.ICEauthority
If that doesn't work you may need to reinstall the package with different options (as I've heard of this being the source of the error you're having.
|
|
|
05-13-2012, 12:32 PM
|
#5
|
Member
Registered: Aug 2011
Location: /home
Posts: 96
Original Poster
Rep:
|
thank you,
djsoundfx for your reply.
this is my /etc/passwd
Code:
khem:x:500:500:khem raj chamling rai:/home/khem:/bin/bash
so i was confused with this code
Code:
sudo chown $USER:$USER /home/$USER/.ICEauthority
sudo chmod 644 /home/username/.ICEauthority
or depending on permissions desired:
sudo chmod 600 $HOME/.ICEauthority
i have never use sudo command and do i have to put my username'khem'
Code:
$USER:$USER or
khem:kheem or
$khem:$khem
Code:
What are the permissions of this file? You may need to modify them with something like (obviously you'll need to modify this code a bit):
which premission file do i have to check. lastly if i reinstall centos again i have to loose all my data is there any repair mode in centos so i can save all of my data.
thank you.
|
|
|
05-13-2012, 08:21 PM
|
#6
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,420
|
Assuming user and group names are khem, khem (likely), then
Code:
# set ownerships
sudo chown khem:khem /home/khem/.ICEauthority
# perm mode may need to be 600 or 644; try 600
sudo chmod 644 /home/khem/.ICEauthority
Before you start, try
Code:
sudo ls -la /home/khem
to see what you've got already.
|
|
|
05-15-2012, 11:18 AM
|
#7
|
Member
Registered: May 2008
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 82
Rep:
|
Quote:
Originally Posted by paruhang
thank you,
so i was confused with this code
Code:
sudo chown $USER:$USER /home/$USER/.ICEauthority
sudo chmod 644 /home/username/.ICEauthority
or depending on permissions desired:
sudo chmod 600 $HOME/.ICEauthority
|
See the reply from chrism01 he setup specifically what you have to do.
Quote:
Originally Posted by paruhang
i have never use sudo command and do i have to put my username'khem'
|
So khem has root/administrative permissions? thats a bit odd that you're having this issue then.
Quote:
Originally Posted by paruhang
which premission file do i have to check. lastly if i reinstall centos again i have to loose all my data is there any repair mode in centos so i can save all of my data.
thank you.
|
You do not have to lose all of your data and you DO NOT have to reinstall centos. You issue is with a single daemon/file it'd be a waste of effort to reinstall CentOS and that may not even fix your issue! Take the time to try to fix the permissions and see where that gets you. You can certainly repair your CentOS if with a liveCD or other method if you're unable to access the system or ever need to repair your bootloader but for the issue you're having you should be able to access the system and make changes without that.
|
|
|
05-15-2012, 11:19 AM
|
#8
|
Member
Registered: May 2008
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 82
Rep:
|
Though I just read your original post again, so can you clarify if you're unable to access the system after this error appears?
|
|
|
05-15-2012, 04:39 PM
|
#9
|
Member
Registered: Aug 2011
Location: /home
Posts: 96
Original Poster
Rep:
|
thank you everybody,
for you quick reply and your help i really appreciate your support. lastly i have reinstall centos and loose my data.
THANK YOU.
|
|
|
All times are GMT -5. The time now is 05:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|