IdPのサービス動作状況を確認する
以前構築したIdPにて、以下のURLで 404 Not Found エラーが発生する場合は、まず インストール(IdP) の virtualhost-localhost80.conf
の設定を確認してください。
1.Jettyと、httpd サービスを再起動
IdPの設定変更後に各サービスの再起動を行っていない場合は、行ってください。
# systemctl stop jetty # systemctl restart httpd # systemctl start jetty
2.動作状況確認URLにアクセス
IdPサーバ自身から以下のようにアクセスして確認します。
※ホスト名は必ず localhost(もしくは127.0.0.1)として下さい。
# wget -O - http://localhost/idp/status
3.結果の確認
各サービスの動作状況が確認できます。以下のようにShibboleth IdPのバージョンを含めて各種情報が表示され、以下と比較して大きな違いがなければ、IdPの機能が正常に動作していることの確認が出来ました。
--2020-07-20 13:47:43-- http://localhost/idp/status
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 200
Length: 2372 (2.3K) [text/plain]
Saving to: ‘STDOUT’
0% [ ] 0 --.-K/s ### Operating Environment Information
operating_system: Linux
operating_system_version: 3.10.0-514.6.1.el7.x86_64
operating_system_architecture: amd64
jdk_version: 11.0.7
available_cores: 1
used_memory: 91 MB
maximum_memory: 363 MB
### Identity Provider Information
idp_version: 4.0.1
start_time: 2020-07-20T04:47:43.752Z
current_time: 2020-07-20T04:47:46.453785Z
uptime: 2701 ms
service: shibboleth.LoggingService
last successful reload attempt: 2020-07-20T04:47:29.197768Z
last reload attempt: 2020-07-20T04:47:29.197768Z
service: shibboleth.AttributeFilterService
last successful reload attempt: 2020-07-20T04:47:31.778438Z
last reload attempt: 2020-07-20T04:47:31.778438Z
service: shibboleth.AttributeResolverService
last successful reload attempt: 2020-07-20T04:47:31.980360Z
last reload attempt: 2020-07-20T04:47:31.980360Z
No Data Connector has ever failed
service: shibboleth.AttributeRegistryService
last successful reload attempt: 2020-07-20T04:47:32.791890Z
last reload attempt: 2020-07-20T04:47:32.791890Z
service: shibboleth.NameIdentifierGenerationService
last successful reload attempt: 2020-07-20T04:47:33.155323Z
last reload attempt: 2020-07-20T04:47:33.155323Z
service: shibboleth.RelyingPartyResolverService
last successful reload attempt: 2020-07-20T04:47:33.312077Z
last reload attempt: 2020-07-20T04:47:33.312077Z
service: shibboleth.MetadataResolverService
last successful reload attempt: 2020-07-20T04:47:33.837185Z
last reload attempt: 2020-07-20T04:47:33.837185Z
metadata source: ShibbolethMetadata
last refresh attempt: 2020-07-20T04:47:39.487484Z
last successful refresh: 2020-07-20T04:47:39.487484Z
last update: 2020-07-20T04:47:39.487484Z
metadata source: HTTPMetadata
last refresh attempt: 2020-07-20T04:47:39.487484Z
last successful refresh: 2020-07-20T04:47:39.487484Z
last update: 2020-07-20T04:47:39.487484Z
root validUntil: 2020-09-11T23:00:00Z
service: shibboleth.ReloadableAccessControlService
last successful reload attempt: 2020-07-20T04:47:34.608914Z
last reload attempt: 2020-07-20T04:47:34.608914Z
service: shibboleth.ReloadableCASServiceRegistry
last successful reload attempt: 2020-07-20T04:47:34.676168Z
last reload attempt: 2020-07-20T04:47:34.676168Z
service: shibboleth.ManagedBeanService
last successful reload attempt: 2020-07-20T04:47:34.723675Z
last reload attempt: 2020-07-20T04:47:34.723675Z
100%[=======================================================================================================>] 2,372 --.-K/s in 0s
2020-07-20 13:47:46 (397 MB/s) - written to stdout [2372/2372]