William H. Magill on 1 Aug 2006 00:25:16 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] what would cause this...?



On 31 Jul, 2006, at 15:37, Gary Coulbourne wrote:

On Jul 31, 2006, at 3:31 PM, George Gallen wrote:
but no matter which directory you cd to, if you 'ls' you would get a Segment Fault
if you did a "ps -ef" it would only show you a 3 or so processes (even as root)


But If I ftp'd in, I could ls directories fine.
I would suspect that the c library (/lib/libc.so) was corrupted... ftp usually has it's own copy, and so connections through there would work while ordinary logins would have trouble. I've seen machines where someone tried to upgrade libc and screwed it up, and they almost always show the behavior you describe.

Was someone in the process of doing an upgrade of any sort?

As Gary mentioned, a screwed up upgrade is the classic problem.

Both "ps" and "ls" depend on in-core information. If you upgrade "stuff" but don't reboot (or otherwise reload) the kernel to get the matching "stuff" loaded, you get very weird results with those two commands.




T.T.F.N. William H. Magill # Beige G3 [Rev A motherboard - 300 MHz 768 Meg] OS X 10.2.8 # Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.4.6 # PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg] Tru64 5.1a # XP1000 [Alpha 21264-3 (EV6) - 256 meg] FreeBSD 5.3 # XP1000 [Alpha 21264-A (EV 6.7) - 384 meg] FreeBSD 5.3 magill@mcgillsociety.org magill@acm.org magill@mac.com whmagill@gmail.com


___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug