LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-11-2012, 06:06 PM   #1
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Rep: Reputation: Disabled
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.
 
Old 05-11-2012, 11:50 PM   #2
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
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
 
Old 05-12-2012, 09:11 AM   #3
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-12-2012, 10:38 PM   #4
djsoundfx
Member
 
Registered: May 2008
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 82

Rep: Reputation: 23
Quote:
Originally Posted by paruhang View Post
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.
 
Old 05-13-2012, 12:32 PM   #5
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-13-2012, 08:21 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
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.
 
Old 05-15-2012, 11:18 AM   #7
djsoundfx
Member
 
Registered: May 2008
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 82

Rep: Reputation: 23
Quote:
Originally Posted by paruhang View Post
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 View Post
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 View Post
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.
 
Old 05-15-2012, 11:19 AM   #8
djsoundfx
Member
 
Registered: May 2008
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 82

Rep: Reputation: 23
Though I just read your original post again, so can you clarify if you're unable to access the system after this error appears?
 
Old 05-15-2012, 04:39 PM   #9
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem installing hamachi v1 on centos 6 64 bits rabusmar Red Hat 1 03-08-2012 07:27 PM
cryptography... what's difference between 8bits / 16 bits / 32 bits/ 64 bits/128bits? ybpark81 Linux - Security 4 02-19-2012 09:38 AM
64 bits or 32 bits on AMD athlon x2 ram 4gb? albertoburgos Linux - Newbie 13 08-15-2011 04:37 PM
CentOS 64 bits postfix ldap compilation error Ricio Linux - Server 1 05-09-2010 11:52 PM
LXer: Xen 3.3.1rc1-pre port to CentOS 5.2 via http://bits.xensource.com mercurial rep LXer Syndicated Linux News 0 11-18-2008 08:11 PM


All times are GMT -5. The time now is 05:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration