AppFabric 1.1缓存服务因System.UriFormatException崩溃:无效的URI:无法解析主机名。 [英] AppFabric 1.1 caching service crashes with System.UriFormatException: Invalid URI: The hostname could not be parsed.
问题描述
我在单台计算机(域名注册,Windows 7企业版)上安装了AppFabric 1.1 x64缓存,只有1台计算机的集群,配置存储在SQL中。以前版本1.0已安装且工作正常,我在
安装1.1之前卸载了。现在启动集群超时,事件日志中出现以下错误:
I have an installation of AppFabric 1.1 x64 cache on a single machine (domain-registered, Windows 7 Enterprise), cluster with just 1 machine, configuration stored in SQL. Previously version 1.0 was installed and working fine, which I uninstalled before installing 1.1. Now starting the cluster times out with the following error in event log:
{System.UriFormatException:无效的URI:无法解析主机名。
在System.Uri.CreateThis(String uri,Boolean dontEscape,UriKind uriKind)
在Microsoft.ApplicationServer.Caching.ServiceConfigurationManager.InitializeThisHostData()
  在Microsoft.ApplicationServer.Caching.ServiceConfigurationManager.InitializeDataFromGlobalConfig()
  在Microsoft.ApplicationServer.Caching.VelocityWindowsService.StartService(Boolean deleteTKT)
  在Microsoft.ApplicationServer.Caching.VelocityWindowsService.StartServiceCallback(Object context)
  在System.Threading.ExecutionContext.Run(ExecutionContext executionContext,ContextCallback callback,Object state,Boolean ignoreSyncCtx)
在System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
在System.Threading.ThreadPoolWorkQueue.Dispatch()
  在System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()}中。检查调试日志以获取更多信息
PS C:\ Windows \ system32> get-cachehostconfig $ env:COMPUTERNAME 22233
PS C:\Windows\system32> get-cachehostconfig $env:COMPUTERNAME 22233
HostName :SN2SCH010103028
HostName : SN2SCH010103028
ClusterPort :22234
ClusterPort : 22234
CachePort :22233
CachePort : 22233
ArbitrationPort:22235
ArbitrationPort : 22235
ReplicationPort:22236
ReplicationPort : 22236
大小            :12286 MB
Size : 12286 MB
ServiceName :AppFabricCachingService
ServiceName : AppFabricCachingService
HighWatermark :99%
HighWatermark : 99%
LowWatermark :90%
LowWatermark : 90%
IsLeadHost :True
IsLeadHost : True
PS C:\ Windows \ system32> Get-CacheHost
PS C:\Windows\system32> Get-CacheHost
HostName:CachePort 服务名称 服务状态版本信息
HostName : CachePort Service Name Service Status Version Info
-------------------- ------------            -------------- ------------
-------------------- ------------ -------------- ------------
SN2SCH010103028:22233 AppFabricCachingService DOWN ;        3 [3,3] [1,3]
SN2SCH010103028:22233 AppFabricCachingService DOWN 3 [3,3][1,3]
推荐答案
您是否在域环境中?如果是,您是否可以尝试用完全合格的域名替换SN2SCH010103028?
Are you in a domain environment? If so, could you try replacing SN2SCH010103028 with a fully qualified domain name?
-Arijit
这篇关于AppFabric 1.1缓存服务因System.UriFormatException崩溃:无效的URI:无法解析主机名。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!