Page 1 of 1

Problem after loss of power

Posted: 2011/09/08 22:54:43
by Analog2112
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!

Re: Problem after loss of power

Posted: 2011/09/17 12:13:23
by Analog2112
I've had no luck in fixing this, any suggestions?

Problem after loss of power

Posted: 2011/09/20 14:02:56
by pschaff
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]locate libasound.so.2[/code]show? I see[code]# 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
#
[/code]