Solved

certsrv.exe (940) The backup has been stopped because it was halted by the client or the connection with the client failed.

Posted on 2006-07-09
14
6,890 Views
Last Modified: 2011-10-03
I've installed a fresh copy of SBS 2003, configured everything, then run a backup on to an External USB Hard Drive. Part of the way through the backup, the following event has appeared in Event Viewer > Application Errors:

"certsrv.exe (940) The backup has been stopped because it was halted by the client or the connection with the client failed."

However, SBS is reporting the backup was successful and that no errors were encountered. There's an event in the Application Errors database to back this up, as follows:

"Small Business Server Backup completed successfully. No further action is required."

Any ideas?
0
Comment
Question by:DReade83
  • 8
  • 6
14 Comments
 
LVL 8

Expert Comment

by:dhoustonie
ID: 17068500
An interesting blog posting on what could be the problem.
http://www.informit.com/discussion/index.asp?postid=1c2a94a3-503b-4b90-b109-0b71bf126574&rl=1

What is the server configuration?
Do you have only one single partition?
Are the Exchange databases on the same partition as the OS?


David Houston
0
 

Author Comment

by:DReade83
ID: 17068575
I'll have a look at the blog now.

However, I'm running the following partitions:

Hard Disk #1:
C (System, 15GB)
E (Data, 60GB)
P (Paging, 5GB)

Hard Disk #2:
D (Backup, 80GB)

My Exchange/SQL DBs are stored on the Data drive.
0
 

Author Comment

by:DReade83
ID: 17068593
That blog is referring to this problem as a bug. The only thing is, I'm using SBS 2003, which means I'm backing up using the System Management console, not using 3rd party software. The Certification Service was installed as an optional extra, so that I could dish out certificates for the likes of Exchange 2003 and WSUS. However, the blog is referring to Exchange, not CertSrv.exe, which is the problem I'm encountering.
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 8

Expert Comment

by:dhoustonie
ID: 17068724
Actually here try this one:

http://support.microsoft.com/?id=830575

David
0
 

Author Comment

by:DReade83
ID: 17068933
Cool, thanks for that. I've done this and I'm doing another manual backup now, so I'll let you know how I get on.
0
 
LVL 8

Expert Comment

by:dhoustonie
ID: 17069003
Keep us posted, and I hope it goes well,

David
0
 

Author Comment

by:DReade83
ID: 17069073
Unfortunately this has not resolved the issue and I'm still getting the same error message.

Any ideas?
0
 
LVL 8

Expert Comment

by:dhoustonie
ID: 17069181
Can you post the complete error message from Events as well as the errors in the backup logs?
 
Thank you,
 
David
0
 

Author Comment

by:DReade83
ID: 17069289
Here you go:

09/07/2006 20:05:29 ESENT Information Logging/Recovery  213 N/A DRS1
certsrv.exe (940) The backup procedure has been successfully completed.

09/07/2006 20:05:29 ESENT Information Logging/Recovery  224 N/A DRS1
certsrv.exe (940) Deleting log files C:\WINDOWS\system32\CertLog\edb00004.log to C:\WINDOWS\system32\CertLog\edb00004.log.

09/07/2006 20:05:29 ESENT Information Logging/Recovery  223 N/A DRS1
certsrv.exe (940) Starting the backup of log files (range C:\WINDOWS\system32\CertLog\edb00005.log - C:\WINDOWS\system32\CertLog\edb00005.log).

09/07/2006 20:05:28 ESENT Information Logging/Recovery  221 N/A DRS1
certsrv.exe (940) Ending the backup of the file C:\WINDOWS\system32\CertLog\drs1.edb.

09/07/2006 20:05:28 ESENT Information Logging/Recovery  220 N/A DRS1
certsrv.exe (940) Beginning the backup of the file C:\WINDOWS\system32\CertLog\drs1.edb (size 1 Mb).

09/07/2006 20:05:28 ESENT Information Logging/Recovery  210 N/A DRS1
certsrv.exe (940) A full backup is starting.

09/07/2006 19:39:40 ESENT Error Logging/Recovery  215 N/A DRS1
certsrv.exe (940) The backup has been stopped because it was halted by the client or the connection with the client failed.

09/07/2006 19:39:40 ESENT Information Logging/Recovery  210 N/A DRS1
certsrv.exe (940) A full backup is starting.
0
 
LVL 8

Expert Comment

by:dhoustonie
ID: 17069525
Yet one more thing to try!
http://www.mcse.ms/archive114-2004-7-899218.html

833167 A Volume Shadow Copy Service (VSS) update package is available for
Windows 2003
http://support.microsoft.com/?id=833167

Another link:
http://www.ureader.com/message/1336383.aspx

From what I can tell, the files are just the certificate server database files that are giving you the problem. The certificate server uses Jet Database for data, which is not compatable with VSS, the above spatch may fix it. If so you are sorted. If not you could exclude the folder that contains the database, which may have problems later on, I can not tell, but you do need to make a backup of the certificate you have installed on the server.

An alternative again might be to stop the certificate service prior to the backup commencing and then starting it again after the backup has finished.
Use the command
net stop certsrv
and
net start certsrv
into the backup srcript.

Open the Small Business Backup Script.bks file using notepad.

The Small Business Backup Script.bks is located in the c:\program
files\microsoft windows small business server\backup directory.

Add net stop certsrv at the beginning and net start certsrv at the end

David
0
 
LVL 8

Accepted Solution

by:
dhoustonie earned 500 total points
ID: 17069762
ESENT Event ID:215

certsrv.exe (1408) The backup has been stopped because it was halted by the client or the connection with the client failed.

Based on my investigation, everyone who installs Certificate Services on SBS2003 sees this event. A review of the event log shows the Certificate Services database is actually being backed up later in the backup process, so the message can be ignored.

Taken from:
http://64.233.183.104/search?q=cache:bP5bQp7IcngJ:www.sbsdc.org/Shared%2520Documents/Configuring_Secure_Wireless_Network_Access_with_Microsoft_Windows_Small_Business_Server_2003.doc+certificate+authority+certsrv.exe+backup&hl=en&gl=ie&ct=clnk&cd=5

David
0
 

Author Comment

by:DReade83
ID: 17069773
Ah brilliant. I was highly reluctant to pay MS £100 for a hotfix, so thanks for all your help! :-)
0
 
LVL 8

Expert Comment

by:dhoustonie
ID: 17069885
If you know the hotfix, you do not pay to get them, it is a free service provided by Microsoft. The reason they are not available on the website is that they are not suitably tested and should only be applied when you have the problem identified in the KnowledgeBase Articles.


David
0
 
LVL 8

Expert Comment

by:dhoustonie
ID: 17095281
Just one thought, check to see if the exchange logs are being removed after the backup.
By getting a failed backup, exchange may not flush the logs. If they arn't you can change the script to do two backups, one for exchange only that should flush the databases

David
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I work for a company that primarily works with small businesses as their outsourced IT vendor. As such the majority of these customers utilize some version of Small Business Server. Due to the economics of running a small business, many of these cus…
If you are a user of the discontinued Microsoft Office Accounting 2008 (MSOA) and have to move to a new computer running Windows 8, you will be unhappy to discover that it won't install.  In particular, Microsoft SQL Server 2005 Express Edition (SSE…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question