Oracle® Fusion Middleware Oracle Access Management管理者ガイド 11g リリース2 (11.1.2.3) for All Platforms E61950-08 |
|
前 |
次 |
Oracle Enterprise Linuxに同梱されているSELinux変更は、Linuxカーネル内でLinux Security Modules (LSM)の使用を介して様々なポリシーを提供します。
SELinuxには、Access Manager Webgateのインストール後、関連するWebサーバーの開始前に、追加のステップの実行が必要です。
問題
より厳密なSELinuxポリシーが存在するLinux配布上のWebサーバーを開始するときに(Webgateのインストール後)、次のエラーがログ/コンソールに記録されることがあります。
11g Webゲート
$Webgate_OH/webgate/ohs/lib/webgate.so: cannot restore segment prot after reloc: Permission denied.
10g Webゲート
$Webgate_install_dir/access/oblix/apps/webgate/bin/webgate.so: cannot restore segment prot after reloc: Permission denied.
原因
これらのエラーはファイルのセキュアLinuxセキュリティ・コンテキスト・ポリシーにより報告されます。
解決策
これらのエラーを防ぎ、Webサーバーを開始するには、次のchcon
コマンドを実行し、各Access Manager Webコンポーネントのインストール後、関連するWebサーバーの再起動前に、ファイルのセキュリティ・コンテキストを変更します。chcon
コマンドの詳細は、ご使用のLinuxのドキュメントを参照してください。
chcon -t texrel_shlib_t PATH_TO_LIBWEBPLUGINS.SOを実行します。次に例を示します。
chcon -t texrel_shlib_t /Webgate_install_dir/access/oblix/lib/webgate.so ... and libxmlengine.so
chcon -t texrel_shlib_t PATH_TO_LIBWEBGATE.SOを実行します。次に例を示します。
chcon -t texrel_shlib_t /Webgate_install_dir/access/oblix/apps/webgate/ bin/webgate.so