- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Uninstalling DB2 using 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
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
тАО05-15-2002 12:00 AM
тАО05-15-2002 12:00 AM
Uninstalling DB2 using SWREMOVE
I am trying to uninstall DB2 using SWREMOVE but I get the following errors, I have never used HP-UX before so I am quite lost. Would apprciate if someone could help me out.
ERROR: Cannot continue the Analysis Phase until the previous errors are corrected.
* Beginning Analysis Phase.
* Target: moby:/
* Target logfile: moby:/var/adm/sw/swagent.log
* Reading source for file information.
ERROR: File "/var/adm/sw/products/DB2V7ENTP/pfiles/INFO" does not
exist.
ERROR: The catalog files for product
"DB2V7ENTP,l=/opt/IBMdb2/V7.1,r=7.1.0.40" failed to load.
Check the above output for details.
ERROR: Cannot continue the Analysis Phase until the previous errors
are corrected.
Thanks a lot in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 12:04 AM
тАО05-15-2002 12:04 AM
Re: Uninstalling DB2 using SWREMOVE
unless the software was installed using the standard install tool 'swinstall' then you won't be able to remove using 'swremove'. To check what has been installed using 'swinstall' you can use 'swlist -a revision'
If the software is in a particular filesystem it can removed that way.
HTH
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 12:05 AM
тАО05-15-2002 12:05 AM
Re: Uninstalling DB2 using SWREMOVE
Do you have the directory
/var/adm/sw/products/DB2V7ENTP
swremove will use the information herein what to remove from your DB2 installation.
Did you use swinstall or IBM's setup scripts when installing DB2
Regards
rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 12:05 AM
тАО05-15-2002 12:05 AM
Re: Uninstalling DB2 using SWREMOVE
DB2 wasnt installed using HP's Software distributor (swinstall) so you cannot remove it using swremove. Check your DB2 documentation as to how to remove it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:04 AM
тАО05-15-2002 08:04 AM
Re: Uninstalling DB2 using SWREMOVE
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 07:06 AM
тАО05-16-2002 07:06 AM
Re: Uninstalling DB2 using SWREMOVE
I think you'll find that DB2 does suggest using swremove as the way to remove DB2, even though is has its own install procedures.
The trick is to remove dependencies/checking. This will let swremove get rid of what it finds instead of doing nothing because of what it doesn't find.
I've done this 5 or 10 times with no trouble. You should also check /etc/inittab to be sure the DB2 startup has been removed. I'm not sure if all flavors of DB2 products load that way, but the ones we are using seem to.
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 06:55 PM
тАО05-16-2002 06:55 PM
Re: Uninstalling DB2 using SWREMOVE
Thanks for getting back, Sure appreciate it. I tried out the swlist -a revision command and there were a few mentions of DB2 in it. Yes you are right, I also cannot find the db2_deinstall script in the CD so the only way out must be to use SWREMOVE.
Could you pls let me know how to remove the checking/dependancies you mentioned. I am totally new to HPUX so your reply would really get me out of this situation.
Thanks a million!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 09:50 PM
тАО05-16-2002 09:50 PM
Re: Uninstalling DB2 using SWREMOVE
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2002 06:42 PM
тАО05-17-2002 06:42 PM
Re: Uninstalling DB2 using SWREMOVE
Thanks a million to all the kind people who are answering my questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2002 08:41 AM
тАО05-18-2002 08:41 AM
Re: Uninstalling DB2 using SWREMOVE
There are no "daft posts". When you don't know the answer, any question is valid!
To run 'swremove' (or 'swinstall', etc'), interactively, you can simply enter the command without options at the commandline. This will launch an interactive session. In this mode you can pull-down the "options" box and uncheck dependency enforcement.
From the commandline, you would use '-x enforce_dependencies=false' to turn off the requirement to resolve software dependencies.
Have a look at the man pages for 'swremove' for more information.
Regards!
...JRF...