library path modified. System not functioning.

Hi all,

One of the developers on the machine (sparc, solaris 9) used crle command to set the library path to /usr/local/lib. This broke all the functionality and it became unresponsive after which it was turned off and then on, now its failing to even boot.

The error it shows is: failed to load preload.so.1 file not found and similar other errors related to lib files not found.

I tried booting into init 1 (boot -s) but to no avail.

Is there anything I could do to solve the problem apart from re-installation?

Further I'm not sure about the location of installtion media. Is solaris 9 available for download so that I can burn a CD and try to reinstate the system state?

Please help.

Regards,

Nikhil.

[760 byte] By [nikhilbe] at [2007-11-26 9:55:34]
# 1

> Hi all,

> One of the developers on the machine (sparc, solaris

> 9) used crle command to set the library path to

> /usr/local/lib. This broke all the functionality and

> it became unresponsive after which it was turned off

> and then on, now its failing to even boot.

Go over to docs.sun.com and find the man page for crle. The developer probably set the Library Path to only /usr/local/lib and not the usual suspects.

The man page should have an emergency way out of your situation. You will probably need to boot from cd, mount the root disk, and modify some file.

alan

alan_pae at 2007-7-7 1:16:30 > top of Java-index,General,Talk to the Sysop...
# 2
Boot off cd, mount the disks under /mnt and delete/var/ld/ld.config and /var/ld/64/ld.config
robertcohen at 2007-7-7 1:16:30 > top of Java-index,General,Talk to the Sysop...
# 3

Thanks Robert and Alan,

In the mean time the developer told me the command (crle -e LD_LIBRARY_PATH=/usr/local/lib -E LD_PRELOAD=preload.so.1) which caused this problem.

Then it was easy to boot off from the CD, mounting the partitions and deleting the file.

Thanks again.

Alan, Sorry I could not allot any duke dollars to you although theoretically you told the same thing.

Keep it up!

nikhilbe at 2007-7-7 1:16:30 > top of Java-index,General,Talk to the Sysop...
# 4
Thanks, but Duke Dollars don't interest me anyways. :-)alan
alan_pae at 2007-7-7 1:16:30 > top of Java-index,General,Talk to the Sysop...
# 5
Thanks again!Cheers!
nikhilbe at 2007-7-7 1:16:30 > top of Java-index,General,Talk to the Sysop...