7. Troubleshooting
7.1. ANS1398E Initialization functions...
When running dsmc or dsmj and the following or similar is displayed:
ANS1398E Initialization functions cannot open one of the Tivoli Storage Manager logs or a related file: /var/log/dsmerror.log. errno = 13, Permission denied
This means that dsmc or dsmj cannot write to the log
file. Most likely this is beacuse you are running dsmc as a user who
cannot write to /var/log/dsmerror.log
Rather than allowing all users of the system to be able to write to the
/var/log/dsmerror.log file it is best to have
ErrorlogName /var/log/dsmerror.log
commented out of /opt/tivoli/tsm/client/ba/bin/dsm.sys
with a * at the beginning of the line. Then rather than using
dsmc from
/opt/tivoli/tsm/client/ba/bin/dsmc it is best to
use the HFS supplied wrapper script
/usr/bin/dsmc which sets the environmental
variable DSM_LOG to the users home directory. One expection here is
that when the home directory is / (probably the root user)
then DSM_LOG is set to /var/log/dsmerror.log.
The dsmj wrapper script is similar to the dsmc wrapper script.
The dsmcad wrapper script for scheduled backups always sets DSM_LOG to
/var/log/dsmerror.log.
Up: Contents Previous: 6. Changing your TSM password Next: 8. Further Help

