IBM Support

ANR0228S Error 13 opening the database ID file for server startup.

Troubleshooting


Problem

A Tivoli Storage Manager server instance is modified to run with the instance userid instead of the root userid. When the server is started, the ANR0228S error is logged and the server fails to start.

Symptom

The following messages are logged when the server is started in the foreground :

$ /opt/tivoli/tsm/server/bin/dsmserv
ANR7800I DSMSERV generated at 10:40:22 on May 23 2013.
Tivoli Storage Manager for AIX
Version 6, Release 3, Level 4.000
Licensed Materials - Property of IBM
(C) Copyright IBM Corporation 1990, 2011.
All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corporation.
ANR7801I Subsystem process ID is 16253094.
ANR0900I Processing options file /home/tsminst1/dsmserv.opt.
ANR7811I Using instance directory /home/tsminst1.
ANR4726I The ICC support module has been loaded.
ANR0990I Server restart-recovery in progress.
ANR0152I Database manager successfully started.
ANR0228S Error 13 opening the database ID file for server startup.

Cause

Incorrect ownership for the dsmserv.dbid file

Diagnosing The Problem

Examine the ownership/permissions of the dsmserv.dbid file. The dsmserv.dbid file is located in the server instance directory. For example :

$ ls -la /home/tsminst1/dsmserv.dbid
-rwx------ 1 root system 27 Oct 05 2012 /home/tsminst1/dsmserv.dbid

In this example, the server instance is tsminst1 and the instance directory is /home/tsminst1. The output shows the dsmserv.dbid is owned by the root user. Because the tsminst1 userid does not have authority to the file, the server fails to start when started with the tsminst1 instance userid.

Resolving The Problem

Logon with the root userid and modify the ownership and permissions of the instance dsmserv.dbid file such that instance userid is authorized to access the file. For example, with the instance userid being tsminst1, the user group being tsmsrvrs, and the instance directory being /home/tsminst1, use the following commands :

# chown tsminst1.tsmsrvrs /home/tsminst1/dsmserv.dbid
# chmod 600 /home/tsminst1/dsmserv.dbid

Start the server with the instance userid.

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21644423