LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-28-2006, 11:15 AM   #1
KunoNoOni
LQ Newbie
 
Registered: Apr 2005
Location: usa
Distribution: Slackware
Posts: 10

Rep: Reputation: 0
Unable to login after upgrade


I'm running Slackware 9.1 and I was upgrading it with swaret, upon reboot I get an error -bash: /lib/libc.so.6: version 'GLIBC_2.3.4' not found (required by -bash). I can't log in as root or my user.

Is there anything I can do to get the system back up and running?
 
Old 06-28-2006, 12:01 PM   #2
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
What were you upgrading during the swaret session....
Are there some security updates in 9.1 that you were applying?
 
Old 06-28-2006, 12:02 PM   #3
katayamma
Member
 
Registered: Jan 2006
Posts: 37

Rep: Reputation: 15
Here's what I'd do. Pull down Slackware 10 install disk and boot from that. Mount your drive's /usr partition and then copy the libc.so.6 from the install disks /lib directory to your /usr/lib and see if that fixes it.

Odds are that's just one of many libraries that you've broken in the process of upgrading. I'd suggest backing up any critical user data and do a full install/upgrade of Slackware, but you may be able to get by with just piecemealing the missing files.

Remember that if there's a file missing that you don't find in the mini boot install, you can always grep for the file in the slackware/l directory. Just "grep library.name *.txt" and you should find it. You can then use tar to extract the files you want and copy them down.

Good luck.
 
Old 06-28-2006, 12:09 PM   #4
KunoNoOni
LQ Newbie
 
Registered: Apr 2005
Location: usa
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
I was following a guide on here. now mind you, this wasn't a fresh install and I didn't need to do "swaret --dep". Also the files didn't end in .new they just installed. So yeah I'll say it...

Quote:
Originally Posted by shilo
Making Sure You've got the Latest & Greatest
7) Install SWareT. Go here http://www.swaret.org to get the package. The first thing you will want to do is edit the swaret.conf file. Change the version to current. Uncomment the line for linuxpackages.net. Enable slocate. Now type "swaret --update", then type "swaret --upgrade -a", Then "swaret --dep". This will take awhile. I run swaret --upgrade -a a few times, because you will usually have a few packages that didn't get downloaded the first few times.

Making Sure the Latest & Greatest Works!!!
8) Here's a step everyone seems to miss. Since you have done a fresh install, the configuration files should all still be stock. When you upgrade packages, you get a lot of files that end in .new. These are the new configuration files. The updaters that you have run didn't want to get rid of possibly custom configuration files. Since none of our configuration files are custom yet, it's pretty safe to do this: updatedb to update the search database. Now type "slocate .new" Go to each one of those files and drop the .new off of the filename. You'll have to also delete the other file with the same name first.
 
Old 06-29-2006, 07:01 AM   #5
KunoNoOni
LQ Newbie
 
Registered: Apr 2005
Location: usa
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
Thank You Katayamma!!!

your idea worked.. and I'm now able to boot and log into my box.

there is a driver issue with the sound, but I don't use the sound on that box so its no big deal.

the only thing left to fix is this error:

/usr/sbin/httpd: error while loading shared libraries: libdb-4.4.so: cannot open shared object file: No such file or directory

/usr/sbin/apachectl start: httpd could not be started


I tried to install db4-4.2.52-i486-2, the script said it was running then dropped back to the prompt... to be honest I've never used installpkg before so I don't know if its suppose to show anything between saying the script is installing and the prompt.
 
Old 06-30-2006, 10:15 AM   #6
katayamma
Member
 
Registered: Jan 2006
Posts: 37

Rep: Reputation: 15
Only if there's an error. You can use the -infobox so it'll display info about what it's doing, but for the most part you shouldn't get any messages unless it has a problem.

I take it apache didn't run after installing the db libs?
 
  


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
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 09:01 AM
Swaret upgrade from 10.0 to current broke glibc - unable to login vharishankar Slackware 6 04-03-2006 01:30 AM
unable to login because no login prompt DX2 Linux - General 1 05-25-2005 01:33 PM
unable to login due to login expiry niiha Programming 2 09-02-2004 11:50 AM
unable to upgrade gaim geekBass Linux - Software 3 07-28-2003 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:59 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
Open Source Consulting | Domain Registration