dbTalk Databases Forums  

Wait on the Database Engine recovery handle failed during setup

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss Wait on the Database Engine recovery handle failed during setup in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JR
 
Posts: n/a

Default Wait on the Database Engine recovery handle failed during setup - 07-29-2010 , 10:22 AM






Trying to install SQL 2008 (no SP) on a 64 bit Win7 machine and get the
subject error. Everything I've found researching this error refers to this
happening during an upgrade from SQL 2005. In my case this is not an
upgrade. The machine has never had SQL on it before.

Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Wait on the Database Engine recovery handle failed during setup - 07-29-2010 , 03:33 PM






JR (abs (AT) spam (DOT) never) writes:
Quote:
Trying to install SQL 2008 (no SP) on a 64 bit Win7 machine and get the
subject error. Everything I've found researching this error refers to
this happening during an upgrade from SQL 2005. In my case this is not
an upgrade. The machine has never had SQL on it before.
Interesting. There was another poster who had this problem a few weeks back,
and who was eventually able to resolve it by installing a different edition.
He, too, was attempting to install on Win7 64-bit.

Which edition of SQL Server are you trying to install? 32-bit or 64-bit SQL
Server?

Which edition of Windows 7 do you have?

Can you find the file
C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Log\ERRORLOG
and attach the file, or post the contents here?

Note that if you tried to install a named instance, you should replace
MSSQLSERVER in the path with the instance name.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
  #3  
Old   
JR
 
Posts: n/a

Default Re: Wait on the Database Engine recovery handle failed during setup - 08-03-2010 , 02:15 PM



It's Windows 7 Pro 64 bit. The SQL is 2008 Workgroup edition. 64 bit SQL
is being installed.

I'll be on the machine later and see if I can snag the log.


"Erland Sommarskog" <esquel (AT) sommarskog (DOT) se> wrote

Quote:
JR (abs (AT) spam (DOT) never) writes:
Trying to install SQL 2008 (no SP) on a 64 bit Win7 machine and get the
subject error. Everything I've found researching this error refers to
this happening during an upgrade from SQL 2005. In my case this is not
an upgrade. The machine has never had SQL on it before.

Interesting. There was another poster who had this problem a few weeks
back,
and who was eventually able to resolve it by installing a different
edition.
He, too, was attempting to install on Win7 64-bit.

Which edition of SQL Server are you trying to install? 32-bit or 64-bit
SQL
Server?

Which edition of Windows 7 do you have?

Can you find the file
C:\Program Files\Microsoft SQL
Server\MSSQL10.MSSQLSERVER\MSSQL\Log\ERRORLOG
and attach the file, or post the contents here?

Note that if you tried to install a named instance, you should replace
MSSQLSERVER in the path with the instance name.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000:
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
  #4  
Old   
JR
 
Posts: n/a

Default Re: Wait on the Database Engine recovery handle failed during setup - 08-03-2010 , 04:26 PM



Here's the logs


"Erland Sommarskog" <esquel (AT) sommarskog (DOT) se> wrote

Quote:
JR (abs (AT) spam (DOT) never) writes:
Trying to install SQL 2008 (no SP) on a 64 bit Win7 machine and get the
subject error. Everything I've found researching this error refers to
this happening during an upgrade from SQL 2005. In my case this is not
an upgrade. The machine has never had SQL on it before.

Interesting. There was another poster who had this problem a few weeks
back,
and who was eventually able to resolve it by installing a different
edition.
He, too, was attempting to install on Win7 64-bit.

Which edition of SQL Server are you trying to install? 32-bit or 64-bit
SQL
Server?

Which edition of Windows 7 do you have?

Can you find the file
C:\Program Files\Microsoft SQL
Server\MSSQL10.MSSQLSERVER\MSSQL\Log\ERRORLOG
and attach the file, or post the contents here?

Note that if you tried to install a named instance, you should replace
MSSQLSERVER in the path with the instance name.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000:
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
  #5  
