IdPのサービス動作状況を確認する
以前構築したIdPにて、以下のURLで 404 Not Found エラーが発生する場合は、まず インストール(IdP) の virtualhost-localhost80.conf
の設定を確認してください。
1.httpd と Jetty を再起動
IdPの設定変更後に各サービスの再起動を行っていない場合は、行ってください。
# systemctl stop jetty # systemctl restart httpd # systemctl start jetty
2.動作状況確認URLにアクセス
IdPサーバ自身から以下のようにアクセスして確認します。
# wget -O - http://localhost/idp/status
3.結果の確認
各サービスの動作状況が確認できます。以下のようにShibboleth IdPのバージョンを含めて各種情報が表示され、以下と比較して大きな違いがなければ、IdPの機能が正常に動作していることの確認が出来ました。
機能に問題がある場合は当該機能(service)に"last failure cause:"という行が付与されエラー内容が表示されます。
ただし、明示的にエラーが表示されず、"last successful reload attempt:"の行が表示されないのみという場合もあるようですので、全ての機能(service)にこの行が存在して最近の日時であることを確認してください。
--2023-07-25 10:11:44-- 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 OK
Length: 2544 (2.5K) [text/plain]
Saving to: ‘STDOUT’
0% [ ] 0 --.-K/s ### Operating Environment Information
operating_system: Linux
operating_system_version: 3.10.0-1160.92.1.el7.x86_64
operating_system_architecture: amd64
jdk_version: 11.0.19
available_cores: 2
used_memory: 144 MB
maximum_memory: 1500 MB
### Identity Provider Information
idp_version: 4.3.1
start_time: 2023-07-25T01:03:29.790Z
current_time: 2023-07-25T01:11:45.552009Z
uptime: PT8M15.762S
enabled modules:
idp.authn.Password (Password Authentication)
idp.admin.Hello (Hello World)
idp.intercept.Consent (Consent Interceptors)
installed plugins:
service: shibboleth.LoggingService
last successful reload attempt: 2023-07-25T01:03:22.201910Z
last reload attempt: 2023-07-25T01:03:22.201910Z
service: shibboleth.AttributeFilterService
last successful reload attempt: 2023-07-25T01:03:27.245797Z
last reload attempt: 2023-07-25T01:03:27.245797Z
service: shibboleth.AttributeResolverService
last successful reload attempt: 2023-07-25T01:03:27.403103Z
last reload attempt: 2023-07-25T01:03:27.403103Z
No Data Connector has ever failed
service: shibboleth.AttributeRegistryService
last successful reload attempt: 2023-07-25T01:03:25.634770Z
last reload attempt: 2023-07-25T01:03:25.634770Z
service: shibboleth.NameIdentifierGenerationService
last successful reload attempt: 2023-07-25T01:03:27.965476Z
last reload attempt: 2023-07-25T01:03:27.965476Z
service: shibboleth.RelyingPartyResolverService
last successful reload attempt: 2023-07-25T01:03:28.071585Z
last reload attempt: 2023-07-25T01:03:28.071585Z
service: shibboleth.MetadataResolverService
last successful reload attempt: 2023-07-25T01:03:26.158105Z
last reload attempt: 2023-07-25T01:03:26.158105Z
metadata source: ShibbolethMetadata
last refresh attempt: 2023-07-25T01:03:32.022012Z
last successful refresh: 2023-07-25T01:03:32.022012Z
last update: 2023-07-25T01:03:32.022012Z
metadata source: HTTPMetadata
last refresh attempt: 2023-07-25T01:03:32.022012Z
last successful refresh: 2023-07-25T01:03:32.022012Z
last update: 2023-07-25T01:03:32.022012Z
root validUntil: 2023-08-03T23:00:00Z
service: shibboleth.ReloadableAccessControlService
last successful reload attempt: 2023-07-25T01:03:28.777181Z
last reload attempt: 2023-07-25T01:03:28.777181Z
service: shibboleth.ReloadableCASServiceRegistry
last successful reload attempt: 2023-07-25T01:03:28.837499Z
last reload attempt: 2023-07-25T01:03:28.837499Z
service: shibboleth.ManagedBeanService
last successful reload attempt: 2023-07-25T01:03:28.861576Z
last reload attempt: 2023-07-25T01:03:28.861576Z
100%[=======================================================================================================================================================================>] 2,544 --.-K/s in 0s
2023-07-25 10:11:45 (328 MB/s) - written to stdout [2544/2544]