Operating System - HP-UX
1834736 Members
2899 Online
110070 Solutions
New Discussion

hp-ux 11i system cannot boot from single mode to level 1

 
SOLVED
Go to solution
Nikolai Roubinov
Occasional Contributor

hp-ux 11i system cannot boot from single mode to level 1

System message:

crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002

Someone have any idea?
thanks a lot
10 REPLIES 10
harry d brown jr
Honored Contributor

Re: hp-ux 11i system cannot boot from single mode to level 1


Do you have /usr MOUNTED???

You might have to fsck it first, but then a mount will work.

live free or die
harry
Live Free or Die
Clemens van Everdingen
Honored Contributor

Re: hp-ux 11i system cannot boot from single mode to level 1

Hi.

The error means:

# grep 2 /usr/include/sys/errno.h
/* $Header: errno.h,v 1.37.106.2 97/07/12 22:11:35 kcs Exp $ */
#define ENOENT 2 /* No such file or directory */

So indeed th fs might not be mounted or the file/directory is not there.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Nikolai Roubinov
Occasional Contributor

Re: hp-ux 11i system cannot boot from single mode to level 1

Thanks,
System lost /usr/lib/dld.sl file. I check it.
Can I remove boot disk drive (vg00) to another system and save some data.
harry d brown jr
Honored Contributor

Re: hp-ux 11i system cannot boot from single mode to level 1


You could remove the disk and move it to another system but it's not that easy. Do you have a backup tape, say a make_tape_recovery?? Do you have another server that is very similar to this machine?

live free or die
harry
Live Free or Die
Nikolai Roubinov
Occasional Contributor

Re: hp-ux 11i system cannot boot from single mode to level 1

Yes, i have similar machine, but i have not make_recovery tape.
can i use vgimport command to import vg00 volume group to vg01 at another system?
Shannon Petry
Honored Contributor

Re: hp-ux 11i system cannot boot from single mode to level 1

While what you ask is possible, I would highly discourage it for the following reasons.
1. What else is damaged?
If one file as critical as /usr/lib/dld.sl is corrupt or delete, then what else is bad?
2. Binary compatabilty.
If one machines libs are newer/older this will cause problems. Leaving your system still not usable.

Suggestion: download and install igniteUX and put on twin system to make a recovery tape. OR Reinstall the OS from media.

Regards,
Shannon
Microsoft. When do you want a virus today?
Sridhar Bhaskarla
Honored Contributor
Solution

Re: hp-ux 11i system cannot boot from single mode to level 1

Hi,

Yes. If you can take out the disk and place it on other system.

Once it is recognized, do a vgimport

#mkdir /dev/vgtest
#mknod /dev/vgtest/group c 64 0x0?0000
#vgimport -v /dev/vgtest /dev/dsk/c?t?d?

#vgchange -a y vgtest

#mount /dev/vgtest/lvol? /tmpusr

Copy dld.sl from the same OS.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
harry d brown jr
Honored Contributor

Re: hp-ux 11i system cannot boot from single mode to level 1


I agree with Shannon that it's a dangerous thing to do (moving the root disk to another system). You are better off trying to move the /usr/lib/dld.sl file from another similar system first, and you can do this in single user mode, especially with a tar tape. You do have a tape drive on this system?

And like Shannon said, download ignite on your working similar system and do a make_tape_recovery, asap!

live free or die
harry
Live Free or Die
Sridhar Bhaskarla
Honored Contributor

Re: hp-ux 11i system cannot boot from single mode to level 1

Harry - Shannon -

I believe in my personal quote. It is very easy to mount a root disk on another server and restore the missing files provided you have that luxury. As far as the other system, this disk is simply yet another disk and you can import it easily. This is a piece of cake if it is on Jamaica or on L or N-class servers. Other than that only caution he would take is to make sure he copies the proper dld.sl file.

I don't believe he would disturb a production system though for this work.

There is no harm in trying the above to see if he could recover the system that way. After all, he is being advised to reload the OS anyway.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Nikolai Roubinov
Occasional Contributor

Re: hp-ux 11i system cannot boot from single mode to level 1

Thanks all a lot, especially Sridhar Bhaskarla (his method is working). The system is runing now.