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,873 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 8

Expert Comment

by:dhoustonie
Comment Utility
Actually here try this one:

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

David
0
 

Author Comment

by:DReade83
Comment Utility
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
Comment Utility
Keep us posted, and I hope it goes well,

David
0
 

Author Comment

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

Any ideas?
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 8

Expert Comment

by:dhoustonie
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

In the event you manage a Small Business Server 2003, and you are audited for PCI compliance, there are several changes you must make in order to pass the audit. I can take no credit for discovering any of these fixes or workarounds, but there is no…
Written by Glen Knight (demazter) as part of a series of how-to articles. Introduction One of the biggest consumers of disk space with Small Business Server 2008(SBS) is Windows Server Update Services, more affectionately known as WSUS. For t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now