Troubleshooting
Problem
Attempts to start the Tivoli Storage Manager server may fail if the instance user's group ID is changed.
Symptom
The following error message is seen when starting the Tivoli Storage Manager server:
ANR0186E There is insufficient authority to start the database manager.
Cause
This error condition is typically caused by the primary group associated with the DB2 instance owner not matching the defined DB2 system administration authority group (SYSADM_GROUP).
Diagnosing The Problem
The primary group associated with the DB2 instance owner must be the same as the SYSADM_GROUP. Issue the following command to query the DB2 database manager configuration to determine the defined SYSADM_GROUP:
$ db2 get dbm cfg | grep SYSADM
SYSADM group name (SYSADM_GROUP) = TSM
Review the /etc/passwd file to determine the primary group id associated with the DB2 instance owner:
# cat /etc/passwd | grep tsminst1
tsminst1:x:1001:1000::/tsm:/bin/bash
The output above shows that the tsminst1 user has a primary group ID of 1000. Review the /etc/group file to determine the name of the group with a group ID of 1000:
# cat /etc/group | grep 1000
tsmsrvrs:!:1000:
Based on the example above, the primary group associated with the tsminst1 user is 'tsmsrvrs'. The ANR0186E error is occurring because the primary group name (tsmsrvrs) is not consistent with the SYSADM_GROUP name (TSM).
Resolving The Problem
There are two methods to correct the problem:
1) Issue the appropriate OS command (usermod, chuser) to change the primary group of the DB2 instance owner to match the SYSADM_GROUP name
2) Update the SYSADM_GROUP value to match the name of the primary group associated with the DB2 instance owner
- as the DB2 instance owner, issue the following command (where <group name> represents the name of the primary group):
- issue the following command to confirm that the SYSADM_GROUP value has been updated properly:
$ db2 update dbm cfg using SYSADM_GROUP <group name> deferred
$ db2 get dbm cfg | grep SYSADM
Product Synonym
TSM spectrum protect
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21610520