IBM Support

Database Backup Failure when Localhost is No Longer Valid

Technote (troubleshooting)


A Tivoli Storage Manager server database backup may fail, indicating a failure to connect to the Tivoli Storage Manager server by the API.


The server actlog reports:

ANR2980E Database backup terminated TCPIP failure - DB2 sqlcode -2033
  sqlerrmc -50.

The tsmdbmgr.log reports:

ANS5216E Could not establish a TCP/IP connection with address
  'LOCALHOST:1500'.  The TCP/IP error is 'Connection refused' (errno = 79).
 ANS9020E Could not establish a session with a TSM server or client
  agent.  The TSM return code is -50.


The most likely cause is if there are DNS or host translation issues on the TSM server system.

Diagnosing the problem

Check the value of the TCPSERVERADDRESS option in the dsm.sys file that the API is using for database backups. If it is set to a host address (like "loopback" or "localhost"), then ping that name and see if it returns the actual loopback address ( or if it returns a different address.

Resolving the problem

Correct the host translation or DNS issue, OR explicitly set the TCPSERVERADDRESS option to

Document information

More support for: Tivoli Storage Manager

Software version: 6.1, 6.2, 6.3

Operating system(s): Platform Independent

Software edition: Edition Independent

Reference #: 1453928

Modified date: 30 December 2010

Translate this page: