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 11-10-2011, 01:22 AM   #1
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Rep: Reputation: Disabled
not able to update server(centos) and login as normal user due to xsession errors


When i login as root in the primary nameserver which is using centos and try to update it it gives the following error:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...86&repo=addons error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
Error: Cannot find a valid baseurl for repo: addons


And updating it using the packet update is also not possible,it says maybe network connection problem and yes thats true but the network connection is active and it still has that problem..

When i login as non-root user i get the following message:

Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some installation problem or that you may be out of disk space. Try logging in with one of the failsafe sessions to see if you can fix this problem.

But i have enough disk space..

And the exact content of ~/xsession -errors-file is:

/etc/gdm/PreSession/Default: Registering your sesion with utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -u "/var/gdm/0.Xservers" -h "" -l ":0" "alisha"
localuser:alisha being added to access control list
No profile for user alisha found
Auto configuration failed
21859:error:0200100D:system library:fopen:Permission denied: bss_file .c :122 : fopen('/etc/pki/tls/openssl.cnf', 'rb')
21859:error:2006D002: BIO routines: BIO_new_file: system lib:bss_file.c: 127
21859: error: 0E078002: configuration file routines: DEF_LOAD: system lib: conf_def.c: 199


SO CAN ANYONE HELP ME RECTIFY THE PROBLEM PLEASE..
THANKS...
 
Old 11-10-2011, 03:12 AM   #2
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
can anyone help me please..
 
Old 11-11-2011, 10:37 PM   #3
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
anyone please??
 
Old 11-15-2011, 05:24 AM   #4
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
hello everyone...help please...
 
Old 04-24-2012, 01:53 PM   #5
tygerlilyjp
LQ Newbie
 
Registered: Aug 2010
Posts: 6

Rep: Reputation: 0
Possible solution

We ran into this issue today on a server that we were doing testing with.
It turns out that we had broken the permissions and configuration of the /etc/pki folder and how the system was reading /etc/pki/
We pulled a copy of the folder from another machine with the same setup that was working correctly and copied it over the old one on the broken machine.
It didn't really hit me what had broken our version until we replace the old pki folder with the new one. We were running an ldap test and one of the people who had set it up had changed the ownership to root:ldap for the whole /etc/pki directory. Hopefully, if you run into this issue again, this will help you.
Everything seems to work fine now for us. :-)

Jenelle
 
Old 04-24-2012, 11:44 PM   #6
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
well thank you for your reply..

Actually the /etc/pki directory looks fine and ownership has not changed either..

Well what is that /pki directory....is it safe to simply replace it with new one?
 
  


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
ldap user can't login with xsession pazzport Linux - Server 3 09-16-2008 05:33 AM
xsession-errors (I have no name!@Ubuntu:/$ ) cant login!! paulsanz Linux - Server 1 06-26-2008 06:14 AM
[SOLVED] Xsession: Login for <user> is disabled TiredOfThis SUSE / openSUSE 1 02-04-2008 03:14 PM
unable to login to mahcine due to errors with .gconf file in RH9 markhod Red Hat 0 04-14-2004 04:02 PM
How to login as a normal user? daYz Slackware 5 11-14-2003 03:35 PM


All times are GMT -5. The time now is 05:06 PM.

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