Problems with /etc/ld.so.cache

Problems with /etc/ld.so.cache

Post by Guido Gonzat » Mon, 21 Oct 1996 04:00:00



Dear Linux hackers & gurus,

my Slackware Linux 3.0 (kernel 1.2.13) is close do death. After a year
of faithful service, the other day I got this message right after login:

  -bash: can't open cache '/etc/ld.so.cache'
  bash: /etc/profile: Permission denied
  grep: can't open cache '/etc/ld.so.cache'

Now I can only login as root, and I still get occasional error messages
of this kind. I posted a message seeking for help and I obtained some
from some kind guys. To try and fix this problem I've tried the
following:

- I ran ldconfig
- I copied /etc/ld.so.cache off my rescue disks
- I reinstalled the ldso package off my Slackware cd-rom

None of these attempts worked. Now, I'm going to get rid of Slackware
anyway because this is only the latest in a long series of bugs and
glitches, but in order to better understand the inner working of Linux
I'd like to know:

- what caused this error? (my disk is apparently in perfect condition)
- why isn't root affected but partially?
- what is the standard way to fix such a situation?

IMO this is very serious, for I wouldn't think of installing Slackware
again on the university PCs if I were to expect such instability. I'm
going to switch to Debian or Red Hat.

Any ideas/suggestions/similar experiences?

Thank you in advance.

Guido  =8-(                                        

-----------------------------------------------------------------------
Guido Gonzato             | Universita' di Bologna, Dip. di Fisica,


                          | Tel. +39-51-6305001; Fax +39-51-6305058
-----------------------------------------------------------------------

 
 
 

Problems with /etc/ld.so.cache

Post by B.A.McCau.. » Tue, 29 Oct 1996 04:00:00



>Dear Linux hackers & gurus,

>my Slackware Linux 3.0 (kernel 1.2.13) is close do death. After a year
>of faithful service, the other day I got this message right after login:

>  -bash: can't open cache '/etc/ld.so.cache'
>  bash: /etc/profile: Permission denied
>  grep: can't open cache '/etc/ld.so.cache'

>Now I can only login as root, and I still get occasional error messages
>of this kind. I posted a message seeking for help and I obtained some
>from some kind guys.

Sounds to me like you've been doing reckless things with chmod.

chmod a+rx / /etc

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/


 
 
 

1. weird problem with /etc/ld.so.cache

hi netters,

I'm having a strange problem with wabi and Netscape: wabi frequently
complains about the fact that is unable to read /etc/ld.so.cache, and
Nestscape just doesn't work (nothing happens afer typeing the netscape
command). Both the programs work in some cases and *always* if I log
out and start a new session. Any suggestion will be apreciated. This
is my configuration: Dual PPro 200MHz, 256 MB RAM, AHA 2940, eth
3c900, kernel 2.0.30 (SMP option active), RedHat 4.1, Xserver
AcceleratedX 3.1, CDE 1.1.10.

thanks
                                                      marco

2. Anyone around Montgomery AL going to Atlanta Linux Show?

3. Help...problem with /etc/ld.so.cache

4. Redhat 5.0 via ftp

5. /lib/ld.so: cache '/etc/ld.so.cache' has wrong version ?

6. Upgrade glibc for my RH8 installation

7. can't open cache /etc/ld.so.cache

8. dtc3270.s

9. cache '/etc/ld.so.cache' has wrong version

10. boot problem: /etc/ld.so.cache corrupt

11. HELP!!! /etc/ld.so/cache : cache corrupt!

12. Help - Corrupt '/etc/ld.so.cache'

13. Rebuild/recreate /etc/ld.so.cache?