Skip to main content
NetApp Knowledgebase

NetBackup NDMP backup fails by error "Write to socket failed"

Views:
581
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
dp
Last Updated:

Applies to

ONTAP 9.5
ONTAP 9.3

Issue

  • NetBackup NDMP backup fails by error "Write to socket failed".
  • "Interrupted system call" and "Write to socket failed" is detected in /mroot/etc/log/backup.


<VOLUME_PATH> Phase_change (IV)
<VOLUME_PATH>  Log_msg (Write DIRNET for BKP ID=<ID>, type=3 interrupted while at waiting for max inflight. Error = Interrupted system call.)
<VOLUME_PATH>  Error (Write to socket failed)
<VOLUME_PATH>  Tape_close (ndmp)

  • Receiving ABORT command can be seen in /mroot/etc/log/mlog/ndmpd.log with debug option.

Example:

DEBUG: DMA>>S V4 sequence=22 (0x16)
DEBUG:      Time_stamp=0x5eb1c253 (May  6 04:45:23 2020)
DEBUG:      message type=0 (NDMP4_MESSAGE_REQUEST)
DEBUG:      message_code=0x403 (NDMP4_DATA_ABORT)
DEBUG:      reply_sequence=0 (0x0)
DEBUG:      error_code=0 (NDMP4_NO_ERR)
DEBUG: DATA abort: called
 INFO: DATA: received ABORT command (-0:00:10)

 INFO: DATA: requesting D-Blade backup ABORT (-0:00:10)
DEBUG: COMMON_State::data_abort: called
DEBUG: C>BKUP (ndmp_client) NDMPD2BR_SESSION_ABORT
DEBUG:      sess_handle 0x3d000000005 seq 14 (0xe)
DEBUG:      context: mode(C) persona(VSERVER) vfid(0)
DEBUG: Time_Out::Timer 0x807b547c0 1588708216.873794 vs 1588707933.541800 (next 0x0)
DEBUG: Time_Out::next timeout 1588708216.873794
DEBUG: S<BKUP (ndmp_server) BR2NDMPD_LOG_MESSAGE
DEBUG:      sess_handle 0x3d000000005 seq 127 (0x7f)
DEBUG:      log_type 2 (LOG_TYPE ERROR)
DEBUG:      msg (DUMP: Error: Write to socket failed\n)
DEBUG: S>BKUP (ndmp_server) BR2NDMPD_LOG_MESSAGE
DEBUG: COMMON_State::posts_log_message called
DEBUG: DMA<<S V4 sequence=148 (0x94)
DEBUG:      Time_stamp=0x5eb1c25d (May  6 04:45:33 2020)
DEBUG:      message type=0 (NDMP4_MESSAGE_REQUEST)
DEBUG:      message_code=0x603 (NDMP4_LOG_MESSAGE)
DEBUG:      reply_sequence=0 (0x0)
DEBUG:      error_code=0 (NDMP4_NO_ERR)
DEBUG:      log_type=2 (NDMP4_LOG_ERROR)
DEBUG:      message_id=16 (0x10)
DEBUG:      entry='DUMP: Error: Write to socket failed\n'

 

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support