- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swremove depot when depot directory not present
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
07-05-2007 05:12 AM
07-05-2007 05:12 AM
I want to clean up my depots registered with sd-ux. Some of them are very old, so old some of the actual directories where the depot once was are now gone. I am not able to remove the depot from my sd-ux. Anyone know how to do this?
I was using the command:
# swremove -d \* @ /old/depot/location/now/gone
Here is the output from the command:
ERROR: There is currently no depot software on host "host1" at
location "/old/depot/location/now/gone". Make sure that an
absolute pathname is specified for location (beginning with
"/").
* Target connection failed for
"host1:/old/depot/location/now/gone".
ERROR: More information may be found in the daemon logfile on this
target (default location is
host1:/var/adm/sw/swagentd.log).
* Selection had errors.
From the /var/adm/sw/swagentd.log:
ERROR: Failed to start remove agent on "//old/depot/location/now/gone" for
root@host1.domain.com. "/old/depot/location/now/gone" is
not a valid depot. 07/05/07 13:02:35 EDT
Thanks
Bill
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 05:16 AM
07-05-2007 05:16 AM
Re: swremove depot when depot directory not present
How about:
mkdir /old/depot/location/now/gone
then
# swremove -d \* @ /old/depot/location/now/gone
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 05:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 05:17 AM
07-05-2007 05:17 AM
Re: swremove depot when depot directory not present
Use 'swreg'. It registers and un-registers depots.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 05:32 AM
07-05-2007 05:32 AM
Re: swremove depot when depot directory not present
swreg -l depot -u /old/depot/location/now/gone
The "-u" option means "unregister".
You can also unregister an existing depot, move the depot files to a different location (even to another host) and then re-register it:
swreg -l depot /old/depot/in/a/new/location
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 05:38 AM
07-05-2007 05:38 AM
Re: swremove depot when depot directory not present
/var/adm/sw/host_object
Then restart the agent:
/usr/sbin/swagentd -r
You can also vi that file if you want to change the ordering of the list of depots.
See:
http://www.met.ca/itrc/index.php?option=com_content&task=view&id=59&Itemid=2
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 05:55 AM
07-05-2007 05:55 AM
Re: swremove depot when depot directory not present
Pete - I tried that and it did not work.
The two options
1) swreg from james/Matt
and
2) removing from /var/adm/sw/host_object swagentd -r
both worked great !!!!
Thanks
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2007 03:57 AM
07-06-2007 03:57 AM