Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can´t boot, Sol 9 , "cannot read /usr/lib/ld.so.1" help

Status
Not open for further replies.

Mauric

Technical User
Feb 18, 2003
72
0
0
CH
i have made on me i386 maschine a great mistake "ohhh noooooo....." please help me :-/
me maschine dont boot correct. :-(

If i want boot me machine with Solaris 9 i become the following
error and i cant work on me maschine !!

"cannot read /usr/lib/ld.so.1"

it´s possible to boot from me solaris cd´s to replace this file
"/usr/lib/ld.so.1" and to boot without STOP !!

please can you give me any information´s about i can solve this error
please help

iam realy happy for any mesages
Best regards
Maurizio

 
Boot from the Software 1 of 2 CD (OK prompt boot cdrom -s) and copy the file from there to /usr/lib/ld.so.1
 
After you follow Ken's advise, make sure that you have a symbolic link "lib" pointing to "./usr/lib" in your root directory.



Steve
 
After you follow Ken's advice, make sure that you have got a symbolic link in your root directory, called "lib" pointing to "./usr/lib"



Steve
 
first thanks for your fast feedback´s
i boot now from cdrom and i become the msg

"INIT SINGLE MODE"
#
:)

i have found the file under /usr/lib/ld.so.1

i think that i need to mount me scsi drive now, how i can do
this step "mount ..... ?" and on witch place i can copy this ?

cp /usr/lib/ld.so.1 /to/where/?
---------------- ------------
^ ^
cdrom i think,
the new mounted
hard drive

can you give me please any more informations to solve me probelm
sorry for me misunderstanding question

thanks in advance
Maurizio
 
mount /dev/dsk/c0t0d0s0 /a. Then cd /usr/lib on the cd and cp ld.so.1 /a/usr/lib

umount /a and you should be able to reboot.
 
Thanks Ken for your help,

after this steps that you have gived me i have copy´d this file to the right place, i have now checked two times

but if i start me machine without cd it´s come the same msg

"cannot read /usr/lib/ld.so.1"

please can you give me some more informations please.
i have proved to make a symbolic link but the error
comes with writing error

i thank you for this time
best regards
Maurizio

 
Mauric,
Don't understand what is looking for library ld.so.1. My thinking that it is a 3rd party application loaded on your workstation. Can you boot to single user mode? Use command: boot -s

If you can, you will be asked to enter the root password. Once done, you will be at run level S. Next thing you should try to is getting to run level 2. Command: init 2

This command will run the rc scripts for run level 2. If you are successful, the next step is to go to run level 3. This level is the normal running level. My suggestion is that you go to /etc/rc3.d and run all the scripts beginning with a "S" in order. If you get the error, you should be able to figure out what application is looking for it.

If you get the error message during the init 2, restart the computer with "boot -s" and start running all the scripts starting with "S" in order in /etc/rc2.d. Again, if you get the error, you should be able to figure out what is looking for it.
 
Hello Together,

i have made here a montser thread :)
it´s not really to smile, it´s more the time for crying :-(

the status from me i386 solaris 9 machine are following,
if i want boot from hdrive with the option "boot -s" i become
the same error.

cannot read /usr/lib/ld.so.1
# ls
cannot read /usr/lib/ld.so.1
killed
# pwd
cannot read /usr/lib/ld.so.1
8killed
# and so on

and i dont see on witch level the machine are now.
and i cant send any command to me machine with success !!

i have boot with cdrom boot -s and it´s working fine
i made after this the following option "fsck -F UFS /dev/rdsk/c0d0s0"
and no error are found !! (the hard drive are OK).

me next step was mount the hdrive with
mount /dev/rdsk/c0d0s0 /a (!! thanks ken.. !!)
and i have do following

ls -ls /a/usr/lib/*
ld.so.1

only one file are found ?!, i think that not correct ????!!!

after i have a look to me cdrom drive (/cdrom/usr/lib/*)
i see that the structure of the cdrom are more then 1 files,
so i copied all files from /cdrom/usr/lib/* to /a/usr/lib/*
with alot of hope that now working,

without success :-(
for any more informations bevor i need to setup new me machine
i am really happy ........

i want say on this time many Thanks to all that whe have gived
many tips and it´s really the best discussion group that i have see !!!!!

best regrads
Maurizio

 
What are the permissions on the server version of ld.so.1? As far as I can tell they should be rwxr-xr-x (ie chmod 755), and owned by root:bin
 
thanks everybody for this know how traffic
iam impressed from this forum.

i have now made a safe of the data and now
now i have start the setup new

i think thats are the best way, it´s
possible that not only this file
are missing on the damaged system.

i have train that i dont can give
to many people the hole right on a solaris machine

to become a stable machine on this way its only
to setup new.

i thanks everybody and i wish you a where nice day

best regrads
and meny thanks

Maurizio
 
I agree you're probably taking the best (and quickest) course. Good luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top