Troubleshooting
Problem
The vmcli set_password command is used to configure the Data Protection for VMware command-line interface. The command fails with the ANS1025E error.
Symptom
The following example shows the error.
echo Password_string > pwd.txt
vmcli -f set_password -I ./pwd.txt
...
ANS1025E (RC137) Session rejected: Authentication failure
In this example, the "Password_string" is a correct password string which had been verified via the Backup-Archive client.
Cause
Incorrect permission of the "/opt/tivoli/tsm/tdpvmware/tsmcli/bin64/tsmcli" directory.
The "/opt/tivoli/tsm/tdpvmware/tsmcli/bin64/tsmcli" directory is created during installation of Data Protection for VMware. The directory is created with 4755 permission. If by any chance the permission is changed or the sticky bit is removed, it can cause issues that the tdpvmware user is unable to write to the password file.
Environment
Tivoli Storage Manager client for Virtual Environments
Diagnosing The Problem
Use the following steps to diagnose this issue.
- Update the vmcli node's password on the Tivoli Storage Manager server. For example :
Update Node vmcli AAAAA
- Login as tdpvmware from the client machine and set the vmcli password:
echo Password_string > pwd.txt
vmcli -f set_password -I ./pwd.txt
The command fails with the following error :
ANS1025E (RC137) Session rejected: Authentication failure
- Verify the permissions of the tsmcli directory. For example :
ls -al /opt/tivoli/tsm/tdpvmware/tsmcli/bin64/tsmcli
-rwr-xr--x1 root tdpvmware 390416 Jan 22 2013 tsmcli
In this output, the directory is missing the sticky bit.
Resolving The Problem
Use the following steps to resolve this issue.
- Ensure that the "/opt/tivoli/tsm/tdpvmware/tsmcli" directory has the right permission. As root user, run the following command :
chmod 4755 /opt/tivoli/tsm/tdpvmware/tsmcli/bin64/tsmcli
- Update the vmcli node password on the Tivoli Storage Manager server using the following administrative command :
upd node vmcli_nodename password
- Login as tdpvmware and run the set_password command. For example :
su - tdpvmware
echo Password_string > pwd.txt
tsmcli -f set_password -I ./pwd.txt
Was this topic helpful?
Document Information
More support for:
Tivoli Storage Manager
Software version:
6.4, 7.1
Operating system(s):
Linux
Document number:
242045
Modified date:
17 June 2018
UID
swg21667516