cancel
Showing results for 
Search instead for 
Did you mean: 

libc.2 Urgent help requsted

SOLVED
Go to solution
Sathish C
Frequent Advisor

libc.2 Urgent help requsted

Hi
While during an investigation and test the libc.2 was accidently moved to libc.2. and now just NOTHING works , any help to recover it .No ftp/rcp anything from this box or to this box is working .
Some cause happiness wherever they go; others, whenever they go
6 REPLIES
Zygmunt Krawczyk
Honored Contributor
Solution

Re: libc.2 Urgent help requsted

Hi,
you can do the following:
1) boot the HP-UX in single user mode
or
2) boot from Install media with Recovery Mode

and rename the file.

Regards,
Zygmunt
Zygmunt Krawczyk
Honored Contributor

Re: libc.2 Urgent help requsted

the following thread will help you booting in single user mode:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=217851

Regards,
Zygmunt
Sathish C
Frequent Advisor

Re: libc.2 Urgent help requsted

Hi
You may want to know this one which I think is the most easiest

/sbin/cat > /usr/lib/libc.2
/sbin/chmod +x /usr/lib/libc.2
Some cause happiness wherever they go; others, whenever they go
D Block 2
Respected Contributor

Re: libc.2 Urgent help requsted

Sathish-

how about LVM or VXVM boot mode in VM Maint ?
this is where you can use the /sbin/cat command.

is there a link command in /sbin/ln ?
rather than cat >
you can use link or mv command in /sbin.

I might suggest you reboot your system,
then interrupt the boot.

bring up your boot OS in LVM or VXVM Maintenance option for the disk.

then do the cat or mv.

best of luck.
Golf is a Good Walk Spoiled, Mark Twain.
조병훈
Occasional Visitor

Re: libc.2 Urgent help requsted

# /sbin/mv /usr/lib/libc.2. /usr/lib/libc.2
Jean-Luc Oudart
Honored Contributor

Re: libc.2 Urgent help requsted

Hi

similar issue in a previous thread.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=535769

Regards
Jean-Luc
fiat lux