Operating System - HP-UX
1833777 Members
2158 Online
110063 Solutions
New Discussion

Problem with HP-Ux on hpb2600 workstation. Serious

 
Subramanyam_1
New Member

Problem with HP-Ux on hpb2600 workstation. Serious

problem_description :
a.On (HP-UX11) I renamed /usr/lib/libdld.2 to
/usr/lib/libdld.
2.org
b.After restarting(single usermode) i got error message like /usr/lib/dld.sl: can't find shared library /usr/libdld.2
/usr/lib/dld.sl: No such file or directory Abort(fatalcoredumped)
c.I am not able to enter into Unix System.
d.Only shell-builtin commands are working.
7 REPLIES 7
Michael Steele_2
Honored Contributor

Re: Problem with HP-Ux on hpb2600 workstation. Serious

Copy /uar/lib/* from another similar work station or reload from a make_tape_recovery tape or backup tape.

If you can get to single user then use the tape backups from this point. 'ioscan' should be working.

What's your run level? Network status? Backup situation?
Support Fatherhood - Stop Family Law
Robert DJ
Frequent Advisor

Re: Problem with HP-Ux on hpb2600 workstation. Serious

Hi Subramani,

If you are unable to login to the System even in Single user mode.

Please remove the harddisk and put the HDD in a working HP workstation and configure it.
try copying the working file to the faulty one.

Thanx & Regards,

Roby
Robert DJ
Subramanyam_1
New Member

Re: Problem with HP-Ux on hpb2600 workstation. Serious

sir,
Thanks for your kind response.
I can go to single user mode.
Only the shell-builtin commands work.
External commands like 'ls','cp','mv' etc are not working.
Can I get a better solution.
Waiting for early response
subramanyam.

Robert-Jan Goossens
Honored Contributor

Re: Problem with HP-Ux on hpb2600 workstation. Serious

Hello,

# /sbin/mount /usr

Regards,
Robert-Jan.
Laurent Menase
Honored Contributor

Re: Problem with HP-Ux on hpb2600 workstation. Serious

/sbin/ln /usr/lib/libdld.2.org /usr/lib/libdld.2
or
/sbin/cat /usr/lib/libdld.2
/sbin/chmod 555 /usr/lib/libdld.2
or
/sbin/mv /usr/lib/libdld.2.org /usr/lib/libdld.2


Michael Steele_2
Honored Contributor

Re: Problem with HP-Ux on hpb2600 workstation. Serious

From single user you have to load in a backup utility, like 'tar', and restore /usr from tape. If you can't mount the file system where your backup utility is located then copy it in from tape.

Chances are other file systems other than /usr with mount, so try this.

# mount /tmp
# mount /var

This should give you plenty of disk space to work with.

Once you have 'tar' or whatever loaded then source it from its new location and restore /usr from tape.

# /tmp/tar -tvf /dev/rmt/0m (* for example *)
Support Fatherhood - Stop Family Law
Laurent Menase
Honored Contributor

Re: Problem with HP-Ux on hpb2600 workstation. Serious

Some executable are shared and not shared executable. All those who are in /sbin are not shared executable and should run even if libdld.2 is not there.
ln, cat, chmod, mv are unshared in /sbin
are shared in /usr/bin

So /sbin/ln /sbin/chmod /sbin/mv /sbin/cat should work with a libdld broken