• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6948
  • Last Modified:

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

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
DReade83
Asked:
DReade83
  • 8
  • 6
1 Solution
 
dhoustonieCommented:
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
 
DReade83Author Commented:
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
 
DReade83Author Commented:
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
dhoustonieCommented:
Actually here try this one:

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

David
0
 
DReade83Author Commented:
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
 
dhoustonieCommented:
Keep us posted, and I hope it goes well,

David
0
 
DReade83Author Commented:
Unfortunately this has not resolved the issue and I'm still getting the same error message.

Any ideas?
0
 
dhoustonieCommented:
Can you post the complete error message from Events as well as the errors in the backup logs?
 
Thank you,
 
David
0
 
DReade83Author Commented:
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
 
dhoustonieCommented:
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
 
dhoustonieCommented:
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
 
DReade83Author Commented:
Ah brilliant. I was highly reluctant to pay MS £100 for a hotfix, so thanks for all your help! :-)
0
 
dhoustonieCommented:
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
 
dhoustonieCommented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 8
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now