...
情報 |
---|
以前構築したIdPにて、以下のURLで 404 Not Found エラーが発生する場合は、まず インストール(IdP) の |
...
...
1.httpd と Jetty を再起動
IdPの設定変更後に各サービスの再起動を行っていない場合は、行ってください。
...
IdPサーバ自身から以下のようにアクセスして確認します。※ホスト名は必ず localhost(もしくは127.0.0.1)として下さい。
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
# wget -O - http://localhost/idp/status |
...
各サービスの動作状況が確認できます。以下のようにShibboleth IdPのバージョンを含めて各種情報が表示され、以下と比較して大きな違いがなければ、IdPの機能が正常に動作していることの確認が出来ました。
情報 |
---|
機能に問題がある場合は当該機能(service)に"last failure cause:"という行が付与されエラー内容が表示されます。 ただし、明示的にエラーが表示されず、"last successful reload attempt:"の行が表示されないのみという場合もあるようですので、全ての機能(service)にこの行が存在して最近の日時であることを確認してください。 |
パネル | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
-- 20202023-07-20 13:47:43 25 10:11:44-- http://localhost/idp/status200 OK2372 2544 (2.3K 5K) [text/plain]0% ] 0 ] 0 --.-K/s ### Operating Environment s ### Operating Environment Information514 1160.6 92.1.el7.x86_647 191 291 144 MB363 1500 MB0 3.12020 2023-07-20T04 25T01:47 03:43 29.752Z 790Z2020 2023-07-20T04 25T01:47 11:46 45.453785Z uptime: 2701 ms service: 552009Z2020 2023-07-20T04 25T01:47 03:29 22.197768Z 201910Z2020 2023-07-20T04 25T01:47 03:29 22.197768Z 201910Z2020 2023-07-20T04 25T01:47 03:31 27.778438Z 245797Z2020 2023-07-20T04 25T01:47 03:31 27.778438Z 245797Z2020 2023-07-20T04 25T01:47 03:31 27.980360Z 403103Z2020 2023-07-20T04 25T01:47 03:31 27.980360Z 403103ZNo No Data Connector has ever failed2020 2023-07-20T04 25T01:47 03:32 25.791890Z 634770Z2020 2023-07-20T04 25T01:47 03:32 25.791890Z 634770Z2020 2023-07-20T04 25T01:47 03:33 27.155323Z 965476Z2020 2023-07-20T04 25T01:47 03:33 27.155323Z 965476Z2020 2023-07-20T04 25T01:47 03:33 28.312077Z 071585Z2020 2023-07-20T04 25T01:47 03:33 28.312077Z 071585Z2020 2023-07-20T04 25T01:47 03:33 26.837185Z 158105Z2020 2023-07-20T04 25T01:47 03:33 26.837185Z 158105Zmetadata metadata source: ShibbolethMetadatalast last refresh attempt:2020 2023-07-20T04 25T01:47 03:39 32.487484Z 022012Zlast last successful refresh:2020 2023-07-20T04 25T01:47 03:39 32.487484Z 022012Zlast last update:2020 2023-07-20T04 25T01:47 03:39 32.487484Z 022012Zmetadata metadata source: HTTPMetadatalast last refresh attempt:2020 2023-07-20T04 25T01:47 03:39 32.487484Z 022012Zlast last successful refresh:2020 2023-07-20T04 25T01:47 03:39 32.487484Z 022012Zlast last update:2020 2023-07-20T04 25T01:47 03:39 32.487484Z 022012Zroot root validUntil:2020 2023-09 08-11T23 03T23:00:00Z2020 2023-07-20T04 25T01:47 03:34 28.608914Z 777181Z2020 2023-07-20T04 25T01:47 03:34 28.608914Z 777181Z2020 2023-07-20T04 25T01:47 03:34 28.676168Z 837499Z2020 2023-07-20T04 25T01:47 03:34 28.676168Z 837499Z2020 2023-07-20T04 25T01:47 03:34 28.723675Z 861576Z2020 2023-07-20T04 25T01:47 03:34 28.723675Z 861576Z>] 2,372 --.-K/s in 0s
| |||||||||||||||||||||
展開 | |||||||||||||||||||||
| |||||||||||||||||||||
500 Internal Server Errorwgetコマンドの出力に以下のエラーが含まれます。
→3.2.1およびそれ以前の場合、IdPの各種設定ファイルにて記述ミスの可能性があります。 - 3.2.1およびそれ以前で記録されている以下のエラーは無視してそれより前のエラーを確認してください。このエラーは3.3.0で修正されました。
500 Internal Server Error (その2)wgetコマンドの出力に以下のエラーが含まれます。
さらに、Tomcatの
→ jstl.jar(jakarta-taglibs-core.jar と jakarta-taglibs-standard.jar)の配置に失敗している可能性があります。 インストール(IdP) > 3. jakarta-taglibs-core.jarとjakarta-taglibs-standard.jarの配置 を見直して、再度build.shを実行してみてください。 500 Internal Server Error (その3)wgetコマンドの出力に以下のエラーが含まれます。
さらに、ログファイル
このエラーが出力される場合は、/opt/shibboleth-idp/conf/attirbute-resolver.xmlでLDAPのコネクタが有効になっているか確認してください。 参考手順: attribute-resolver.xml ファイルの変更(IdP) レスポンスがないもしくは503 Service UnavailableTomcat起動/再起動後、起動が完了するまでしばらく時間がかかりますので、しばらくしてから再度試してください。 起動に10分前後の時間を要している場合、他の要因が考えられます。ログでは以下の2行の時間に大きな差がある場合です。特にCentOS 7、もしくはJava 8で問題になるようです。
該当する場合、$JAVA_HOME/conf/security/java.security の以下の行を"random"→"urandom"にしてください。症状が改善されるはずです。
セキュリティのための処理をスキップしますので、「構築時のみこの設定を行い実運用時は元に戻す」等、取り扱いにはご注意ください。 関連: 貴学にてIdPv3をインストールする場合の構築手順の動作要件の「Java 7 or 8」の項 番外編3.2.1およびそれ以前の場合、/idp/statusにアクセスした際以下のエラーが 書式設定済み | ==============================================================>] 2,544 --.-K/s in 0s |
Prevnextbuttons |
---|