Microsoft Windows Server SQL代理不在Amazon EC2上启动

在部署在Amazon EC2上的Windows Server 2012计算机上启动SQL Agent时遇到了一个小问题。 因为我们忘记了login密码,所以我们不得不按照这个程序 。 重新启动服务器后,我们无法启动SQL Server并获取以下堆栈跟踪:

无法在服务器WIN-E7I6SUJ7I1G上启动服务SQLSERVERAGENT。 (mscorlib程序)


计划地点:

服务器堆栈跟踪:

at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.Service.Start() at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase) at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData) at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ServiceActionHandler.EndInvoke(IAsyncResult result) at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ServiceControlProgress.ActionCompletedHandler(IAsyncResult result) =================================== Service Request Timeout (ObjectExplorer) ------------------------------ Program Location: at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.Service.CheckServiceActionReturnValueSuccess(UInt32 returnValue) at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.Service.Start() 

试试以下内容:

  1. 运行services.msc。
  2. findMSSQLSERVER服务。 右键单击并打开属性。
  3. 检查它运行在哪个服务帐户(通常为NTAUTHORITY \ SYSTEM,NTAUTHORITY \ LOCAL SERVICE或NTAUTHORITY \ NETWORK SERIVICE,除非您为了安全目的在不同的用户帐户下运行它)。

据我所知,如果你张贴在这里https://forums.aws.amazon.com/thread.jspa?threadID=113300它也许也有帮助。

检查服务日志或Windows事件日志中是否有错误,并在发布之前先检查它们,如果在检查这些事件后无法确定,请返回