1. Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING) Click the link to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This message will disappear after you have made at least 12 posts. Thank you for your cooperation.

ANS5216E Could not establish a TCP/IP connection

Discussion in 'Backup / Archive Discussion' started by micdev, Nov 14, 2012.

  1. micdev

    micdev New Member

    Joined:
    Nov 14, 2012
    Messages:
    3
    Likes Received:
    0
    Occupation:
    programmer/engineer
    Location:
    France
    Hello,

    I try to make an archive using dsmc in a java program but I have the following messages :

    14.11.2012 16:31:42 ANS5216E Could not establish a TCP/IP connection with address 'SRVARC:1525'. The TCP/IP error is 'Connexion refusée' (errno = 111).
    14.11.2012 16:31:42 ANS9020E Could not establish a session with a TSM server or client agent. The TSM return code is -50.
    14.11.2012 16:31:42 ANS1017E Session rejected: TCP/IP connection failure
    14.11.2012 16:31:42 ANS8023E Unable to establish session with server.
    In the past the program had no problem but recently I have the following logs.

    Can someone help me ????

    micdev
     
  2.  
  3. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,114
    Likes Received:
    273
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    Is 'SRVARC:1525' the ENTIRE physical server name or the server name AND tcp port?
     
  4. micdev

    micdev New Member

    Joined:
    Nov 14, 2012
    Messages:
    3
    Likes Received:
    0
    Occupation:
    programmer/engineer
    Location:
    France
    Hello Ed,
    These are the server name and tcp port.

    Micdev.
     
  5. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,114
    Likes Received:
    273
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    When you invoke dsmc in a script, you should specify the actual server name of where the TSM server 'lives' in unless you have an alias or DNS entry for this.

    The tcpport. if not defaulted to 1500, must be entered separately.

    Invoking dsmc from a script will make a call to the DSM.OPT or DSM.SYS to run properly. The DSM.OPT or DSM.SYS file contains the TSM server details and TCPPORT.
     
  6. domino

    domino Senior Member

    Joined:
    Nov 16, 2005
    Messages:
    716
    Likes Received:
    32
    Occupation:
    System Engineer
    Location:
    Germany
    try: telnet SRVARC 1525
     
  7. micdev

    micdev New Member

    Joined:
    Nov 14, 2012
    Messages:
    3
    Likes Received:
    0
    Occupation:
    programmer/engineer
    Location:
    France
    It is not possible to make telnet because I work with ssh
    In fact when i try to archive a file alone to analyse the problem :
    dsmc archive -v2archive -description=' ' -archmc=sc -filelist="file_with_one_file.txt"

    I have the following problem:
    ANS1228E Sending of object 'file' finished with failures.
    ANS1312E Server media mount not possible

    The maxnummp = 999. So what happens ?

    Micdev, lost in the TSM space !
     

Share This Page