Old   
JR
 
Posts: n/a

Default Re: Wait on the Database Engine recovery handle failed during setup - 08-03-2010 , 06:54 PM



I should add that the things I've read on this speak of giving the network
service account full control on the protect folder. Not sure where this
resides on Win7, but I'm wondering if this is necessary since I'm not
starting any SQL services under the network services account. I set
everything to start under local system.



"JR" <abs (AT) spam (DOT) never> wrote

Quote:
Here's the logs


"Erland Sommarskog" <esquel (AT) sommarskog (DOT) se> wrote in message
news:Xns9DC4E58E99974Yazorman (AT) 127 (DOT) 0.0.1...
JR (abs (AT) spam (DOT) never) writes:
Trying to install SQL 2008 (no SP) on a 64 bit Win7 machine and get the
subject error. Everything I've found researching this error refers to
this happening during an upgrade from SQL 2005. In my case this is not
an upgrade. The machine has never had SQL on it before.

Interesting. There was another poster who had this problem a few weeks
back,
and who was eventually able to resolve it by installing a different
edition.
He, too, was attempting to install on Win7 64-bit.

Which edition of SQL Server are you trying to install? 32-bit or 64-bit
SQL
Server?

Which edition of Windows 7 do you have?

Can you find the file
C:\Program Files\Microsoft SQL
Server\MSSQL10.MSSQLSERVER\MSSQL\Log\ERRORLOG
and attach the file, or post the contents here?

Note that if you tried to install a named instance, you should replace
MSSQLSERVER in the path with the instance name.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000:
http://www.microsoft.com/sql/prodinf...ons/books.mspx





Reply With Quote
  #6  
Old   
JR
 
Posts: n/a

Default Re: Wait on the Database Engine recovery handle failed during setup - 08-04-2010 , 05:49 AM



Just tried to install SQL 2008 R2 Express and got the same error.


"JR" <abs (AT) spam (DOT) never> wrote

Quote:
I should add that the things I've read on this speak of giving the network
service account full control on the protect folder. Not sure where this
resides on Win7, but I'm wondering if this is necessary since I'm not
starting any SQL services under the network services account. I set
everything to start under local system.



"JR" <abs (AT) spam (DOT) never> wrote in message
news:eXrjJK1MLHA.5776 (AT) TK2MSFTNGP06 (DOT) phx.gbl...
Here's the logs


"Erland Sommarskog" <esquel (AT) sommarskog (DOT) se> wrote in message
news:Xns9DC4E58E99974Yazorman (AT) 127 (DOT) 0.0.1...
JR (abs (AT) spam (DOT) never) writes:
Trying to install SQL 2008 (no SP) on a 64 bit Win7 machine and get the
subject error. Everything I've found researching this error refers to
this happening during an upgrade from SQL 2005. In my case this is not
an upgrade. The machine has never had SQL on it before.

Interesting. There was another poster who had this problem a few weeks
back,
and who was eventually able to resolve it by installing a different
edition.
He, too, was attempting to install on Win7 64-bit.

Which edition of SQL Server are you trying to install? 32-bit or 64-bit
SQL
Server?

Which edition of Windows 7 do you have?

Can you find the file
C:\Program Files\Microsoft SQL
Server\MSSQL10.MSSQLSERVER\MSSQL\Log\ERRORLOG
and attach the file, or post the contents here?

Note that if you tried to install a named instance, you should replace
MSSQLSERVER in the path with the instance name.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000:
http://www.microsoft.com/sql/prodinf...ons/books.mspx








Reply With Quote
  #7  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Wait on the Database Engine recovery handle failed during setup - 08-04-2010 , 02:34 PM



JR (abs (AT) spam (DOT) never) writes:
Quote:
I should add that the things I've read on this speak of giving the network
service account full control on the protect folder. Not sure where this
resides on Win7, but I'm wondering if this is necessary since I'm not
starting any SQL services under the network services account. I set
everything to start under local system.
Thanks for the followup message, or else I would never have seen the
logs! (The news server I use, filters attachments since it's a text-
only service. But I were able get hold of the logs from Microsoft's
newsserver.)

