- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX.B.10.20 - Can't find sw depot at \ anymore
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
тАО08-12-2004 07:31 AM
тАО08-12-2004 07:31 AM
the system no longer knows where the / sw depot is. What do I need to restore from backup to fix this so I can use the command
swlist. Is this the sw?.log files in /var/adm/sw? Is there anything I have to do to bring them back up todate if software has been installed since they were missing?
Thx
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2004 07:34 AM
тАО08-12-2004 07:34 AM
Re: HP-UX.B.10.20 - Can't find sw depot at \ anymore
This can happen if the swagentd daemon gets corrupted. Try running
/usr/sbin/swagentd -r
to restart the daemon & then retry your swlist command.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2004 07:34 AM
тАО08-12-2004 07:34 AM
Re: HP-UX.B.10.20 - Can't find sw depot at \ anymore
Also, do you have a depot at / ? Not the best place to keep a depot, by default it is /var/adm/sw. You can make others anywhere you like. To see a list of available depots use the following command:
swlist -l depot
The output will tell you what depots exist that are registered
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2004 07:58 AM
тАО08-12-2004 07:58 AM
Re: HP-UX.B.10.20 - Can't find sw depot at \ anymore
# swlist -a revision -l fileset | grep 15423
ERROR: The expected depot or root does not exist at "/".
ERROR: There is currently no installed software on host "genesis" at
location "/". (Note that you need to use "swlist -d" to
manage depot software).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2004 07:59 AM
тАО08-12-2004 07:59 AM
Re: HP-UX.B.10.20 - Can't find sw depot at \ anymore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2004 08:00 AM
тАО08-12-2004 08:00 AM
Re: HP-UX.B.10.20 - Can't find sw depot at \ anymore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2004 08:06 AM
тАО08-12-2004 08:06 AM
Re: HP-UX.B.10.20 - Can't find sw depot at \ anymore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2004 08:24 AM
тАО08-12-2004 08:24 AM
SolutionDoes the time & size of /var/adm/sw/products/INDEX look normal - i.e. it's fairly large - not 0 or small - and the date/time stamp equal to the date/time of last swinstall or swremove?
Either way here's how to clean it up:
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
This creates a dummy pkg & during it's install the IPD will be rebuilt.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2004 08:38 AM
тАО08-12-2004 08:38 AM
Re: HP-UX.B.10.20 - Can't find sw depot at \ anymore
Does anyone know if we have to have all the logs I mentioned present or will it auto create them when it works again? should I run a swverify command when we're done?
Thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2004 09:23 AM
тАО08-12-2004 09:23 AM
Re: HP-UX.B.10.20 - Can't find sw depot at \ anymore
Someone did some housekeeping that shouldn't of happened.