How to troubleshoot the error message: "The connection to target system has been lost. Backup set cancelled."
|Article:TECH71227|||||Created: 2009-01-04|||||Updated: 2013-03-22|||||Article URL http://www.symantec.com/docs/TECH71227|
The connection to the target system has been lost and/or the Backup Exec Remote Agent for Windows Servers (RAWS) terminates during a backup or restore job.
V-79-57344-65072 The connection to target system has been lost. Backup set canceled.
When troubleshooting this error on a Windows Machine, first check the System and Application Event Viewer Log on the machine the job failed on for any entries similar to the following:
Source: Service Control Manager
Event ID: 7031
Description: The Backup Exec Remote Agent for Windows Servers service terminated unexpectedly. It has done this x time(s). The following corrective action will be taken in 0 milliseconds: No action
Note: "x" may be of value 1, 2, or 3, etc.
The event above indicates a process, outdated device driver, or mismatched version of the Remote Agent between the media server and remote machine is causing the Remote Agent to crash during the backup or restore.
- How to manually run LiveUpdate in Backup Exec 11d and above to verify what hotfixes or service packs have already been installed or what updates are available for installation. http://www.symantec.com/docs/TECH50132
- How to check the version or status of the Remote Agent for Windows Servers (RAWS) on remote servers from the Backup Exec Graphical User Interface (GUI)
- Verify no other application is either using or blocking TCP Port 10000 on the media server or remote machine(s).
- Backup Exec Remote Agent for Windows Servers service fails to start, with the error: "Error 3: The system cannot find the path specified."
- How to determine the Network Data Management Protocol (NDMP) port status on the remote Linux (Redhat) system in Backup Exec for Windows Servers.
- When backing a server with the ISA 2004 Firewall running in the environment, the backup fails with "A communications failure has occurred" and "The connection to target system has been lost”.
- If required, refer to following technote about Firewall and Ports: http://www.symantec.com/docs/TECH43579
- Make sure the DCOM Permissions are configured per the following:
- Backup Exec Remote Agent for Windows Servers (RAWS) terminates while backing up any resource on a remote server: with error "The connection to target system has been lost." if DCOM Permissions are not configured properly.
- Confirm the Network Card Drivers are at the latest version on both the media server and each remote machine being backed up. Make sure also the drivers/firmware are up to date on all of each machine's hardware (i.e.: SCSI/Raid Controller, Host Bus Adapter, Motherboard, etc...).
- Run a disk defragment operation and the Windows Error Checking Utility (CHKDSK /F).
- How to correct slow backups and agent initialization problems on fragmented Windows Server Hard Disk Partitions.
6. Review what is installed in the Control Panel, Add/Remove Programs Applet. No other backup or open file technology applications (i.e.: Legato, ArcServe, NetBackup, St. Bernards Open Transaction Manager, etc...) should be installed on the machine, even if these applications are disabled and not being currently used.
7. If a database application is being backed up when the Remote Agent's Connection is terminated, make sure the application (i.e.: Exchange, Lotus Domino, Oracle, SharePoint, or SQL) is not running a native backup (i.e.: SQL Dump or Exchange Backup with NT Backup) or any other type of maintenance. Make sure also the anti-virus scanner software is not improperly scanning the file system at any time or attempting to run a scan or update at the same time the backup is running. Review the following documents for more information:
Virus scanning recommendations for computers that are running Windows Server 2003, Windows 2000, or Windows XP
Microsoft Exchange mailboxes backed up via the Microsoft Exchange Agent hang in random locations within the backup set
Slow backup occurs when backing up Microsoft Exchange 2000 and Exchange 2003 servers between 1:00 am and 5:00 am
"A communications failure has occurred" is reported while performing a multi-stream Oracle backup if the number of ports opened on the firewall are less than the number of streams specified in the backup job
8. Make sure the media server and each remote machine has enough physical RAM (Random Access Memory) available to accommodate all the applications running. A backup is a very I/O Intensive Operation on a system, even if the machine is just a member server or workstation in a domain and has no other applications installed on it. Installing the Advanced Open File Option (AOFO), anti-virus scanning software, transactional database applications, and/or promoting a server to a domain controller all require more memory for all the applications to function properly, in addition to the backup software (i.e.: media server or Remote Agents). A restore operation is also more I/O Intensive than a backup, because of the need to both read and write the data, verses just writing the data to a media during a backup. Confirm also the memory is not mis-matched (i.e.: different makes/model) and is what the server hardware manufacturer recommends/supports.
9. Confirm disk compression is not enabled on the hard disks:
How hard disk compression can affect backup and restore jobs on a Windows NT File System Partition
10. Confirm the Windows Automatic Updates are not set to automatically download or install patches at a time when a backup could possibly be running.
11. Run test backups of each resource (C$, System State, Shadow Copy Components, Databases, etc...) individually using a new Selection List to determine what is being backed up when the Remote Agent terminates. If the Advanced Open File Option (AOFO) is installed and the option is selected during a backup, deselect this option for testing purposes to determine if the backups complete successfully when AOFO is not selected.
12. When backing up to tape hardware, make sure that the Preferred Configuration is set to the default and that none of the modes are selected unless the tape hardware is attached to fibre. For more information on this, review the following document:
Tape Drive Configuration Settings available in Backup Exec for Windows Servers (BEWS)
13. Lower the priority of the Remote Agent per what shows in the following:
How to change the priority level of the Backup Exec Remote Agent for Windows Servers
14. If the connection is terminated during a restore, confirm the target machine has enough free disk space available. Some restore operations require there be 1.5 to 2 times the amount of free disk space to be available than what the amount of data being restored is. The more current versions of database applications also will write some type of useful diagnostic error or warning to the Application Event Viewer Log, so review it too.
Please note: If the Backup Exec Remote Agent Service does not terminate during a backup or restore, but the "connection to the target system has been lost" error still occurs, the issue is most likely occurring because of the network connectivity equipment or configuration (misconfigured DNS, Security Credentials, etc...) between the media server and remote machine(s). Review the following Microsoft Knowledge Base Article and Symantec Knowledge Base Article below and in the Related Documents Section for more information on how to resolve the network connectivity and security issues:
Advanced network adapter troubleshooting for Windows workstations.
Attempting to back up from other servers on the network, the job may fail with the error "0xe00084f8 - The network connection to the Backup Exec Remote Agent has been lost." if the network connection is not configured properly.
"Access denied" and "access is denied" messages in Backup Exec for Windows Servers and how to troubleshoot the errors
15. If using IPv6 to back up a remote computer, then the backup may fail. This is a known limitation. For more information, see http://www.symantec.com/docs/TECH169685.
The Backup Exec Remote Agent for Windows Servers service terminated unexpectedly. It has done this x time(s). The following corrective action will be taken in 0 milliseconds: No action
Connection to the target system has been lost
The connection to target system has been lost.
Article URL http://www.symantec.com/docs/TECH71227