The error in the SQL Server errorlog is "An error occurred during
encryption." Why you would get this error, I don't know. But I doubt
that it has anything to do with folder permissions. (But I don't know
what the "protect folder" is; is some new feature in Win7?)

LocalSystem is not a good choice for other reasons, so maybe you could
try using a domain account instead? That is create a user and use this
for the service account.

In any case, I would like you to submit a bug on
http://connect.microsoft.com/sqlserver/feedback.html about the issue,
so Microsoft can address this in future versions of Setup. They may also
be able to help you with what is wrong. When you submit the bug
report, you should include the logs from
"C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log".
There is one directory per installation attempt. I believe there is a
cab file that have it all. You should also add the SQL Server error
log that you posted.

And, oh, check the Windows event log. Maybe there are some errors related to
encryption.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
  #8  
Old   
JR
 
Posts: n/a

Default Re: Wait on the Database Engine recovery handle failed during setup - 08-23-2010 , 11:17 PM



In the end I just didn't have time to jack around with it so did a reinstall
of Windows 7 and SQL installed without issue except for another minor error.
Don't recall what it was at the moment, but just restarted the install and
it went through fine. Didn't have any problems though with the original
install issue.

As to running under local system, the app we use with SQL won't operate
correctly unless the services, or at minimum the the Full Text service is
running under local system so I just run them all that way and have had no
issues with doing it. Would like to know what your opposition is to local
system though for future reference. Always open to suggestions.




"Erland Sommarskog" <esquel (AT) sommarskog (DOT) se> wrote

Quote:
JR (abs (AT) spam (DOT) never) writes:
I should add that the things I've read on this speak of giving the
network
service account full control on the protect folder. Not sure where this
resides on Win7, but I'm wondering if this is necessary since I'm not
starting any SQL services under the network services account. I set
everything to start under local system.

Thanks for the followup message, or else I would never have seen the
logs! (The news server I use, filters attachments since it's a text-
only service. But I were able get hold of the logs from Microsoft's
newsserver.)

The error in the SQL Server errorlog is "An error occurred during
encryption." Why you would get this error, I don't know. But I doubt
that it has anything to do with folder permissions. (But I don't know
what the "protect folder" is; is some new feature in Win7?)

LocalSystem is not a good choice for other reasons, so maybe you could
try using a domain account instead? That is create a user and use this
for the service account.

In any case, I would like you to submit a bug on
http://connect.microsoft.com/sqlserver/feedback.html about the issue,
so Microsoft can address this in future versions of Setup. They may also
be able to help you with what is wrong. When you submit the bug
report, you should include the logs from
"C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log".
There is one directory per installation attempt. I believe there is a
cab file that have it all. You should also add the SQL Server error
log that you posted.

And, oh, check the Windows event log. Maybe there are some errors related
to
encryption.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000:
http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
  #9  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Wait on the Database Engine recovery handle failed during setup - 08-24-2010 , 02:20 PM



JR (abs (AT) spam (DOT) never) writes:
Quote:
As to running under local system, the app we use with SQL won't operate
correctly unless the services, or at minimum the the Full Text service is
running under local system so I just run them all that way and have had no
issues with doing it. Would like to know what your opposition is to local
system though for future reference. Always open to suggestions.
For one thing it is a high-privilege account, so if you have an
intruder coming in throgh SQL injection, and xp_cmdshell is open, he
can have his fun.

But my main opposition is that people often run into problem with
LocalSystem: you cannot use network shares, communication with linked
servers etc are more difficult.

It sounds funny that the application requires the FullText Service
to run under LocalSystem. I don't remember exactly what the FullText
service does these days, but it does a lot less in SQL 2008, since
fulltext is now a first-class citizen in SQL Server.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.