Problem after loss of power

General support questions including new installations

Problem after loss of power

Postby Analog2112 » 2011/09/08 22:54:43

Hi,

Long story short, we lost power last night and now when I try to boot my CentOS5 box, I get a error saying "Your session has ended in less then 10 seconds, if you didn't do it then your install my be corrupt etc".

I can log in using the other session options, I can even log in via ssh from another machine with and get full root, I'm just not sure how to fix the problem. Inside of ~.xsession-errors I have:

/etc/gdm/PreSession/Default: Registering your session with utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "analog"
localuser:analog being added to access control list
No profile for user 'analog' found
gnome-session: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory

I suspect there are 2 issues? The profile and the libs? I'm not sure about the libraries though, I've never had a problem logging in before and that doesn't seem related to power loss, maybe it was already there and just didn't cause any issues? I honestly don't know.

Any advise would be much appreciated!

TIA!
Analog2112
 
Posts: 5
Joined: 2011/05/09 18:49:53

Re: Problem after loss of power

Postby Analog2112 » 2011/09/17 12:13:23

I've had no luck in fixing this, any suggestions?
Analog2112
 
Posts: 5
Joined: 2011/05/09 18:49:53

Problem after loss of power

Postby pschaff » 2011/09/20 14:02:56

Your post is very unclear. What is your default login session and what are "the other session options"? Have you tried logging in as another user? Try starting in runlevel 3 and doing startx as root. If the latter two work you may need to remove corrupted configuration or status files in your account.

What does
Code: Select all
locate libasound.so.2
show? I see
Code: Select all
#  locate libasound.so.2
/lib/libasound.so.2
/lib/libasound.so.2.0.0
/lib64/libasound.so.2
/lib64/libasound.so.2.0.0
# rpm -qf /lib/libasound.so.2
alsa-lib-1.0.17-1.el5.i386
# rpm -qf /lib64/libasound.so.2
alsa-lib-1.0.17-1.el5.x86_64
# rpm -V alsa-lib
#
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America


Return to CentOS 5 - General Support

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest