LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-19-2008, 10:01 AM   #1
UTKEngineer
Member
 
Registered: Jul 2003
Location: Tx, USA
Distribution: FC 7-64
Posts: 37

Rep: Reputation: 15
FC 7 won't boot after system updates :(


Hello all,

As the title says, I'm running 64-bit Fedora Core. On Friday I installed several recommended updates (whatever was recommended, don't know which ones). This morning I come in and try to boot my system only to be greeted by the following error:


/bin/nash: error while loading shared libraries: libparted-1.8.so.6: cannot open shared object file: no such file or directory
Kernal panic - not syncing: Attempted to kill init








Kernal alive



And that's it. It doesn't dump me to a shell or anything, just sits there staring at me.

Any ideas?!!?!?!?!

Scott
 
Old 02-19-2008, 11:23 AM   #2
weisso5
Member
 
Registered: Oct 2007
Location: New York City
Distribution: Gentoo, FC
Posts: 133

Rep: Reputation: 16
okay, interesting situation but an educational one.

1. NEVER install updates without reading about them first, recommended means you probably should install them, but you DON'T have too.

2. Backup, backup, backup. When performing updates always make sure you have a backup so if a situation like you can just roll back to a backup.

3. Need to do some detective work to find out what happened:
A. Boot off Live CD
B. Chroot into environment
C. Check Logs
D. Report back on which updates were installed or any config files that changed.

-weisso
 
Old 02-19-2008, 11:54 AM   #3
UTKEngineer
Member
 
Registered: Jul 2003
Location: Tx, USA
Distribution: FC 7-64
Posts: 37

Original Poster
Rep: Reputation: 15
Ok, how do I check logs? Sorry!


Scott
 
Old 02-19-2008, 12:42 PM   #4
weisso5
Member
 
Registered: Oct 2007
Location: New York City
Distribution: Gentoo, FC
Posts: 133

Rep: Reputation: 16
no problem.. Once you have "chroot'd" into your environment, cd to /var/logs

then you should be able to list them by modification time (-t flag).

So code would look like:

cd /var/log

ls -lrt

EXAMPLE OUTPUT:
#ls -lrt
-rw------- 1 root root 23685 Jan 14 11:25 yum.log
-rw-r--r-- 1 root root 45540 Feb 19 04:46 rpmpkgs
-rw------- 1 root root 7075 Feb 19 06:28 maillog
-rw-r--r-- 1 root root 1171 Feb 19 10:12 messages
-rw------- 1 root root 4921 Feb 19 13:01 cron
-rw-rw-r-- 1 root utmp 9216 Feb 19 13:38 wtmp
-rw-r--r-- 1 root root 947 Feb 19 13:38 secure
-rw-r--r-- 1 root root 151548 Feb 19 13:38 lastlog

Now you want to check the yum log, assuming you used yum to install updates:

#cat yum.log

Example output:
Oct 10 16:01:02 Installed: superduperapp.x86_64 2.2.9-0.fc5.1
Oct 22 17:26:30 Installed: bar.x86_64 1.0.1-3.fc5
Jan 07 14:21:50 Installed: foo.x86_64 1.6.12-1.fc5
Jan 14 11:25:08 Installed: blah.x86_64 3.7.3-3.fc5

Paste the last few lines in reply, so we can see what updated
 
Old 02-19-2008, 01:22 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Wouldn't it just be easier to try and boot to an older kernel? You hit a key when it says booting in X seconds.
 
Old 02-19-2008, 01:29 PM   #6
UTKEngineer
Member
 
Registered: Jul 2003
Location: Tx, USA
Distribution: FC 7-64
Posts: 37

Original Poster
Rep: Reputation: 15
Ok - more errors:

Attempting to use the chroot command, I do this:
Code:
mkdir /newroot
mount /dev/sda2 /newroot
chroot /newroot
And get this error

chroot: cannot run comman '/bin/bash': Exec format error


All the same, I was able to mount sda2 and look at the logs. Here are the past two updates:


