Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

E8601 Failed to connect agent. (AGENT=dbasql@MSSQLSERVER, EC=128)

Status
Not open for further replies.

davidwoo1

MIS
Feb 17, 2004
11
DE
Hi All,

Has anyone had this error when bakcing up an SQl database:

E8601 Failed to connect agent. (AGENT=dbasql@MSSQLSERVER, EC=128)
I have tried restarting the services and re-installing the SQL agent. It's backing up SQL 2000 DB on a 2000 Server box.

Snip of Log (Error towards the end):

Job ID........................ 313
Workstation................... FTLPMOM01 ( 10.7.7.21 )
Source........................ C:
Target........................ I-VANT-THU- 7/22/04, ID 4CC6, Sequence #1
Session....................... 2
Start Time.................... 7/22/04 6:35 PM
AW0004 Failed to open file <C:\Documents and Settings\All Users.WINNT\Application Data\Microsoft\Network\Downloader\qmgr0.dat>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <C:\Documents and Settings\All Users.WINNT\Application Data\Microsoft\Network\Downloader\qmgr1.dat>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <C:\Documents and Settings\All Users.WINNT\Application Data\Mission Critical Software\OnePoint\CITRIXFTL\AgentResponseMgr.pqf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <C:\Documents and Settings\All Users.WINNT\Application Data\Mission Critical Software\OnePoint\CITRIXFTL\AlertSend.pqf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <C:\Documents and Settings\All Users.WINNT\Application Data\Mission Critical Software\OnePoint\CITRIXFTL\EvtCons>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <C:\Documents and Settings\All Users.WINNT\Application Data\Mission Critical Software\OnePoint\CITRIXFTL\EvtSend.pqf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <C:\Documents and Settings\All Users.WINNT\Application Data\Mission Critical Software\OnePoint\CITRIXFTL\ExtSubmit.pqf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <C:\Documents and Settings\All Users.WINNT\Application Data\Mission Critical Software\OnePoint\CITRIXFTL\PerfSend.pqf>. RC=32, The process cannot access the file because it is being used by another process.
Total Directories............. 1,795
Total Files................... 69
Total Skips................... 8
Total Size (Disk)............. 20.98 MB
Total Size (Media)............ 26.50 MB
Elapsed Time.................. 27s
Average Throughput............ 58.88 MB/min

Job ID........................ 313
Workstation................... FTLPMOM01 ( 10.7.7.21 )
Source........................ E:
Target........................ I-VANT-THU- 7/22/04, ID 4CC6, Sequence #1
Session....................... 3
Start Time.................... 7/22/04 6:35 PM
Total Directories............. 2
Total Files................... 0
Total Skips................... 0
Total Size (Disk)............. 336 KB
Total Size (Media)............ 64 KB
Elapsed Time.................. 0s
Average Throughput............ 19.68 MB/min

Job ID........................ 313
Workstation................... FTLPMOM01 ( 10.7.7.21 )
Source........................ F:
Target........................ I-VANT-THU- 7/22/04, ID 4CC6, Sequence #1
Session....................... 4
Start Time.................... 7/22/04 6:35 PM
AW0004 Failed to open file <F:\SQLOGS\MOMLOGS\OnePoint_log.ldf>. RC=32, The process cannot access the file because it is being used by another process.
Total Directories............. 4
Total Files................... 0
Total Skips................... 1
Total Size (Disk)............. 2 KB
Total Size (Media)............ 64 KB
Elapsed Time.................. 0s
Average Throughput............ 3.75 MB/min

Job ID........................ 313
Workstation................... FTLPMOM01 ( 10.7.7.21 )
Source........................ G:
Target........................ I-VANT-THU- 7/22/04, ID 4CC6, Sequence #1
Session....................... 5
Start Time.................... 7/22/04 6:35 PM
AW0004 Failed to open file <G:\SQLDATA\MOMDATA\OnePoint.mdf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\Insight_v1_0.mdf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\Insight_v1_0_log.LDF>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\master.mdf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\mastlog.ldf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\model.mdf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\modellog.ldf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\msdbdata.mdf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\msdblog.ldf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\northwnd.ldf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\northwnd.mdf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\pubs.mdf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\pubs_log.ldf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\tempdb.mdf>. RC=32, The process cannot access the file because it is being used by another process.
AW0004 Failed to open file <G:\SQLDATA\MSSQL\Data\templog.ldf>. RC=32, The process cannot access the file because it is being used by another process.
Total Directories............. 16
Total Files................... 1
Total Skips................... 15
Total Size (Disk)............. 17 KB
Total Size (Media)............ 128 KB
Elapsed Time.................. 0s
Average Throughput............ 7.50 MB/min

Job ID........................ 313
Workstation................... FTLPMOM01 ( 10.7.7.21 )
Source........................ System State
Target........................ I-VANT-THU- 7/22/04, ID 4CC6, Sequence #1
Session....................... 6
Start Time.................... 7/22/04 6:35 PM
Total Directories............. 64
Total Files................... 1,831
Total Skips................... 0
Total Size (Disk)............. 236.87 MB
Total Size (Media)............ 242.25 MB
Elapsed Time.................. 46s
Average Throughput............ 315.97 MB/min
E8601 Failed to connect agent. (AGENT=dbasql@MSSQLSERVER, EC=128)

Totals For.................... FTLPMOM01 ( 10.7.7.21 )
Total Sessions................ 5
Total Directories............. 1,881
Total Files................... 1,901
Total Databases............... 0
Total Skips................... 24
Total Size (Disk)............. 258.21 MB
Total Size (DB)............... 0 KB
Total Size (Media)............ 269.00 MB
Elapsed Time.................. 1m 13s
Average Throughput............ 221.09 MB/min
Total Errors/Warnings......... 1/0
 
I assume its because the database is in use. Try stopped the service, and then run your backup again.
 
There are actually a couple of problems here.

1. The job failed to connect with SQL Server when it was trying to backup the data.

2. The job failed to connect with SQL Server when it was trying to build a list of files to EXCLUDE from the file system backup.

These may or may not be related to the same problem. You need to check the following:

1. SQL Server MUST be running during the backup. Otherwise you cannot backup the data.
2. Make sure that the account you are using has all the necessary rights. Check for more information.
3. If you are using SQL authentication you must specify a user account and password during installation of the SQL agent. This account is used during file system backups to create a list of files (MDF, NDF and LDF) to exclude. This account may be missing information or incorrect. If you are using Windows authentication then the user account that you are backing up the machine with should have System Operator rights in SQL Server.
4. Also make sure you specified the correct account in the GUI when you packaged the job.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top