[TriLUG] Vexing Command Line problem
Paul Boyle via TriLUG
trilug at trilug.org
Tue Jul 31 15:57:06 EDT 2018
On Tue, 31 Jul 2018 15:03:58 -0400
Matt Flyer <matt at noway2.thruhere.net> wrote:
> One thing that this does remind me of is that, on some distributions
> at least, if you try to execute a root level file without root
> privileges is that even if it really does exist you still get the
> error No such file or directory. For grins and giggles, I would try
> running one of these executables as root and see if it gets a
> different result.
I do get a different error (forgive the line wrap):
bruker:/~% su -
Password:
Last login: Tue Jul 31 15:31:10 EDT 2018 on pts/0
[root at ewald ~]# /usr/local/bn/bin/python2.7
-bash: /usr/local/bn/bin/python2.7: /lib/ld-linux.so.2: bad ELF
interpreter: No such file or directory
[root at ewald ~]#
Hmm.
So, I did some investigating. It turns out that the 32bit ld-linux.so.2
(a sym link) ld-2.17.so and ld-2.17.so are missing on this system. In
fact, it looks like a lot of 32bit libraries are missing on the
malfunctioning system.
On all systems, if I make the current working directory /, I can see
these sym links:
lrwxrwxrwx 1 root root 7 May 28 10:34 bin -> usr/bin
lrwxrwxrwx 1 root root 9 May 28 10:34 lib64 -> usr/lib64
lrwxrwxrwx 1 root root 7 May 28 10:34 lib -> usr/lib
lrwxrwxrwx 1 root root 8 May 28 10:34 sbin -> usr/sbin
drwxr-xr-x. 13 root root 4096 May 28 10:34 usr
If I cd /lib on each system and issue the command `ls -l | wc -l`, the
functioning systems have 512 and 540 entries. When I issue that
command on the malfunctioning system, I get 48 entries in the directory
listing. I am now supposing that somehow during the upgrade, the 32bit
compatibility libraries got wiped out. Sigh.
Paul
--
Paul D. Boyle, Ph. D.
Manager, X-ray Facility
Department of Chemistry
Western University
London, ON N6A 5B7
Canada
GPG Fingerprint: 8ECE 516D 9046 FE83 4A46 7E8E D720 555D 8CC3 EC6B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://www.trilug.org/pipermail/trilug/attachments/20180731/8ea7acc9/attachment.pgp>
More information about the TriLUG
mailing list