-rw-r--r-- 1 root root 146000 2008-02-05 10:36 lastlog
-rw-r--r-- 1 root root 34379 2008-02-05 12:27 rpmpkgs
-rw-r--r-- 1 root root 64557 2008-02-05 12:38 Xorg.0.log.old
-rw-r--r-- 1 root root 29325 2008-02-07 13:16 dmesg
drwxr-xr-x 2 root root 4096 2008-02-07 13:17 gdm
drwxr-x--- 2 root root 4096 2008-02-07 13:19 audit
-rw------- 1 root root 0 2008-02-07 14:01 tallylog
-rw------- 1 root root 0 2008-02-07 14:01 faillog
-rw------- 1 root root 17141 2008-02-07 14:02 yum.log
-rw-r--r-- 1 root root 769185 2008-02-07 14:02 scrollkeeper.log
-rw------- 1 root root 3648 2008-02-07 14:28 maillog
-rw-r--r-- 1 root root 64612 2008-02-07 14:28 Xorg.0.log
-rw------- 1 root root 2719 2008-02-07 14:29 cron
-rw------- 1 root root 3855 2008-02-07 14:29 secure
-rw------- 1 root root 718963 2008-02-07 14:29 messages
-rw-rw-r-- 1 root utmp 76800 2008-02-07 14:29 wtmp


Here is the yum.log:

