Solaris fixed
I found that the runtime library configuration is stored in /var/ld/ld.config and /var/ld/64/ld.config. So I had a look in /mnt/var. Damn. Empty.So var is mounted separately. But from where. Using linux /etc/fstab would show. But in Solaris? Consulting google showed me that /etc/vfstab is the place.
# cat /etc/vfstab
...
/dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /var ufs 1 no logging
....
So I mounted /dev/dsk/c0t0d0s5.
# mount -F ufs /dev/dsk/c0t0d0s5 /mnt
# cat /mnt/ld/ld.config
XX/usr/local/lib
Bingo! So remove ld.config.
# rm /mnt/ld/ld.config
# umount mnt
# halt
Now Solaris boots fine again.

0 Comments:
Post a Comment
<< Home