- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't recover deleted libdld.1,2
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2003 08:09 PM
тАО06-03-2003 08:09 PM
But right after I renamed the shared libraries, I couldn't do anything but 'cd' to change directory. I can't 'mv' back to their original names!!!
If anybody has an idea on this, please help me...
Otherwise, I think I have to reinstall the OS by myself...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2003 08:41 PM
тАО06-03-2003 08:41 PM
Re: Can't recover deleted libdld.1,2
or rcp from other system ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2003 09:05 PM
тАО06-03-2003 09:05 PM
Re: Can't recover deleted libdld.1,2
You might be able to recovery with an Ignite make_tape_recovery tape if you made one prior to making this mistake.
If you have fbackup, veritas or omniback backup of this file, you should be able to retore it.
If you have another system with these files, you should be able to use ftp,rcp or scp to copy them to the affected system.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2003 09:24 PM
тАО06-03-2003 09:24 PM
Re: Can't recover deleted libdld.1,2
I am a newbie on HP-UX(Don't laugh at me why I did that kind of funny mistake even though I am new at HP-UX.) and don't know about /backup.
I managed to cd to /backup and hit the tab key to see the contents of that directory(Luckily I got bash installed.), but have no idea what I need to do next.Please let me know detailed procedure or something if possible...thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2003 11:18 PM
тАО06-03-2003 11:18 PM
Solutionlibdld is used by program using shared libraries. So you can just use static compiled commands which are all located in /sbin.
Try a simple /sbin/mv (if you use mv, it will take /usr/bin/mv which is dynamically linked so won't work) to rename libdld to its original name.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 02:46 AM
тАО06-04-2003 02:46 AM
Re: Can't recover deleted libdld.1,2
I rebooted the server and entered into 'single mode' and 'mount'ed the partition in problem in /usr2 not /usr and renamed libdld.1 & 2. Unfortunately, I made another big mistake...I should've done like 'ln -s libdld.2 libdld.sl', but I did 'ln -s libdld.2 libdld.2' without any error raised. I don't know why it didn't show duplicate file error or something...
If I'm going to list the files in that directory like this,
#ls -al libdld*
lrwxr-xr-x 1 root sys 10 Apr 30 12:00 libdld.0 -> ./libdld.1
-r-xr-xr-x 1 bin bin 12334 Jul 17 2002 libdld.1
-r-xr-xr-x 1 bin bin 24576 Jul 17 2002 libdld.2
lrwxr-xr-x 1 root sys 10 Apr 30 11:58 libdld.2 -> ./libdld.2
and I tried to remove the wrong symbolic link,but failed. The file can't be accessed, either.
I called the customer service and they're supposed to send someone to fix it.(say, reinstall the OS...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 02:58 AM
тАО06-04-2003 02:58 AM
Re: Can't recover deleted libdld.1,2
I think that you have made a typo, because it's not possible to have twice the same name ... You surely have a hidden char in the name (like ^H for example). Check it by doing a command like :
ls *libdld* | vis
which will how you all 'invisible' chars. So it's still possible to remove the link using something like an interactive remove (rm -i *libdld*) being very careful to the only 'y' answer you have to give.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 07:38 AM
тАО06-04-2003 07:38 AM
Re: Can't recover deleted libdld.1,2
Not much time left. I'd better rush down to the lab before hp guy come and clean up the box...
I really appreciate it, Mr. Phelix!!!