Feb 07 12:58:51 Updated: bash - 3.2-20.fc7.x86_64
Feb 07 12:58:52 Updated: libxml2 - 2.6.31-1.fc7.x86_64
Feb 07 12:58:53 Updated: e2fsprogs-libs - 1.40.2-3.fc7.x86_64
Feb 07 12:58:53 Updated: cairo - 1.4.14-1.fc7.x86_64
Feb 07 12:58:54 Updated: cyrus-sasl-lib - 2.1.22-8.fc7.x86_64
Feb 07 12:58:55 Updated: openldap - 2.3.34-6.fc7.x86_64
Feb 07 12:58:55 Updated: libacl - 2.2.39-7.fc7.x86_64
Feb 07 12:58:56 Updated: libXfont - 1.2.9-3.fc7.x86_64
Feb 07 12:58:58 Updated: tomcat5-servlet-2.4-api - 5.5.25-3jpp.1.fc7.x86_64
Feb 07 12:58:58 Updated: dbus-python - 0.82.3-1.fc7.x86_64
Feb 07 12:58:59 Updated: gimp-libs - 2:2.4.3-1.fc7.x86_64
Feb 07 12:58:59 Updated: libutempter - 1.1.5-1.fc7.x86_64
Feb 07 12:59:00 Updated: bind-libs - 31:9.4.2-3.fc7.x86_64
Feb 07 12:59:02 Updated: netpbm - 10.35.32-2.fc7.x86_64
Feb 07 12:59:02 Updated: libvolume_id - 116-3.fc7.x86_64
Feb 07 12:59:03 Updated: libicu - 3.6-20.fc7.x86_64
Feb 07 12:59:04 Updated: libexif - 0.6.15-3.fc7.x86_64
Feb 07 12:59:04 Updated: libsmbios-libs - 0.13.13-1.fc7.x86_64
Feb 07 12:59:05 Updated: lftp - 3.5.10-4.fc7.x86_64
Feb 07 12:59:06 Updated: libcdio - 0.78.2-4.fc7.x86_64
Feb 07 12:59:07 Updated: iptables - 1.3.8-6.fc7.x86_64
Feb 07 12:59:14 Updated: vim-common - 2:7.1.211-1.fc7.x86_64
Feb 07 12:59:14 Installed: paps-libs - 0.6.8-1.fc7.x86_64
Feb 07 12:59:14 Installed: sg3_utils-libs - 1.23-1.fc7.x86_64
Feb 07 12:59:15 Updated: libgpod - 0.6.0-3.fc7.x86_64
Feb 07 12:59:19 Updated: rhythmbox - 0.10.1-7.fc7.x86_64
Feb 07 12:59:20 Updated: libshout - 2.2.2-2.fc7.x86_64
Feb 07 12:59:20 Updated: paps - 0.6.8-1.fc7.x86_64
Feb 07 12:59:20 Updated: vim-enhanced - 2:7.1.211-1.fc7.x86_64
Feb 07 12:59:21 Updated: iptables-ipv6 - 1.3.8-6.fc7.x86_64
Feb 07 12:59:23 Updated: netpbm-progs - 10.35.32-2.fc7.x86_64
Feb 07 12:59:23 Updated: bind-utils - 31:9.4.2-3.fc7.x86_64
Feb 07 12:59:24 Updated: xterm - 231-1.fc7.x86_64
Feb 07 12:59:25 Updated: tomcat5-jsp-2.0-api - 5.5.25-3jpp.1.fc7.x86_64
Feb 07 12:59:26 Updated: xorg-x11-server-Xorg - 1.3.0.0-16.fc7.x86_64
Feb 07 12:59:26 Updated: acl - 2.2.39-7.fc7.x86_64
Feb 07 12:59:26 Updated: vim-minimal - 2:7.1.211-1.fc7.x86_64
Feb 07 12:59:27 Updated: libsmbclient - 3.0.28-0.fc7.x86_64
Feb 07 12:59:27 Updated: mutt - 5:1.5.17-2.fc7.x86_64
Feb 07 12:59:28 Updated: e2fsprogs - 1.40.2-3.fc7.x86_64
Feb 07 12:59:32 Updated: groff - 1.18.1.4-8.fc7.x86_64
Feb 07 12:59:32 Updated: dhclient - 12:3.0.5-42.fc7.x86_64
Feb 07 12:59:33 Updated: dcraw - 8.80-1.fc7.x86_64
Feb 07 12:59:33 Updated: libdhcp4client - 12:3.0.5-42.fc7.x86_64
Feb 07 12:59:34 Updated: redhat-menus - 8.9.10-4.fc7.noarch
Feb 07 12:59:35 Updated: yum - 3.2.8-2.fc7.noarch
Feb 07 12:59:35 Updated: python-iniparse - 0.2.3-3.fc7.noarch
Feb 07 13:00:04 Updated: evolution - 2.10.3-7.fc7.x86_64
Feb 07 13:00:10 Updated: pirut - 1.3.28-1.fc7.noarch
Feb 07 13:00:11 Updated: yum-updatesd - 3.2.8-2.fc7.noarch
Feb 07 13:00:14 Updated: urw-fonts - 2.4-1.fc7.noarch
Feb 07 13:00:14 Updated: groff-perl - 1.18.1.4-8.fc7.x86_64
Feb 07 13:00:17 Updated: tzdata - 2007k-1.fc7.noarch
Feb 07 13:00:18 Updated: cyrus-sasl-lib - 2.1.22-8.fc7.i386
Feb 07 13:00:18 Updated: libxml2 - 2.6.31-1.fc7.i386
Feb 07 13:00:18 Updated: openldap - 2.3.34-6.fc7.i386
Feb 07 13:00:18 Updated: cairo - 1.4.14-1.fc7.i386
Feb 07 13:00:18 Updated: cyrus-sasl-md5 - 2.1.22-8.fc7.x86_64
Feb 07 13:00:18 Updated: cyrus-sasl-plain - 2.1.22-8.fc7.x86_64
Feb 07 13:00:23 Updated: libpurple - 2.3.1-1.fc7.x86_64
Feb 07 13:00:45 Updated: evolution - 2.10.3-7.fc7.i386
Feb 07 13:00:50 Updated: libutempter - 1.1.5-1.fc7.i386
Feb 07 13:00:51 Updated: lftp - 3.5.10-4.fc7.i386
Feb 07 13:00:51 Updated: libacl - 2.2.39-7.fc7.i386
Feb 07 13:00:51 Updated: e2fsprogs-libs - 1.40.2-3.fc7.i386
Feb 07 13:00:51 Installed: sg3_utils-libs - 1.23-1.fc7.i386
Feb 07 13:00:59 Updated: nautilus-sendto - 0.12-1.fc7.x86_64
Feb 07 13:01:09 Updated: pidgin - 2.3.1-1.fc7.x86_64
Feb 07 13:01:11 Updated: libxml2-python - 2.6.31-1.fc7.x86_64
Feb 07 13:01:11 Updated: libgpod - 0.6.0-3.fc7.i386
Feb 07 13:01:12 Updated: rhythmbox - 0.10.1-7.fc7.i386
Feb 07 13:01:14 Updated: coreutils - 6.9-6.fc7.x86_64
Feb 07 13:01:17 Updated: pam - 0.99.7.1-5.2.fc7.x86_64
Feb 07 13:01:18 Updated: policycoreutils - 2.0.16-16.fc7.x86_64
Feb 07 13:01:20 Updated: samba-common - 3.0.28-0.fc7.x86_64
Feb 07 13:01:22 Updated: hsqldb - 1:1.8.0.8-1jpp.5.fc7.x86_64
Feb 07 13:01:45 Updated: openoffice.org-core - 1:2.3.0-6.5.fc7.x86_64
Feb 07 13:01:46 Updated: openoffice.org-calc - 1:2.3.0-6.5.fc7.x86_64
Feb 07 13:01:46 Updated: nss_ldap - 257-4.fc7.x86_64
Feb 07 13:01:47 Updated: system-config-printer-libs - 0.7.74.10-2.fc7.x86_64
Feb 07 13:01:49 Updated: openoffice.org-math - 1:2.3.0-6.5.fc7.x86_64
Feb 07 13:01:49 Updated: openoffice.org-writer - 1:2.3.0-6.5.fc7.x86_64
Feb 07 13:01:50 Updated: openoffice.org-draw - 1:2.3.0-6.5.fc7.x86_64
Feb 07 13:01:51 Updated: openoffice.org-impress - 1:2.3.0-6.5.fc7.x86_64
Feb 07 13:01:52 Updated: openoffice.org-graphicfilter - 1:2.3.0-6.5.fc7.x86_64
Feb 07 13:01:53 Updated: samba-client - 3.0.28-0.fc7.x86_64
Feb 07 13:01:54 Updated: xorg-x11-xfs - 1:1.0.5-1.fc7.x86_64
Feb 07 13:01:54 Updated: cyrus-sasl - 2.1.22-8.fc7.x86_64
Feb 07 13:01:54 Updated: udev - 116-3.fc7.x86_64
Feb 07 13:01:55 Updated: autofs - 1:5.0.1-31.x86_64
Feb 07 13:01:56 Updated: selinux-policy - 2.6.4-70.fc7.noarch
Feb 07 13:01:56 Installed: xdg-utils - 1.0.2-4.fc7.noarch
Feb 07 13:01:58 Updated: pam - 0.99.7.1-5.2.fc7.i386
Feb 07 13:02:09 Updated: gimp - 2:2.4.3-1.fc7.x86_64
Feb 07 13:02:19 Updated: selinux-policy-targeted - 2.6.4-70.fc7.noarch
Feb 07 13:02:19 libsemanage.semanage_install_sandbox: genhomedircon returned error code 1.

