27. KBNIX0004 - "connect_test() returned an error code 5" or "ANS5155E Valid password not available"

Summary This article will guide you through resolving the error message "connect_test() returned an error code 5" or "ANS5155E Valid password not available". when you try to run TSM
Symptom When trying to run TSM, the error message "connect_test() returned an error code 5" or "ANS5155E Valid password not available" is returned.
Cause This error is caused by a wrongly-cached password.
Resolution
  • Reset your TSM password at the TSM password reset page.
  • Run TSM as an administrator - use sudo dsmc or login as root and run dsmc.
  • Except on Debian/Ubuntu systems, run /opt/tivoli/tsm/client/ba/bin/HFSsetup.sh reconfigure; otherwise, use dpkg-reconfigure tsm-client. This will reconfigure the scheduler and fix the problem.
Status
More Information
Applies To TSM, Linux, Unix

Up: Contents Previous: 26. KBNIX0003 - "ANS4042E Object name ... contains one or more unrecognized characters and is not valid." Next: 28. KBNIX0005 - "ANS1217E Server name not found in System Options File" (Linux)