On 01/03/2019 02:42 PM, Greg Wooledge wrote:
On Thu, Jan 03, 2019 at 02:30:49PM -0500, Stephen P. Molnar wrote:
root@AbNormal:/home/comp# ls -ld / /etc /etc/ld.*
drwxr-xr-x 26 root root 4096 Dec 19 13:17 /
drwxr-xr-x 134 root root 12288 Jan 3 09:43 /etc
-rw-r--r-- 1 root root 237114 Dec 26 14:47 /etc/ld.so.cache
-rw------- 1 root root 12288 Jan 3 12:49 /etc/ld.so.cache~
-rw-r--r-- 1 root root 34 Apr 9 2017 /etc/ld.so.conf
drwxr-xr-x 2 root root 4096 Aug 22 07:41 /etc/ld.so.conf.d
Well... /etc isn't missing, at least.
When I run "strace /sbin/ldconfig" on my system, I see this line:
rename("/etc/ld.so.cache~", "/etc/ld.so.cache") = 0
So, it seems that your ldconfig is generating the /etc/ld.so.cache~ file,
or at least a partial one (12288 is a suspiciously ROUND number, being
precisely 3 times 4 kilobytes). And then ... something bad happens before
it can rename it to /etc/ld.so.cache. Or finish writing it.
Are you out of disk space? Granted, I would have expected a DIFFERENT
error message in that case, but it's a thing to check.
You might consider simply copying the /usr/bin/strace file from a
different Debian system onto this one, just so you can run it.
OK. I happen to have Debian Stretch in a virtual machine for testing
purposes.
strace is in /usr/bin on there. I copied it to the host and ran it.
comp@AbNormal:~$ sudo ./strace
[sudo] password for comp:
./strace: must have PROG [ARGS] or -p PID
Try './strace -h' for more information.
I'm totally at sea here, which switch should iI use?
Also:
comp@AbNormal:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 789M 18M 772M 3% /run
/dev/sda1 23G 23G 0 100% / <- could this
e a problem?
tmpfs 3.9G 12K 3.9G 1% /dev/shm
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda7 1.9G 6.5M 1.7G 1% /tmp
/dev/sda5 9.2G 6.0G 2.8G 69% /var
/dev/sda8 416G 103G 292G 27% /home
/dev/sdc1 20G 301M 19G 2% /sdc1
/dev/sdc2 439G 169G 270G 39% /sdc2
/dev/sdb1 1.8T 288G 1.5T 17% /sdb1
tmpfs 789M 4.0K 789M 1% /run/user/110
tmpfs 789M 28K 789M 1% /run/user/1000
I have all of my application software in /home/comp/Apps
--
Stephen P. Molnar, Ph.D.
Consultant
www.molecular-modeling.net
(614)312-7528 (c)
Skype: smolnar1