LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-31-2008, 08:34 AM   #1
navinsasikumar
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Rep: Reputation: 0
No graphical login screen and no module named _sha256


I use fedora 8, and i was updating some packages yesterday using yum extender. When i tried to reboot after updating, the graphical login screen refused to load. I got a blank screen with only a busy mouse pointer.

I booted into a virtual terminal and tried startx, but i got an error:
Code:
xauth: creating new authority file /root/.serverauth.12305

Fatal server error
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock and start again.
Invalid MIT-MAGIC-COOKIE-1 keygiving up. xinit: resource temporarily unavailable (errno 11): unable to connect to X server xinit: No such process (errno 3): Server error.
So i tried deleting .X0-lock, and running stratx, and i got another error message:

Code:
xauth: creating new authority file /root/.serverauth.30643
_XSERVTransSocketUnixCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeA11COTSServerListeners: server already running

Fatal server error
Cannot establish any listening sockets - Make sure an X server isn't already running

Invalid MIT-MAGIC-COOKIE-1 keygiving up.
xinit: resource temporarily unavailable (errno 11): unable to connect to X server
xinit: No such process (errno 3): Server error.
Then i checked interactive startup, and found that libssl.so.6 was missing and there was an import error: no module named _sha256, when starting yum-updatesd.

Then i went back to the virtual terminal and tried using yum, i got a message stating:

Code:
There was a problem importing one of the python modules required to run yum. the error eading to this problem was: 

No module named _sha256

Please install a package which provides this module, or verify that the module is installed correctly.

It's possible that the above module doesn't match the current version of python which is:
2.5.1 (r251:54863, Oct 30, 2007, 13:54:11)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)]
I tried checking if the package is there in the Fedora 8 CD, but when i cd to media and run ls, i get no results. And i can't access my other partitions nor the CD drive and USB drives.

Can someone please help me out? Thanks in advance.
 
Old 01-03-2009, 02:23 AM   #2
anotherlinuxuser
Member
 
Registered: Jan 2007
Location: Alberta Canada
Distribution: Fedora/Redhat/CentOS
Posts: 64

Rep: Reputation: 19
It appears your install of python and/or openssl is messed up. This could explain both the X and the yum problems.
You didn't say if you are using 64 or 32 bit Fedora, so here's some things to try either way.

(Note: openssl comes in i386, i686, and x86_64 versions.)

First, see if your rpm command works or not, enter:
rpm -q python openssl

If you get response of "python-2.5.1-xx.fc8 and openssl-0.9.xx-xx", you may be able to force an re-install of python and openssl to fix the problem.
To force a reinstall of the rpms, manually download the rpms from a Fedora mirror. Using another computer, choose a mirror from the list at http://mirrors.fedoraproject.org/publiclist/Fedora/8 and search for the same version rpms as listed from the above rpm command. If you are using 64 bit Linux, you will need 1 x86_64 python rpm and both the i686 and x86_64 openssl rpms. In case yum was updating python and openssl, also download the newest versions of both python and openssl from the updates-newkey tree (python-2.5.1-26.fc8.2, openssl-0.9.8b-17.fc8).

Either put all the rpms onto a CD or USB drive, or use ftp (you probably can't use ssh/scp since openssl may be corrupt) to transfer the rpms to the affected system.

Try reinstalling the rpms without forcing first:

rpm -ivh python-2.5.1-xx.fc8.(x86_64 or i686).rpm openssl-0.9.xx-xx.fc8.(* or i686).rpm

If this fails with an error that the rpms are already installed, try updating to the newest rpms that you downloaded with the command:
rpm -Uvh python-2.5.1-xx.fc8.(x86_64 or i386).rpm openssl-0.9.xx-xx.fc8.(* or i686).rpm

If that fails with dependency errors, then force the older rpms to install with command:
rpm -ivh --force python-2.5.1-xx.fc8.(x86_64 or i386).rpm openssl-0.9.xx-xx.fc8.(* or i686).rpm

If the rpm command does not work at all, then you will need to create a tar archive of the files from another Fedora 8 system running the same 32 or 64 bit version.

To create the archive on the other system, use the commands:

cd /
tar -cvzf /tmp/pythonfix.tgz `rpm -ql python openssl`
(Note the use of the Grave Accent chars)

Transfer the the resulting /tmp/pythonfix.tgz file to the affected system, and untar it, as root, using the commands:
cd /
tar -xvzf /tmp/pythonfix.tgz

The tar file way is not a great way to do it, as there is no version/dependency/error checking done, but it may be your only choice.

Good luck.
 
Old 01-04-2009, 04:08 AM   #3
navinsasikumar
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks a lot for your reply. I haven't followed your instructions yet. I'll be travelling to india in a few hours and won't have access to the internet for at least a week. but i hope to try out what you said as soon as possible and post the results. Thanks once again for your help.
 
  


Reply

Tags
graphical, login, server


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
Key repeat on graphical login screen is too fast, Its almost impossible to login. FC5 spacecoyote Fedora 8 05-13-2010 09:53 AM
I need a graphical login screen newbiesforever Linux - General 4 03-03-2008 09:16 AM
Black Screen instead of Login screen in Graphical Mode synkronus Suse/Novell 8 05-04-2007 09:17 AM
What Next after LogIn (graphical screen)?? kodai Linux - Newbie 20 09-16-2004 11:50 AM
Graphical Login Screen? neocookie Linux - Software 17 06-07-2004 06:10 PM


All times are GMT -5. The time now is 06:05 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration