Er: C_SNDSTS - connect() errno = 3447 on IBM i Agent V7R1

We have this trouble with connection to server. We restarted and clear RTV_STS and nothing. Could you help us in determinate the cause?

Comments

  •     Hi,

        errno = 3447 Error while connecting for error socket
        Looks like your agent canot communicate with LPAR2RRD server.

        have you correctly set lpar2rrd server hostname/IP?
        As per docu:

        1.
        PING RMTSYS('LPAR2RRD-SERVER.SERVER.COM')
          Verifying connection to host system LPAR2RRD-SERVER.SERVER.COM at address 192.168.1.2.
          Connection verification statistics: 5 of 5 successful (100 %).

        2.
        CHGCMDDFT CMD(LPAR2RRD/RTV_SYSSTS) NEWDFT('IPADR(LPAR2RRD-SERVER.SERVER.COM)')

        Using IP address instead of hostanme example:
        CHGCMDDFT CMD(LPAR2RRD/RTV_SYSSTS) NEWDFT('IPADR(''192.168.1.2'')')

        3.
        is 8162 port opened? agent --> lpar2rrd server:8162

        4. is lpar2rrd server running?
        on lpar2rrd server: ps -ef| grep lpar2rrd-daemon

        5. anything related in lpar2rrd daemon log?
        on lpar2rrd server:
        tail logs/error.log-daemon



  • Hi Pavel

    1.
        PING RMTSYS('LPAR2RRD-SERVER.SERVER.COM')

    No ha habido respuesta del sistema principal en el plazo de 1 segundos  
      para la 1ª verificación de la conexión.                               
    No ha habido respuesta del sistema principal en el plazo de 1 segundos  
      para la 2ª verificación de la conexión.                               
    No ha habido respuesta del sistema principal en el plazo de 1 segundos  
      para la 3ª verificación de la conexión.                               
    No ha habido respuesta del sistema principal en el plazo de 1 segundos  
      para la 4ª verificación de la conexión.                               
    No ha habido respuesta del sistema principal en el plazo de 1 segundos  
      para la 5ª verificación de la conexión.                               
    Estadísticas de verificación de conexión: 0 satisfactorias de 5 intentos
      (0 %).                                                                

    We have already do this >> CHGCMDDFT CMD(LPAR2RRD/RTV_SYSSTS) NEWDFT('IPADR(''192.168.1.1'')')

    On server

    lpar2rrd:/home/lpar2rrd/lpar2rrd # ps -ef| grep lpar2rrd-daemon
    root     18318 30587  0 10:07 pts/1    00:00:00 grep --color=auto lpar2rrd-daemon
    lpar2rrd 32234     1  0 Jan12 ?        01:13:15 /usr/bin/perl w/home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl

    lpar2rrd:/home/lpar2rrd/lpar2rrd #  tail logs/error.log-daemon
    Use of uninitialized value $mins in multiplication (*) at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 4217.
    Use of uninitialized value $secs in addition (+) at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 4217.
    Use of uninitialized value $mins in multiplication (*) at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 4217.
    Use of uninitialized value $secs in addition (+) at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 4217.
    Use of uninitialized value $mins in multiplication (*) at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 4217.
    Use of uninitialized value $secs in addition (+) at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 4217.
    Use of uninitialized value $mins in multiplication (*) at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 4217.
    Use of uninitialized value $secs in addition (+) at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 4217.
    Use of uninitialized value $mins in multiplication (*) at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 4217.
    Use of uninitialized value $secs in addition (+) at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 4217.

    We don't have communication the agent with server.
  • Pavel, the error persists

    Er: C_SNDSTS  - connect() errno = 3447 

    Use of uninitialized value $secs in addition (+) at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 4217

    We don't have communication the agent with server.

    Ping to server no response.

  • Hi,

    there is no TCP connection estabilished, daemon errors are not related.
    is this ocmmunication allow3ed through your network?
    agent --> lpar2rrd server:8162 (TCP)
    ping could also work if it is not explicitly disabled what is not comon in internals networks.

    What about these tests, change target for you internal lpar2rrd server

    Test network connectivity
    For example if hostname of LPAR2RRD server is LPAR2RRD-SERVER.SERVER.COM.
    • ping:
      PING RMTSYS('LPAR2RRD-SERVER.SERVER.COM') 
        Verifying connection to host system LPAR2RRD-SERVER.SERVER.COM at address 192.168.1.2.
        Connection verification statistics: 5 of 5 successful (100 %). 
      
    • telnet:
      TELNET RMTSYS('LPAR2RRD-SERVER.SERVER.COM') PORT(8162) RMTUSER(TESTSTRING) INZWAIT(15)
        Connecting to remote host 192.168.1.2 using port 8162
      
      If you get after 15 seconds "No response from remote host system within open time-out." then it is wrong!.
      Either LPAR2RRD server daemon is not running or TCP connection is filtered on the network by a firewall.
      If connection hanging (it times out in 10 mins) then it is ok, you can interrupt it by:
         SysRq ➡ Enter ➡ 2. End previous request




  • I did the test with following results:

    From Power
    PING RMTSYS('LPAR2RRD-SERVER.SERVER.COM') 

    No successfully

    TELNET RMTSYS('LPAR2RRD-SERVER.SERVER.COM') PORT(8162) RMTUSER(TESTSTRING) INZWAIT(15)

    No suceesfully.

    I did ping from command prompt console (My PC) and was suceesfully.

    Where i check whats the problem?


  • you are really trying to telnet to lpar2rrd-server.server.com?
    No surprise ... this is only example, you have to place your name, same as for ping example.
    unles your company is really server.com.
  • This is the support
    3 >> PING RMTSYS ('172.19.149.175')
        Verifying the connection to the host 172.19.149.175.
        There has been no response from the main system within 1 second
          for the 1st verification of the connection.
        There has been no response from the main system within 1 second
          for the 2nd verification of the connection.
        There has been no response from the main system within 1 second
          for the 3rd verification of the connection.
        There has been no response from the main system within 1 second
          for the 4th verification of the connection.
        There has been no response from the main system within 1 second
          for the 5th verification of the connection.
        Connection verification statistics: 0 satisfactory of 5 attempts
          (0%).

    I´m sure this is the ip server. It worked suceesfully. in other
    occasions we have to change the RTV_STS program.

    Is neccesary to update the version?


  • what about telnet test?
  • No connection by telnet
  • Hi,

    that is the reaspon why it does not work.
    you must connect lpar2rrd_server:8162 port.

    Ask your network/security colleagues how to open it on the network level to reach it.
Sign In or Register to comment.