Windows Service里面的Afaria Server不能启动 - 端口冲突

刚安装好Afaria Server,没问题的。

管理员做了简单配置后,Windows服务里面Afaria Server不能启动了,其他的服务都没有问题。

查Windows Event日志,里面有如下内容

XRS4940: Service: An unexpected error has occurred in the following Afaria component: XSRedirector.EXE. 

The service is stopping.  
EXPLANATION: A fatal error occurred that could not be handled. All communications are disabled.  
ACTIONS: Close all other Afaria applications, then attempt to start the Afaria service again. 
If this error persists, try shutting down the machine before restarting the service. 
If this error still persists, contact your support representative.

参考frontline.sybase.com知识库,提示有如下几条
1)关闭 DEP
http://frontline.sybase.com/support/resolutionDetails.aspx?KBID=4383
2)Install or repair Microsoft .Net4 Framework on the Afaria server.
http://frontline.sybase.com/support/resolutionDetails.aspx?KBID=8556
修复方法:
Type cd C:\Windows\Microsoft.NET\Framework\v4.0.30319\ and press ENTER.
Type aspnet_regiis.exe -i
参考:http://stackoverflow.com/questions/4890245/how-to-add-asp-net-4-0-as-application-pool-on-iis-7-windows-7

查到最后,原因是管理员启用了Device Communication中的HTTP协议,缺省端口和IIS端口80冲突,改成81,再启动Afaria Server服务就OK了

Windows Service里面的Afaria Server不能启动 - 端口冲突_第1张图片

你可能感兴趣的:(Windows Service里面的Afaria Server不能启动 - 端口冲突)