Forum Discussion

Dackey's avatar
Dackey
Level 4
6 years ago

Error 24 socket write failed, Cannot write to STDOUT...Again !

Hello dear all ! ^^

I have read almost all post about this error, try a a lot of things without good result.

All the client are some virtual machine VMware.

Almost the client have an NBU agent install with the bp.conf feeld.

Détails: When i install the NBU agent, the certificate can't be deploy automatically ? why ?

 

ERROR 24, Socket Write Failed ! :

  • Test Port firewall 1556 / 13724 / 13782

Netstat –na | FINDSTR LISTEN : The port was closed

So with an Network administrator we have open it.

Test Backup: Same error.

 

  • Test interconnexion between Master and client :

Bptestbpcd sur dhcpServer, OK source (Master)

Bpclntcmd –hn dhcp, Source  (client) : ok

Bpclntcmd –ip dhcp, Source  (client) : ok

Bpclntcmd –pn, Source  (client) : ok

Bpclient –client <Client Name>, Source (master) : Error code 227: No entity was found => same thing on a server working good !

- IPv6 has been disabled by registery to be sure.

  • Proceed of a Veritas KB, Modify NIC Advanced parameters:

https://www.veritas.com/support/en_US/article.100004801

Put Disabled all offload parameter on NIC :  netsh int tcp set global chimney=disabled

Modify / Create registery keys :

HKey_LocalMachine\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters 

Value Name: TcpMaxDataRetransmissions

Data Type: REG_DWORD

Default: 5

Change to Value = 15    (Decimal)

 

Value Name: KeepAliveTime

Data Type: REG_DWORD

Default: 7200000

Change to Value = 300000    (Decimal)

 

Restart Server.

Backup Test : NOK, same error

 

  • Check Certifcate

          Client,  Search certificat :

nbcertcmd -displayCACertDetail -server mymaster, not really OK

Champ : CA Certificate State : Not Trusted

  • Deploy the certificate :

nbcertcmd -getCACertificate -server mymaster

 

Check Certficate :

nbcertcmd -displayCACertDetail -server mymaster

Champ : CA Certificate State :  Trusted !!! Yes

=>  Backup Test : NOK, same error !

6) Stupid test, uninnstall agent v8.1.2:

Test backup: Same error.

 

I don’t know how to do know….please help me ^^ 

 

 

 

 

 

12 Replies

  • Dackey 

    Please show us all text in Job Details of failed backup.

    Status 24 is difficult to troubleshoot, because connection is normally fine and backup starts writing.
    After a while, the connection is broken. Something outside of NetBackup.

    The Job details should help us with troubleshooting to see how long the backup runs and which processes on media server and client are involved.
    You can then go to the relevant logs to get an idea where the break in network connection took place - client or media server. This will determine where to look next.

    • Dackey's avatar
      Dackey
      Level 4

      Hey Marianne ^^

      I was waiting you ;)

      Which logs do you want to see ?

      bpbrm / bpkar / bptm /  ... ?

      You must know it's a confidential environement so i just ca give you some part of logs with the name of server and ip change.

      Logs :
      bpbrm:
      10:04:01.491 [18668.12580] <2> read_client: opendir() failed: Client.FQDN: No such file or directory (2)
      10:04:01.491 [18668.12580] <2> check_dynamic_client_and_set_tss: Client entry for client Client.FQDN not found in client DB
      10:04:01.491 [18668.12580] <2> bpbrm main: Cleaning cs_cache for client:[Master.FQDN] older than:[30] sec
      
      bpbkar:
      10:28:25.689 [8700.12604] <16> dtcp_write: TCP - failure: send socket (580) (TCP 10054: Connection reset by peer)
      10:28:25.689 [8700.12604] <16> dtcp_write: TCP - failure: attempted to send 1 bytes
      • Marianne's avatar
        Marianne
        Level 6

        Please post all text in Job Details. 
        This will tell us which logs on which server and client, PIDs and timestamps.