Feb 07 13:02:20 Updated: system-config-printer - 0.7.74.10-2.fc7.x86_64
Feb 07 13:02:20 Updated: openoffice.org-xsltfilter - 1:2.3.0-6.5.fc7.x86_64
Feb 07 13:02:20 Updated: openoffice.org-langpack-en - 1:2.3.0-6.5.fc7.x86_64
Feb 07 13:02:20 Updated: policycoreutils-gui - 2.0.16-16.fc7.x86_64
Feb 07 13:02:21 Updated: logwatch - 7.3.4-10.fc7.noarch
Feb 07 13:02:37 Installed: kernel - 2.6.23.14-64.fc7.x86_64
Feb 07 13:02:37 /sbin/ldconfig: Input file /usr/lib64/libbdevid.so.6.0.9 not found.

/sbin/ldconfig: Input file /usr/lib64/libnl.so.1.0-pre5 not found.

/sbin/ldconfig: Input file /usr/lib64/libdhcp6client-0.10.so.0 not found.

/sbin/ldconfig: Input file /usr/lib64/libparted-1.8.so.6.0.0 not found.

/sbin/ldconfig: Input file /usr/lib64/libdhcp.so.1 not found.

/sbin/ldconfig: Input file /usr/lib64/libpopt.so.0.0.0 not found.

/sbin/ldconfig: Input file /usr/lib64/libnash.so.6.0.9 not found.


Feb 07 13:02:38 Updated: nss_ldap - 257-4.fc7.i386
 
Old 02-19-2008, 01:41 PM   #7
UTKEngineer
Member
 
Registered: Jul 2003
Location: Tx, USA
Distribution: FC 7-64
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by lazlow View Post
Wouldn't it just be easier to try and boot to an older kernel? You hit a key when it says booting in X seconds.
Well, crap. NOW you suggest this

The older kernel works. So.... now what do I do?
 
