WinServer2012 R2 无法枚举”ADAM.Events.xml”中的事件

(#AD DS=Active Directory 域服务;AD LDS=Active Directory轻型目录服务
想用虚拟机组个小集群玩玩winserver 2012 R2的集群,然后装&配置完AD DS和AD LDS之后直接爆炸,三台一块爆炸
全是无法枚举”ADAM.Events.xml”中的事件
然后我就去C:ProgramDataMicrosoftServerManagerEvents目录下找到了这个文件
权限没有问题,可以读写。。。那么问题来了,你为什么不能枚举
百度 Google找了很多,没找到任何有关于这个问题的解释。。。(#就我脸黑么。。。
最后百度了一下这个文件名,在TechNet Wiki里面找到了一篇
Windows Server 2012 – Server Manager Troubleshooting Guide, Part II: Troubleshoot Manageability Status Errors in Server Manager
使劲往下翻找到了关于这个问题的解释。。。
Manageability Status Message:Online – Cannot get event data
Issue Category:Data retrieval errors
Underlying Source Message from WinRM or Providers (shown in Task Details pane):Any errors from the Server Manager provider that are related to event data retrieval.

This error can also occur if specific roles and features have been installed, but not yet configured. The following underlying error messages are examples of known cases where a role, role service, or feature requires post-installation configuration to clear the error.
  • Events from ‘Virtualization.Events.xml’ could not be enumerated. (This error is cleared after required post-installation configuration for Hyper-V is completed.)
  • Events from ‘PrintServices.Events.xml’ could not be enumerated. (This error is cleared after required post-installation configuration for Print and Document Services is completed.)
  • Events from ‘ADAM.Events.xml’ could not be enumerated. (This error might be cleared after required post-installation configuration for Active Directory Lightweight Directory Services is completed.)
The following underlying error message can occur for Active Directory Federation Services when the only role services that are installed are web agents. Configuring the installed role services does not resolve the error.
  • Events from ‘IdentityServer.Events.xml’ could not be enumerated.



Possible Causes and Suggested Resolutions:Server Manager cannot get event data from the target server. The user might not have access rights to the target server event log, or event log files might not contain valid data.

For some roles and features (Hyper-V, Print and Document Services, AD LDS), this error can occur after installation, but before required post-installation configuration has been completed. The error is resolved after post-installation configuration is complete. For AD FS, this error can occur if web agents are the only role services installed, but there is currently no known resolution for this case of the error.
 

然后我看到最后一句话。。。我脸都黑了。。。but there is currently no known resolution for this case of the error.
前面扯了一堆最后告诉我对于这个问题没有解决方案。。。
巨硬。。。自己家的产品有这个问题自己不会解决真的好么。。。
============================分割线============================
现在我把AD LDS删掉了,ADAM.Events.xml也被删掉了,就没有出现这个问题。
这个问题可能是AD LDS自己的问题,也有可能是AD DS和AD LDS的兼容性问题。
AD LDS本身就不需要依靠AD DS
目前我又开了一台虚拟机看看是不是AD DS和AD LDS的兼容性问题。

============================分割线============================
找到问题了。。。

安装完AD LDS之后爆炸。。。
但是。。。
这是我的锅。。。
没配置AD LDS。。。
导致ADAM.Events.xml里面的配置无效,所以无法枚举。。。

↑配置完了AD LDS之后OK
好了我去删虚拟机。。。