Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-9611: DB2 setupdb2.sh, "The database manager was not stopped because databases are still active"

Centrify DirectControl Plugins ,  

21 December,17 at 11:32 PM

Question:

When the Centrify db2 plugin script, setupdb2.sh, is run, the following messages are seen when the script attempts to restart the instance.  What do those messages mean?
 
# db2stop
15/12/2017 16:10:10 0 0 SQL1025N The database manager was not stopped because databases are still active.
SQL1025N The database manager was not stopped because databases are still active.


# db2start
12/15/2017 16:10:19 0 0 SQL1026N The database manager is already active.
SQL1026N The database manager is already active.
There was an error in setting up DB2. Exiting...

Answer:

After the setupdb2.sh script installs and puts the plugins in place, the database instance needs to be stopped and restarted before those plugins become active.  In order for the restart to happen, there should be no active connections to the database.  If there are active connections, the script will be unable to stop and start the database and output the above messages. 

Since the restart happens at the end of the script after the configuration changes have been made, once the database is no longer busy and active connections have been stopped,  the DB2 instance will need to be manually restarted.  Or the setupdb2.sh script could also be run again, as it can be run multiple times without any harmful side effects.

 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.