OPMN Fail Star HTT Serv 10g Aft Chan apachectl Root Ownersh 6750 Permis_735023.1
OPMN Fails to Start Oracle HTTP Server 10g After Changing 'apachectl' to Root Ownership and 6750 Permissions (Doc ID 735023.1)
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |
Applies to:
Oracle Fusion Middleware - Version 9.0.4.0.0 to 10.1.4.3.0 [Release AS10g to AS10gR3]
Oracle HTTP Server - Version 9.0.4.0.1 to 10.1.3.5.0 [Release AS10g to AS10gR3]
Information in this document applies to any platform.
Except the MS Windows platform.
Checked for relevance on 24-Jul-2013
Symptoms
Oracle HTTP Server, residing on a Unix platform, fails to start using OPMN. For example, OPMN reports the generic error
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=oradb:6200
0 of 1 processes started.
ias-instance id=infra.oracle.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
--> Process (pid=24042)
Failed to start a managed process after the maximum retry limit Log::
/opt/oracle/infra/opmn/logs/HTTP_Server~1
The HTTP_Server~1 OPMN log file just reports that the HTTP Server has been started, but there are actually no httpd processes present on the system.
There is also nothing written to the $ORACLE_HOME/apache/apache/logs directory even when HTTP Server logLevel is set to debug.
Furthermore there are no core / segmentation fault files created.
Changes
In order for the HTTP Server to listen on ports < 1024 e.g 80 and 443 the ownership and permissions of the Oracle HTTP Server binary - '.apachectl' - have been changed as follows:
chmod 6750 .apachectl
If the ownership and permissions of this binary are reverted back to the default settings HTTP Server starts up fine using OPMN.
Cause
The problem is caused by an underlying problem with the suid functionality at the unix / operating system level. For example to prove whether or not this is the cause, try this simple test.
Logged in as oracle create a simple shell script file and run it as follows:
vi hello
echo hello
chmod 750 hello
./hello
Now switch to root
[Enter root password]
chown root hello
chmod 6750 hello
[Log out as root so you are back as oracle user]
./hello
If you now see a permissions denied error the suid bit is not working. This is the underlying problem to which OPMN is falling victim when it attempts to execute '.apachectl start' behind the scenes.
Solution
The underlying cause needs to be addressed by the Unix administrator or vendor. It could be, for example, that the disk hosting the Oracle HTTP Server has been mounted with the nosuid setting. See issue discussed in referenced note below.
One possible work-around is to change .apachectl to belong to another group - such as the generic one users (rather than have the file belong to the oracle group - typically called 'oinstall') e.g
chmod 6750 .apachectl
References
NOTE:274009.1 - Cannot Start Oracle HTTP Server on Privileged Port (80/443) on Solaris 9
NOTE:744393.1 - SSL Enabled HTTP Server on Linux Intermittently Core Dumps Immediately After OPMN Startup
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1217896/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SSL Enab HTT Serv on Linu Intermitte Core Dum Immedia Aft OPMN Start_744393.1MIT
- Run root.sh on second node failAI
- R生存分析AFT
- Linux基礎命令---apachectlLinuxApache
- [系列] Go - chan 通道Go
- MT6750處理器引數,MT6750晶片資料晶片
- Oracle 10g 安裝gc:OPMN Process Manager failed to start和OUI - 25031解決方案Oracle 10gGCAIUI
- 5.1 萬 Star!不用 root 就能連線控制安卓的開源工具安卓開源工具
- AIX 11gR2 grid root.sh Error: with status:FAIL.Error code is 256AIError
- fail-fast和fail-safeAIAST
- ollama AMD rx6750 gre 指南
- MT6750設計資料分享 MT6750開發板塊資料彙總
- chan資料結構與理解資料結構
- AFT Impulse 8,流體動態分析
- 10G RAC重新執行root.sh指令碼指令碼
- .Net Standard HttpClient封裝Htt請求常用操作整理HTTPclient封裝
- Serv-u 備份處理
- amd最新顯示卡6750xt即將釋出上市 6750xt發售時間價格水平介紹
- 10g rac安裝crs,執行root.sh報錯
- Oracle9i, 10g, 11g 負載均衡(load balance)和Fail OverOracle負載AI
- star帶你玩轉Oracle_2_安裝oracle 10g on Redhat 6.8_orastarOracle 10gRedhatAST
- Serv-U漏洞以及原因分析(轉)
- SERV-U中的變數(轉)變數
- Fail-Fast in JavaAIASTJava
- Fail - Fast機制AIAST
- Accelerated Failure Time Models加速失效時間模型AFTAI模型
- 深入理解Java中的fail-fast和fail-safeJavaAIAST
- 10g RAC fail over測試,節點2例項不能隨Linux自動啟動AILinux
- 10g rac升級crs,執行root102.sh報錯
- chan中傳遞map資料,傳遞的是引用
- 利用Serv-u提權的簡單思路
- FTP伺服器 Serv-u 環境搭建FTP伺服器
- Serv-u Mysql資料庫使用者MySql資料庫
- Serv-U許可權設定規則
- serv-u 3.0 beta破解 (2千字)
- Fail-fast 機制分析AIAST
- 關於 rac vip fail backAI
- OFS(Oracle Fail Safe)簡介OracleAI