日期: 2016/12/26 9:07:22
应用程序: Operations Manager
应用程序版本: 7.1.10226.0
严重性: 错误
消息: 未能连接到服务器"BJ-SCOM**.****"
Microsoft.EnterpriseManagement.Common.UnknownServiceException: 服务引发未知异常。有关详细信息,请参阅内部异常。 ---> System.ServiceModel.FaultException`1[System.UnauthorizedAccessException]: The creator of this fault did not specify a Reason.
Server stack trace:
在 System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
在 System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
在 System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
在 System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
在 Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
在 Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
在 Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
--- 内部异常堆栈跟踪的结尾 ---
在 Microsoft.EnterpriseManagement.Common.Internal.ExceptionHandlers.HandleChannelExceptions(Exception ex)
在 Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
在 Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.ConstructEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore clientCallback)
在 Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.RetrieveEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
在 Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Connect[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
在 Microsoft.EnterpriseManagement.ManagementGroup.InternalInitialize(EnterpriseManagementConnectionSettings connectionSettings, ManagementGroupInternal internals)
在 Microsoft.EnterpriseManagement.Mom.Internal.UI.Common.ManagementGroupSessionManager.Connect(String server)
在 Microsoft.EnterpriseManagement.Monitoring.Console.Internal.ConsoleWindowBase.TryConnectToManagementGroupJob(Object sender, ConsoleJobEventArgs args)
System.ServiceModel.FaultException`1[System.UnauthorizedAccessException]: The creator of this fault did not specify a Reason. (错误详细信息等于 System.UnauthorizedAccessException: You have exceeded the evaluation period of this product. Please upgrade to the retail version to continue using the product. For information on purchasing the retail version of this product, go to http://go.microsoft.com/fwlink/?LinkID=74446.
at Microsoft.EnterpriseManagement.ServiceDataLayer.SessionManagerService.CheckLicence()
at Microsoft.EnterpriseManagement.ServiceDataLayer.SessionManagerService.Connect(SdkClientConnectionOptions options)
at Microsoft.EnterpriseManagement.ServiceDataLayer.BasicDispatcherService.Connect(SdkClientConnectionOptions connectionOptions))。
错误代码:You have exceeded the evaluation period of this product. Please upgradeto the retail version to continue using the product.
此时我们观察SCOM日志,明显会发现大量26319ID日志:
具体信息如下:
日志名称: Operations Manager
来源: OpsMgr SDK Service
日期: 2016/12/25 16:51:52
事件 ID: 26319
任务类别: 无
级别: 错误
关键字: 经典
用户: 暂缺
计算机: BJ-SCO**.*****
描述:
An exception was thrown while processing Connect for session ID uuid:e0c27c04-c2f3-4b0f-80b7-642e38f964b1;id=1592.
Exception message: The creator of this fault did not specify a Reason.
Full Exception: System.ServiceModel.FaultException`1[System.UnauthorizedAccessException]: The creator of this fault did not specify a Reason. (Fault Detail is equal to System.UnauthorizedAccessException: You have exceeded the evaluation period of this product. Please upgrade to the retail version to continue using the product. For information on purchasing the retail version of this product, go to http://go.microsoft.com/fwlink/?LinkID=74446.
at Microsoft.EnterpriseManagement.ServiceDataLayer.SessionManagerService.CheckLicence()
at Microsoft.EnterpriseManagement.ServiceDataLayer.SessionManagerService.Connect(SdkClientConnectionOptions options)
at Microsoft.EnterpriseManagement.ServiceDataLayer.BasicDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)).
事件 Xml:
26319
2
0
0x80000000000000
674535
Operations Manager
BJ-SCOM**.*****
Connect
uuid:e0c27c04-c2f3-4b0f-80b7-642e38f964b1;id=1592
The creator of this fault did not specify a Reason.
System.ServiceModel.FaultException`1[System.UnauthorizedAccessException]: The creator of this fault did not specify a Reason. (Fault Detail is equal to System.UnauthorizedAccessException: You have exceeded the evaluation period of this product. Please upgrade to the retail version to continue using the product. For information on purchasing the retail version of this product, go to http://go.microsoft.com/fwlink/?LinkID=74446.
at Microsoft.EnterpriseManagement.ServiceDataLayer.SessionManagerService.CheckLicence()
at Microsoft.EnterpriseManagement.ServiceDataLayer.SessionManagerService.Connect(SdkClientConnectionOptions options)
at Microsoft.EnterpriseManagement.ServiceDataLayer.BasicDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)).
报错代码:You have exceeded the evaluation period of this product. Please upgrade to the retail version to continue using the product.
显然OpsMgr控制台没有打开的主要原因是因为我们已经超过System Center 2012 Operations Manager的评估期。
PS C:Windowssystem32> New-SCOMManagementGroupConnection
New-SCOMManagementGroupConnection : The service threw an unknown exception. See
inner exception for details.
所在位置 行:1 字符: 1
+ New-SCOMManagementGroupConnection
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Syste...nnectionCom
mand:NewSCManagementGroupConnectionCommand) [New-SCManagementGroupConnecti
on],UnknownServiceException
+ FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.Core.Comma
nds.NewSCManagementGroupConnectionCommand
此错误显示意义基本上是因为评估期已过期,因此我们将无法连接到管理组。
4.按照提醒我们需要将SCOM系统时间更改为我们仍处于评估期的日期(往前修改半月或一月均可,如果是虚拟机请临时关闭宿主机上"集成服务--时间同步"选项)。
5.重启System Center Data Access Service (System Center数据访问服务)服务:
6.重新执行New-SCOMManagementGroupConnection并运行以下命令查看评估到期时间(如执行依旧报错,请确保系统时间已更改并重复以上5步骤):
1
Get-SCOMManagementGroup | ft skuforlicense,version,timeofexpiration -a
7.通过Set-SCOMLicense命令输入产品密钥并确认:
1
Set-SCOMLicense ProductId "*********************"
8.重启System Center Data Access Service (System Center数据访问服务),此时控制台就可以打开了,如下:
执行Get-SCOMManagementGroup | ft skuforlicense,version,timeofexpiration -a查看更新后授权信息已生效: