Resolving error message ANR2968E

Error message ANR2968E is surfaced during the BACKUP DB command.

About this task

There are two causes for this error message:
  • If the IBM Storage Protect error log file is owned by the root user ID rather than the server instance user ID.
  • Windows operating systemsIf you use quotation marks to surround the paths that are in the tsmdbmgr.env file. Use a path that does not contain spaces or use the Windows short name for the path.
To correct the error caused by the root user ID, complete the following steps:

Procedure

  1. Log on using an IBM Storage Protect server instance ID and verify the name of the error log file. For example:
    $ grep -i "ERRORLOGNAME" $DSMI_DIR/dsm.sys
    ERRORLOGNAME /home/db2inst1/tsminst1/tsmdbmgr.log
    where db2inst1 is the server instance user ID and /home/db2inst1/tsminst1/ is the server instance directory.
  2. Issue the following example command to verify the current owner of the error log file:
    $ ls -la /home/db2inst1/tsminst1/tsmdbmgr.log
    -rw-r--r-- 1 root system 834 May 05 09:43 /home/db2inst1/tsminst1/tsmdbmgr.log
  3. If the error log file is not owned by the IBM Storage Protect instance user ID, remove it. You must have root authority to remove the file. Issue the following example command to remove the log file:
    $ su root password
    # rm /home/db2inst1/tsminst1/tsmdbmgr.log
    # exit
  4. Issue the BACKUP DB command and verify that the command completed successfully. Verify that the log file is owned by the server instance ID. For example:
    $ ls -la /home/db2inst1/tsminst1/tsmdbmgr.log
    -rw-r--r-- 1 db2inst1 db2iadm1 834 May 05 09:50 
    /home/db2inst1/tsminst1/tsmdbmgr.log