- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swremove
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
05-09-2005 03:04 AM
05-09-2005 03:04 AM
swremove
Hi,
How to remove HP-UX depots whose filesets got accidentally erased ?
We tried "swremove", but it does not let the depots be removed as the related filesets are not present on the server.
"swlist" continues to list those depots as installed. Hence we cannot re-install them again through our installer. (PS: we cannot change the install options in the installer).
Is there a way by which such depots can be "force removed" (example, without performing any checks, etc)
Please let us know.
Thanks,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2005 03:09 AM
05-09-2005 03:09 AM
Re: swremove
Thats the reliable way of keeping the sd-ux database from getting corrupt.
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
05-09-2005 05:40 AM
05-09-2005 05:40 AM
Re: swremove
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2005 06:00 AM
05-09-2005 06:00 AM
Re: swremove
swreg -u -l
Regards,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2005 06:12 AM
05-09-2005 06:12 AM
Re: swremove
http://docs.hp.com/en/B2355-90692/swremove.1M.html
Check the -x options that you can set. I think setting "-x enforce_scripts=false" will do the job, because it won't enforse all the scripts to success. Scripts that check the validity of all kinds of things.
"swreg -u" won't do the job, because it unregisters the depots that are available for installation, not the depots that are already installed. In fact, installed depot, is not a depot anymore.
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2005 06:24 AM
05-09-2005 06:24 AM
Re: swremove
Can you give a little more detail on this one? Are you working with a egistered depot that had been removed or are you talking about an sd-ux installed product that was deleted / uninstalled from the system without doing swremove?
If it's just a depot, then Eric's fix will do... if it isn't then you need help cleaning up the sd-ux INDEX.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2005 05:06 PM
05-09-2005 05:06 PM
Re: swremove
I need something like "-x enforce_scripts=false" option -- the depot is not a registered one.
The problem is -- the depot has been already installed through our installer (installer uses "swinstall -s" command). Apparently one big volume of files got accidentally deleted. They span around 30 depots.
We tried to over-install the 30 depots back through the installer back, but installation fails claiming that the depots are already existing. Also, "swlist" lists these depots as installed.
Then we tried to remove the existing depots. But removal also fails. I tried swremove with "-x enforce_scripts=false", however its still not letting me remove. However, I think some option similar to that may be probably available.
Any tips shall be appreciated.
Thanks,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2005 05:52 PM
05-09-2005 05:52 PM
Re: swremove
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2005 07:33 PM
05-09-2005 07:33 PM
Re: swremove
Hi,
I installed all the depots back manually with options
-x reinstall_files=true -x enforce_scripts=false
and "swremove" worked after that.
It was quite laborious process installing depots one-by-one with the above option.
Is there a quicker and better way of doing? For example, does "swremove" directly support options such as above? I tried the above options with "swremove" but they did not seem to work. Any suggestions?
Thanks,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2005 08:22 PM
05-09-2005 08:22 PM
Re: swremove
Hi,
Is there a way to OVERRIDE the "is_locatable" flag set in the PSF file at the time of depot installation?
Say for example, if a depot was generated from a PSF that had "is_locatable" set as "false".
Is there a way to relocate that depot with any additional options specified during the installation time?
Please let me know.
Thanks a lot,
Jaideep