WebSphere Issues

27/03/2010

Uninstall DB2 from Linux

Filed under: DB2, Linux — Ishtiaque @ 1:10 pm
  1. Stop db2 instance running the command su – db2inst1 –c “db2stop”
  2. Removes db2 instance with root user by running command /opt/ibm/db2/V9.1/instance/db2idrop
  3. Stop DAS server by running the command su – dasusr1 –c “db2admin stop”
  4. Removes db2 DAS server with root user by running command  /opt/ibm/db2/V9.1/instance/dasdrop
  5. Run db2_deinstall script as root user from /opt/ibm/db2/V9.1/install directory
  6. Remove the db2 related entries from /etc/services file
  7. Delete users db2inst1, db2fenc1, dasusr1 by running the command userdel –r db2fenc1
  8. Delete groups db2grp1, dasadm1, db2fgrp1 by running the command groupdel db2fgrp1

Note: In RHEL 5 you can also delete users by navigating to System>Administration>Users and Groups.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: