LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-11-2005, 12:14 AM   #1
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 863

Rep: Reputation: 45
User Panic! Debian wont start


My system shut down cleanly last night. This morning, on booting I get a lot of messages saying that libpcre.so.3 cannot be found.

then:
grep: error while loading shared libraries: libpcre.so.3: cannot open shared object: no such file or directory

later:

etc/rcS.d/S48console-session.sh:line 36: cut: command not found
etc/rcS.d/S48console-session.sh:line 36: [: =: unary operator expected

The system then spends a long time at:
Starting syslog log daemon: syslogd

Then it boots to a console prompt. When I log in it cannot find my home directory.

Most commands do not work. su cd and init 0 do work.

System has 3 Hard discs:

hda: Windows 2000
hdb: Mandrake 10.1
sda: Debian.

I can boot Mandrake and mount sda. All files and directories are there and readable.

Please can anyone tell me what to try now?
 
Old 11-11-2005, 01:45 AM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
sounds alot like a hdd problem.

Boot upmandrake, and then mount the debian drive.
Then:
Code:
chroot /mnt/debian/
play around, use it, any problems?

chroot will take you into your debian filesystem, so if any lib under it is corrupted, then the tools there will wet their pants all the same. If not, then the hdd is intact and it must be the kernel wetting its pants, or something entirely different.. (:
 
Old 11-11-2005, 02:01 AM   #3
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 863

Original Poster
Rep: Reputation: 45
The hard disc seems OK. I was able to mount it and read files. Even looked at the logs. Nothing was logged this morning - probably because syslogd would not start.

Yesterday I upgraded whatever patches were going. I wonder if that caused the problem (using unstable).

Another thing is that I removed the original 2.6.8 kernel (uninstalled, not purged), leaving 2.6.12 and 2.6.14. However I've not booted from 2.6.8 since about day 2 that I installed Debian as it was one of the first things I upgraded.

Will try your suggestion as soon as I can, hopefully beteewn getting home and having to go out again an hour later, in 9 hours time. Thanks
 
Old 11-11-2005, 09:48 AM   #4
rbochan
Member
 
Registered: Dec 2004
Location: Central New York
Distribution: Debian
Posts: 218

Rep: Reputation: 30
Let me guess... you have /usr as it's own partition?

There's a problem with grep where it looks for files (needlessly) under /usr, and since it hasn't been mounted yet, fails to find them and barfs all over the place. It's been fixed, but not yet uploaded to the repositories. Once you're able to get booted up, login as root, manually mount the necessary partitions and play with your net connection - I had to manually ifup eth0 in my case, and wasn't even able to start KDE, so it was all CLI for me.
Downgrade to the previous version of grep (2.5.1.ds2-2) and don't update grep again until 2.5.1.ds2-4 is in and you should be ok.

Welcome to Sid :o)

HTH
 
Old 11-11-2005, 05:39 PM   #5
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 863

Original Poster
Rep: Reputation: 45
Many Thanks! Grep was the problem.

Starnge thing though, I usually use Synaptic. When I used aptitude in insisted on removing a number of files it claimed were unneeded. I finally let it go on, figuring that I could always reinstall what I wanted. However one of the packages it removed was Synaptic.

However, I'm back up and running and it's half past midnight so it's powerdown time.

Thanks again.
 
Old 11-12-2005, 10:16 AM   #6
stealth_banana
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170

Rep: Reputation: 30
I too am having the exact same problem

Thanks for the tip. I was trying initscripts as only the root partition was being mounted, and I have /home /var /tmp and /usr on seperate partitions.

After logging in (as root) the following does work if you must run X and to get stuff working.

mount -a (get those partitions working)
ldconfig (all those lovely 'new' libraries to use)
then kdm (or however you start an X session)

anyway, now I am off to fix the problem hopefully.

Thanks for the help, glad to see it wasn't only me and that front fascia of my comp is safe for another day*


*percussive technology
 
  


Reply



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
Mandrake user wishes to start with Debian: Video card issues markg Debian 5 12-20-2004 11:30 PM
X wont start after deleting user account RockmanExe Mandriva 7 03-30-2004 08:03 PM
KDE 3.1 wont start at login, but only for one user nudeatom Mandriva 1 01-07-2004 04:26 PM
X wont start, Debian woodyI AlanL Linux - Newbie 13 07-27-2003 12:16 PM
X wont start-Debian woody AlanL Linux - Newbie 0 02-02-2003 01:10 AM

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

All times are GMT -5. The time now is 09:37 AM.

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