0% found this document useful (0 votes)
224 views3 pages

Status Code 42

All backups using a particular media server were failing with exit status 42. This was due to the media server not being listed on the master server, so the master was rejecting its connection attempts. The issue was resolved by adding the media server to the master server's list of media servers.

Uploaded by

NavneetMishra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
224 views3 pages

Status Code 42

All backups using a particular media server were failing with exit status 42. This was due to the media server not being listed on the master server, so the master was rejecting its connection attempts. The issue was resolved by adding the media server to the master server's list of media servers.

Uploaded by

NavneetMishra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

7/13/2016

Whenrunningabackupofallclientsusingaparticularmediaserver,allbackupsfailwithExitStatus42,networkreadfailed.

Whenrunningabackupofallclientsusingaparticularmedia
server,allbackupsfailwithExitStatus42,networkread
failed.
Article:000028515
Publish:September14,2015
ArticleURL:http://www.veritas.com/docs/000028515
ManageyourSubscriptions

Problem
ErrorMessage
<16>logERROR:cannotlogmessagetoerrordatabase,error=networkreadfailed
<16>get_image_info:db_getIMAGE()failed:networkreadfailed(42)
<2>send_brm_msg:ERROR42
<2>bptm:EXITINGwithstatus42<

Solution
Overview:
Allclientbackupsusingaparticularmediaserverfail,andexitwithaNetBackupStatusCode42,networkread
failed.
Troubleshooting:
Enablethebptmlogfileonthemediaserverbycreatingthefolder/usr/openv/netbackup/logs/bptmonUNIX
mediaserversand<install_path>\VERITAS\NetBackup\logs\bptmonWindowsmediaservers.
Logfiles:
Thebptmlogfilewillshowthefollowingerrormessage:
<2>logconnections:BPDBMCONNECTFROM10.30.20.45.1408TO10.10.20.45.13721
<2>get_string:read0of8bytesfromsocket
<2>get_string:(8)networkread()error:Anexistingconnectionwasforciblyclosedby
theremotehost.
<2>db_getdata:get_string()failed:Anexistingconnectionwasforciblyclosedbythe
remotehost.(10054)networkreaderror(3)
<2>db_startrequest:protocolerror1
<2>db_begin:db_startrequest()failed:networkreadfailed
<2>get_long:(1)cannotread(byte1)fromnetwork:Anexistingconnectionwasforcibly
closedbytheremotehost.
https://www.veritas.com/support/en_US/article.TECH36295

1/3

7/13/2016

Whenrunningabackupofallclientsusingaparticularmediaserver,allbackupsfailwithExitStatus42,networkreadfailed.

<2>db_getdata:get_string()failed:Anexistingconnectionwasforciblyclosedbythe
remotehost.(10054)networkreaderror(3)
<2>db_end:noDONEfromdb_getreply():networkreadfailed
<2>db_ERROR:db_begin()failed:networkreadfailed
<16>logERROR:cannotlogmessagetoerrordatabase,error=networkreadfailed
<16>get_image_info:db_getIMAGE()failed:networkreadfailed(42)
<2>send_brm_msg:ERROR42
<2>bptm:EXITINGwithstatus42<
Resolution:
Whenthemediaserveristryingtoconnecttothemasterserver,theconnectionisbeingrejectedbythemaster
becausethemediaserverisnotonthemasterserver'slistofmediaservers.Itisalsopossiblethatthemedia
serverdoesnothaveanentryofitselfintheserverlistonthemediaserver.
Toresolvethiserror,addthemediaservertothemasterserver'smediaserverlist.Checkthemediaserverand
verifythemediaservernameisthereonit'sownserverlist.
UNIXmasterserver:
Addthefollowingentryto/usr/openv/netbackup/bp.conf.
SERVER=<MediaServerName>
WhennobackupsorrestoreoperationsarerunningstopandrestarttheNetBackupdaemonsforthechanges
totakeeffect.
Windowsmasterserver:
FromtheAdminConsole|HostProperties|MasterServer,proceedtotheServertabandaddthemedia
servertotheserverlist.
WhennobackupsorrestoreoperationsarerunningstopandrestarttheNetBackupServicesforthechangesto
takeeffect.
OR
Addthemediaservertothefollowingregistrykey:
HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config
Name:SERVER
Type:REG_MULTI_SZ
Data:<MediaServerName>
Warning:IncorrectuseoftheWindowsregistryeditormaypreventtheoperatingsystemfromfunctioning
properly.GreatcareshouldbetakenwhenmakingchangestoaWindowsregistry.Registrymodifications
shouldonlybecarriedoutbypersonsexperiencedintheuseoftheregistryeditorapplication.Itis
recommendedthatacompletebackupoftheregistryandworkstationbemadepriortomakinganyregistry
https://www.veritas.com/support/en_US/article.TECH36295

2/3

7/13/2016

Whenrunningabackupofallclientsusingaparticularmediaserver,allbackupsfailwithExitStatus42,networkreadfailed.

changes.
WhennobackupsorrestoreoperationsarerunningstopandrestarttheNetBackupServicesforthechangesto
takeeffect.

TermsofuseforthisinformationarefoundinLegalNotices.

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

3/3

You might also like