- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restore /var/adm/sw
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
Forums
Discussions
Discussions
Discussions
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
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
11-21-2007 11:32 PM
11-21-2007 11:32 PM
Restore /var/adm/sw
We lost /var/adm/sw recently. This has now been restored, but when I do a swlist it just returns the following:
ERROR: The expected depot or root does not exist at "/".
ERROR: There is currently no installed software on host "ngmhp401" at
location "/".
I have stopped and restarted swagentd but it hasn't made any difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2007 12:36 AM
11-22-2007 12:36 AM
Re: Restore /var/adm/sw
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2007 12:39 AM
11-22-2007 12:39 AM
Re: Restore /var/adm/sw
First make sure that you got your INDEX file under /var/adm/sw/products.
If you do then follow this procedure to install a fake product and try to fix the issue:
# cd /var/adm/sw/products
# mv INDEX INDEX.orig
# cd /tmp
# vi void.psf
product
tag void
fileset
tag void
:wq!
# swpackage -s /tmp/void.psf
# swinstall void
# swremove void
# rm void.psf
# swremove -d void
Now there should be a new INDEX file under /var/adm/sw/products and the swlist command will show the installed products.
The IPD Installed Products Database will be up to date.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2007 01:08 AM
11-22-2007 01:08 AM
Re: Restore /var/adm/sw
You are the man. That resolved it. Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2007 01:10 AM
11-22-2007 01:10 AM
Re: Restore /var/adm/sw
# cd /var/adm/sw/products
# swmodify -a state=configured OS-Core.C-KRN
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2007 01:10 AM
11-22-2007 01:10 AM
Re: Restore /var/adm/sw
Please remember to asign points to the people that takes the time to help you out!
Regards,
Jaime.