[英]Error installing SQL Server Database Engine Services with SQL Server 2019 on Windows 11 Home
I am facing an issue in installing SQL Server 2019 on my Windows 11 Home machine.我在我的 Windows 11 家用机器上安装 SQL Server 2019 时遇到问题。
The problem is问题是
Wait on the Database Engine recovery handle failed.
等待数据库引擎恢复句柄失败。 Check the SQL Server error log for potential causes
检查 SQL 服务器错误日志以了解潜在原因
I have added the log details below我在下面添加了日志详细信息
Detailed results:
Feature: Database Engine Services
Status: Failed
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
I tried reinstalling the SQL Server multiple times, both Developer edition and Express edition, but no luck.我尝试多次重新安装 SQL 服务器,包括开发版和快捷版,但没有成功。
I also tried changing the NT Service/MSSQLServer
to NTAuthority/NetworkService
or NTAuthority/LocalSystem
, but again - no luck.我还尝试将
NT Service/MSSQLServer
更改为NTAuthority/NetworkService
或NTAuthority/LocalSystem
,但又一次 - 没有运气。
Could anyone help me?有人可以帮我吗?
Event Viewer log:事件查看器日志:
Twisted is designed to make stuff like that fairly simple Twisted旨在使这样的东西相当简单
import time
from twisted.web import server, resource
from twisted.internet import reactor
class Simple(resource.Resource):
isLeaf = True
def render_GET(self, request):
return "<html>%s Iterations!</html>"%n
def main():
global n
site = server.Site(Simple())
reactor.listenTCP(8080, site)
reactor.startRunning(False)
n=0
while True:
n+=1
if n%1000==0:
print n
time.sleep(0.001)
reactor.iterate()
if __name__=="__main__":
main()
The installation storage device seems to have/report an inappropriate sector size.安装存储设备似乎有/报告了不适当的扇区大小。
Take a look at Troubleshoot errors related to system disk sector size greater than 4 KB and Microsoft support policy for 4K sector hard drives in Windows .查看 Windows 中与系统磁盘扇区大小大于 4 KB和Microsoft 对 4K 扇区硬盘驱动器的支持策略相关的故障排除错误。
I'd suggest creating a new thread and running a web server (such as Python's built-in SimpleHTTPServer or BaseHTTPServer ). 我建议创建一个新线程并运行一个Web服务器(例如Python的内置SimpleHTTPServer或BaseHTTPServer )。 Threads really aren't that scary when it comes down to it.
线程确实不是那么可怕。
from threading import Event, Thread
import BaseHTTPServer
shut_down = Event()
def http_server():
server_address = ('', 8000)
httpd = BaseHTTPServer.HTTPServer(server_address, BaseHTTPServer.BaseHTTPRequestHandler)
while not shut_down.is_set():
httpd.handle_request()
thread = Thread(target=http_server)
thread.start()
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.