IBM Support

ANR7804E file access permissions failure on dsmserv format command

Technote (troubleshooting)


Problem(Abstract)

The dsmserv format command fails with error message ANR7804E Unable to open lock file dsmserv.v6lock.

Symptom

$dsmserv format dbdir=/tsm/xx/db1,/tsm/xx/db2 activelogsize=100000 activelogdirectory=/tsm/xx/actlog archlogdirectory=/tsm/xx/archlog archfailoverlogdirectory=/tsm/xx/archlogf

ANR7804E Unable to open lock file dsmserv.v6lock - The file access permissions do not allow the specified action.


Cause

The path variable was not set and/or the full path was not used when running the dsmserv format command, which caused a failure due to the wrong path.

Resolving the problem

The dsmserv format command can fail if the path is not set with in the environment.

To resolve this issue:

1. Connect with the db2 instance user

2. CD to the instance directory,

        cd /home/tsminst1/tsminst1

3. Then run the dsmserv format command from the instance directory, using the full path to dsmserv.

For example:

/opt/tivoli/tsm/server/bin/dsmserv format dbdir=/tsm/xx/db1,/tsm/xx/db2 activelogsize=100000 activelogdirectory=/tsm/xx/actlog archlogdirectory=/tsm/xx/archlog archfailoverlogdirectory=/tsm/xx/archlogf

Product Alias/Synonym

TSM

Document information

More support for: Tivoli Storage Manager
Server

Software version: 6.3, 6.3.2, 6.3.3, 6.3.4

Operating system(s): AIX, Linux, Solaris

Reference #: 2002599

Modified date: 27 April 2017


Translate this page: