[TriLUG] Server DEAD!

Jeremy Portzer jeremyp at pobox.com
Thu Aug 28 12:28:05 EDT 2003


On Thu, 2003-08-28 at 12:19, Joseph Tate wrote:

> Seg Faults can also happen when you try to use the wrong version of 
> glibc, or kernel.  up2date should handle that properly though.  If you 
> can boot off a rescue disk, and then chroot to your system, run rpm -A | 
> grep kernel and rpm -A | grep glibc.

If it's a problem with glibc, doing "chroot /mnt/sysimage" will not
work, because that will use the messed up glibc on the system.

Instead, use the --root argument to rpm.  This will use the working rpm
and glibc binaries from the rescue environment to run rpm, but will
check the databases and file system of the installed system.  For
example:

	rpm --root /mnt/sysimage-q --queryformat
	'%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH}\n' glibc kernel
(that should all be on one line)

That command uses a custom query format to show the architecture of the
installed RPMs as well as the name, version, and release.  A common
problem is to install an i386 version of glibc where an i686 or athlon
kernel with NPTL is being used; they are not compatible.

--Jeremy

-- 
/---------------------------------------------------------------------\
| Jeremy Portzer       jeremyp at pobox.com       trilug.org/~jeremy     |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
\---------------------------------------------------------------------/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030828/a64ca84f/attachment.pgp>


More information about the TriLUG mailing list