SQLServer服务不能开机自启?

diaodong01 2013-12-15 02:17:22
我SQLServer服务设置的是自动,可是开机都不会自启(刚开始可以,前几天突然就不行了),急死了,求救啊,各位
...全文
549 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
diaodong01 2013-12-15
  • 打赏
  • 举报
回复
引用 1 楼 Cloud_Hero 的回复:
有可能是服务启动延迟;如果你手动可以启动服务,那么检查一下服务账号设置以及服务依赖项等因素,并可以看看日志是否有告警或报错。
我看过 ,sqlserver服务没有依赖关系的服务,而且开机好久也不启动(我同学的,是开机就立即开启),服务账号不知道怎么看,日志(看不到,我贴上来吧): 2013-12-15 13:49:50.04 Server Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) Oct 19 2012 13:38:57 Copyright (c) Microsoft Corporation Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) 2013-12-15 13:49:50.04 Server (c) Microsoft Corporation. 2013-12-15 13:49:50.04 Server All rights reserved. 2013-12-15 13:49:50.04 Server Server process ID is 7048. 2013-12-15 13:49:50.04 Server System Manufacturer: 'Acer', System Model: 'Aspire 4750'. 2013-12-15 13:49:50.04 Server Authentication mode is MIXED. 2013-12-15 13:49:50.04 Server Logging SQL Server messages in file 'D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log\ERRORLOG'. 2013-12-15 13:49:50.05 Server The service account is 'NT Service\MSSQLSERVER'. This is an informational message; no user action is required. 2013-12-15 13:49:50.05 Server Registry startup parameters: -d D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\master.mdf -e D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log\ERRORLOG -l D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\mastlog.ldf 2013-12-15 13:49:50.05 Server Command Line Startup Parameters: -s "MSSQLSERVER" 2013-12-15 13:49:51.29 服务器 SQL Server detected 1 sockets with 2 cores per socket and 4 logical processors per socket, 4 total logical processors; using 4 logical processors based on SQL Server licensing. This is an informational message; no user action is required. 2013-12-15 13:49:51.29 服务器 SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required. 2013-12-15 13:49:51.29 服务器 Detected 5984 MB of RAM. This is an informational message; no user action is required. 2013-12-15 13:49:51.29 服务器 Using conventional memory in the memory manager. 2013-12-15 13:49:51.33 服务器 This instance of SQL Server last reported using a process ID of 5896 at 2013/12/15 13:34:33 (local) 2013/12/15 5:34:33 (UTC). This is an informational message only; no user action is required. 2013-12-15 13:49:51.33 服务器 Node configuration: node 0: CPU mask: 0x000000000000000f:0 Active CPU mask: 0x000000000000000f:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required. 2013-12-15 13:49:51.34 服务器 Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required. 2013-12-15 13:49:51.34 服务器 Software Usage Metrics is disabled. 2013-12-15 13:49:51.34 spid4s Starting up database 'master'. 2013-12-15 13:49:51.44 Server CLR version v4.0.30319 loaded. 2013-12-15 13:49:51.47 服务器 Common language runtime (CLR) functionality initialized using CLR version v4.0.30319 from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\. 2013-12-15 13:49:51.78 spid4s Resource governor reconfiguration succeeded. 2013-12-15 13:49:51.78 spid4s SQL Server Audit is starting the audits. This is an informational message. No user action is required. 2013-12-15 13:49:51.78 spid4s SQL Server Audit has started the audits. This is an informational message. No user action is required. 2013-12-15 13:49:51.83 spid4s SQL Trace ID 1 was started by login "sa". 2013-12-15 13:49:51.84 spid4s Server name is 'ACER-PC'. This is an informational message only. No user action is required. 2013-12-15 13:49:52.02 spid14s A new instance of the full-text filter daemon host process has been successfully started. 2013-12-15 13:49:52.04 spid13s A self-generated certificate was successfully loaded for encryption. 2013-12-15 13:49:52.05 spid13s Server is listening on [ 'any' <ipv6> 1433]. 2013-12-15 13:49:52.05 spid13s Server is listening on [ 'any' <ipv4> 1433]. 2013-12-15 13:49:52.05 spid13s Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\MSSQLSERVER ]. 2013-12-15 13:49:52.05 spid13s Server local connection provider is ready to accept connection on [ \\.\pipe\sql\query ]. 2013-12-15 13:49:52.05 服务器 Server is listening on [ ::1 <ipv6> 1434]. 2013-12-15 13:49:52.06 服务器 Server is listening on [ 127.0.0.1 <ipv4> 1434]. 2013-12-15 13:49:52.06 服务器 Dedicated admin connection support was established for listening locally on port 1434. 2013-12-15 13:49:52.06 spid13s SQL Server is now ready for client connections. This is an informational message; no user action is required. 2013-12-15 13:49:52.06 服务器 SQL Server is attempting to register a Service Principal Name (SPN) for the SQL Server service. Kerberos authentication will not be possible until a SPN is registered for the SQL Server service. This is an informational message. No user action is required. 2013-12-15 13:49:52.06 服务器 The SQL Server Network Interface library could not register the Service Principal Name (SPN) [ MSSQLSvc/acer-PC ] for the SQL Server service. Windows return code: 0xffffffff, state: 63. Failure to register a SPN might cause integrated authentication to use NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies and if the SPN has not been manually registered. 2013-12-15 13:49:52.06 服务器 The SQL Server Network Interface library could not register the Service Principal Name (SPN) [ MSSQLSvc/acer-PC:1433 ] for the SQL Server service. Windows return code: 0xffffffff, state: 63. Failure to register a SPN might cause integrated authentication to use NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies and if the SPN has not been manually registered. 2013-12-15 13:49:52.09 spid17s Starting up database 'ReportServer'. 2013-12-15 13:49:52.09 spid18s Starting up database 'msdb'. 2013-12-15 13:49:52.09 spid9s Starting up database 'mssqlsystemresource'. 2013-12-15 13:49:52.09 spid20s Starting up database 'ReportServerTempDB'. 2013-12-15 13:49:52.09 spid19s Starting up database 'test1'. 2013-12-15 13:49:52.32 spid9s The resource database build version is 11.00.3000. This is an informational message only. No user action is required. 2013-12-15 13:49:53.09 spid9s Starting up database 'model'. 2013-12-15 13:49:53.36 spid9s Clearing tempdb database. 2013-12-15 13:49:54.09 spid9s Starting up database 'tempdb'. 2013-12-15 13:49:54.26 spid21s The Service Broker endpoint is in disabled or stopped state. 2013-12-15 13:49:54.26 spid21s The Database Mirroring endpoint is in disabled or stopped state. 2013-12-15 13:49:54.50 spid21s Service Broker manager has started. 2013-12-15 13:49:54.87 spid4s Recovery is complete. This is an informational message only. No user action is required. 2013-12-15 13:51:23.66 服务器 SQL Server is terminating because of a system shutdown. This is an informational message only. No user action is required. 2013-12-15 13:51:23.97 spid21s Service Broker manager has shut down. 2013-12-15 13:51:23.97 spid21s Error: 17054, Severity: 16, State: 1. 2013-12-15 13:51:23.97 spid21s The current event was not reported to the Windows Events log. Operating system error = (null). You may need to clear the Windows Events log if it is full. 2013-12-15 13:51:24.57 spid4s .NET Framework runtime has been stopped. 2013-12-15 13:51:24.69 spid4s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
Cloud_Hero 2013-12-15
  • 打赏
  • 举报
回复
有可能是服务启动延迟;如果你手动可以启动服务,那么检查一下服务账号设置以及服务依赖项等因素,并可以看看日志是否有告警或报错。

6,849

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