Old 02-19-2008, 03:09 PM   #8
weisso5
Member
 
Registered: Oct 2007
Location: New York City
Distribution: Gentoo, FC
Posts: 133

Rep: Reputation: 16
As i said earlier:

Quote:
interesting situation but an educational one.
the chroot error is because the command wasn't executed correctly:

mkdir /newroot
mount /dev/sda2 /newroot
chroot /newroot

should be:
livecd ~ # mkdir /mnt/newroot
livecd ~ # mount /dev/sda2 /mnt/newroot
livecd ~ # mkdir /mnt/newroot/boot
livecd ~ # mount /dev/bootpartition /mnt/newroot/boot
livecd / # mount -t proc proc /mnt/newroot/proc
livecd / # chroot /mnt/newroot /bin/bash
livecd / # env-update && source /etc/profile
>>> Regenerating /etc/ld.so.cache...


Yes, the kernel rollback is an easy way to get the computer back up, but you need to be able to understand what happened, so you don't just go in a circle.
 
Old 02-19-2008, 03:44 PM   #9
UTKEngineer
Member
 
Registered: Jul 2003
Location: Tx, USA
Distribution: FC 7-64
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by weisso5 View Post
Yes, the kernel rollback is an easy way to get the computer back up, but you need to be able to understand what happened, so you don't just go in a circle.

Ok, do I still need to do the chroot command?

If not, where do I go from here? It seems I installed a new kernel and it's not compatible with my system, no? How do I uninstall the new kernel. And how do I install the new kernel such that it doesn't break my system?

Thanks!
 
Old 02-19-2008, 04:04 PM   #10
weisso5
Member
 
Registered: Oct 2007
Location: New York City
Distribution: Gentoo, FC
Posts: 133

Rep: Reputation: 16
Please read the guide on the Fedora Wiki for instructions on how to upgrade via yum. Here is the link:

http://fedoraproject.org/wiki/YumUpgradeFaq
 
Old 02-19-2008, 05:11 PM   #11
UTKEngineer
Member
 
Registered: Jul 2003
Location: Tx, USA
Distribution: FC 7-64
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by weisso5 View Post
Please read the guide on the Fedora Wiki for instructions on how to upgrade via yum. Here is the link:

http://fedoraproject.org/wiki/YumUpgradeFaq
Ok, while attempting to follow those instructions, I get an error after issuing the telinit 3 command. The computer tries to start xfs and fails. Any suggestions?

Scott
 
Old 02-19-2008, 05:47 PM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Doesn't really matter since you don't need Xfs while you don't run the graphical shell. I'd say just continue.
 
Old 02-19-2008, 06:01 PM   #13
UTKEngineer
Member
 
Registered: Jul 2003
Location: Tx, USA
Distribution: FC 7-64
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by unSpawn View Post
Doesn't really matter since you don't need Xfs while you don't run the graphical shell. I'd say just continue.
It won't let me continue. The system hangs after the error.
 
Old 02-20-2008, 10:21 AM   #14
weisso5
Member
 
Registered: Oct 2007
Location: New York City
Distribution: Gentoo, FC
Posts: 133

Rep: Reputation: 16
did you stop the X environment before switching run levels?
 
Old 02-20-2008, 12:10 PM   #15
UTKEngineer
Member
 
Registered: Jul 2003
Location: Tx, USA
Distribution: FC 7-64
Posts: 37

Original Poster
Rep: Reputation: 15
weisso5,

I booted to the login screen, used crtl+alt+F1 to get a terminal, logged in as root, and issued "telinit 3". It goes through a checklist of programs/services and has two errors, the first has to do with python and claims access was denied to a file, the second is the error w/ xfs which is also attributes to denied file access and then freezes. Sorry for the trouble, but this is all over my head.

Scott
 
  


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
Lost GLX after doing system updates ?!? ECACE Mandriva 5 11-26-2007 04:53 PM
RedHat updates on Classified System Trunnell Linux - Security 2 11-01-2006 10:30 AM
Linux system updates via ISA bolajiwey Linux - Security 7 06-05-2006 11:07 AM
help with long delayed system updates(?) wooshyFox Debian 1 08-22-2005 07:42 AM
Installed all updates, now system is messed up!!! Guppy329 Fedora 3 04-14-2005 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:25 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