You must stop your non-root instance before uninstalling
your DB2® database product.
Procedure
To stop a DB2 instance:
- Log in as the non-root instance owner.
- Run the start up script if it is not included in .profile.
. $HOME/sqllib/db2profile (bash, Bourne, or Korn shells)
source $HOME/sqllib/db2cshrc (C shell)
where $HOME is
your home directory.
- You might want to save any of the following files:
- The database manager configuration file, db2systm
- The configuration file used to enable root features before running db2rfe.
- User defined functions or fenced stored procedure applications
in $HOME/sqllib/function.
- Stop the DB2 database
manager by entering the db2stop force command.
- Confirm that the instance is stopped by entering the db2
terminate command.