Operating System - HP-UX
1753954 Members
7563 Online
108811 Solutions
New Discussion юеВ

Re: Deleted wrongly contents of /usr/lib/hpux32

 
sahir_1
Frequent Advisor

Deleted wrongly contents of /usr/lib/hpux32

Hi,

I wrongly deleted the contents of /usr/lib/hpux32. Now I am unable ssh or run sudo. even swinstall not working. I am getting following error while trying scp or ssh

server1# scp
/usr/lib/hpux32/dld.so: Unable to find library 'libcrypto.so.1'.

Please help me to solve it as soon.
Any reply highly appreciated.

7 REPLIES 7
Uday_S_Ankolekar
Honored Contributor

Re: Deleted wrongly contents of /usr/lib/hpux32

Restore from Ignite backup (if you have)

-USA..
Good Luck..
Kenan Erdey
Honored Contributor

Re: Deleted wrongly contents of /usr/lib/hpux32

Hi,

try to restore that directory from an identical server with ftp,scp etc..
Computers have lots of memory but no imagination
sahir_1
Frequent Advisor

Re: Deleted wrongly contents of /usr/lib/hpux32

Thanks for your immediate responce.

I dont have a ignite backup. Any other suggestion
James R. Ferguson
Acclaimed Contributor

Re: Deleted wrongly contents of /usr/lib/hpux32

Hi:

> I dont have a ignite backup. Any other suggestion

Learn to take an Ignite backup.

In the meantime, you might use 'tar' (perhaps from a tape) to import the missing files from another server of the same operating system version; or 'ftp' if you haven't locked out that.

If none of the above are options, I suggest you pay the price for not having a good backup and re-install.

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: Deleted wrongly contents of /usr/lib/hpux32

>I wrongly deleted the contents of /usr/lib/hpux32.

I'm not sure how you could remove everything. dld.so should be busy.

>JRF: you might use 'tar' to import the missing files from another server of the same operating system version

No 32 bit shared applications will work if you blow away /usr/lib/hpux32/.

Only executables in /sbin/ will work and that does include /sbin/frecover, /sbin/tar and /sbin/pax.
sahir_1
Frequent Advisor

Re: Deleted wrongly contents of /usr/lib/hpux32

Guys,

Thanks you all. I could recover it via backup.

Dennis Handly
Acclaimed Contributor

Re: Deleted wrongly contents of /usr/lib/hpux32

>Thanks you all. I could recover it via backup.

If you are happy with the answers you were given, please read the following about assigning points:
http://h30499.www3.hp.com/t5/help/faqpage/faq-category-id/kudos#kudos