NetBackup SQL backups fail with an error "ReadFromVirtualDevice: ERR - Error in GetCommand: 0x80770004".

Article: 100017119
Last Published: 2020-11-18
Ratings: 1 1
Product(s): NetBackup & Alta Data Protection

Problem

NetBackup SQL backups fail with an error "ReadFromVirtualDevice: ERR - Error in GetCommand: 0x80770004".

Error Message

The following Client log files on the SQL server show the following messages:

bphdb:
08:24:06.314[2172.736] <16> bphdb: ERR - send() to server failed: An existing connection was forcibly closed by the remote host.
08:24:06.314 [2172.736] <16> bphdb: ERR - could not write keepalive to the NAME socket
08:24:06.314 [2172.736] <16> bphdb: ERR - Create Process For XX exit status: (24)
08:24:06.314[2172.736] <16> bphdb: ERR - bphdb exit status = 24: socket write failed

dbbackup: (snippets)
07:20:15 [2104.2224] <32> ReadFromVirtualDevice: ERR - Error in GetCommand: 0x80770004.
...(snip)...
07:20:15[2104.2224] <4> KillAllThreads: INF - Issuing SignalAbort to MS SQL ServerVDI
...(snip)...
07:20:16[2104.520] <4> Dbbackrec::Perform: INF - OPERATION #4 of batch C:\Program Files\Veritas\NetBackup\DbExt\MsSql\sqlfull.bch FAILED with STATUS x (0 isnormal). Elapsed time = 25927(25927) seconds. (7.2 hours)

 

Cause

The backups were being initiated via Microsoft Terminal Server, and then the terminal server session was exited. This caused the backup processes to stop, and the backup to fail.

 

Solution

Do not launch SQL operations through Terminal Server sessions, or via other remote management software. Initiate backups either from the master server or directly at the SQL console, and launch all restore operations directly from the SQL console.

 

Was this content helpful?