0

在配置 Shibbolet SP 时,我不得不在重新配置 shibboleth2.xml 文件后多次停止和启动 shibd 服务。首先它工作正常,但后来我无法再次启动它!

在 cmd 上运行此命令时C:\>net start shibd_default,我得到以下信息:

The Shibboleth 2 Daemon <Default> service is starting.
The Shibboleth 2 Daemon <Default> service could not be started.

The service did not report an error.

并尝试从 Control Panel > Services > Administrative Tools 运行它时,出现此错误

   The Shibboleth 2 Daemon <Default> service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.

我重新安装了 Shibboleth SP 来解决这个问题,但仍然出现这个错误!

谁能帮我解决这个问题?

谢谢

4

1 回答 1

5

请检查 C:\opt\shibboleth-sp\var\log\shibboleth 中的日志文件是否有错误。

如果存在 XML 配置错误,服务将无法正确加载。

我收到类似于以下错误的错误:

ERROR Shibboleth.Config : error while loading resource (C:/opt/shibboleth-sp/etc/shibboleth/shibboleth2.xml): XML error(s) during parsing, check log for specifics
2013-05-13 10:59:13 FATAL Shibboleth.Config : caught exception while loading configuration: XML error(s) during parsing, check log for specifics 
于 2013-05-12T23:04:40.080 回答