[20180211]關於oracle執行檔案許可權問題.txt
[20180211]關於oracle執行檔案許可權問題.txt
--//如果oracle使用者一般建立2個使用者組.一般oinstall,dba組.預設指定組oinstall
--//如果資料庫在執行時修改oracle執行檔案許可權,會到處一些程式出現問題.測試如下:
1.環境:
$ id
uid=502(oracle) gid=502(oinstall) groups=502(oinstall),503(dba)
--//修改許可權
$ ls -l $ORACLE_HOME/bin/oracle
-rwsr-s--- 1 oracle oinstall 239627073 2015-08-17 15:58:55 /u01/app/oracle/product/11.2.0.4/dbhome_1/bin/oracle
$ chgrp dba $ORACLE_HOME/bin/oracle
$ ls -l $ORACLE_HOME/bin/oracle
-rwxr-x--- 1 oracle dba 239627073 2015-08-17 15:58:55 /u01/app/oracle/product/11.2.0.4/dbhome_1/bin/oracle
$chmod 6750 $ORACLE_HOME/bin/oracle
2.檢查alert.log
--//alert*.log,後臺出現大量錯誤.
Process m000 died, see its trace file
Process m000 died, see its trace file
Errors in file /u01/app/oracle/diag/rdbms/book/book/trace/book_j000_30595.trc:
ORA-27140: attach to post/wait facility failed
ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
ORA-27301: OS failure message: Operation not permitted
ORA-27302: failure occurred at: skgpwinit6
ORA-27303: additional information: startup egid = 502 (oinstall), current egid = 503 (dba)
Process J000 died, see its trace file
kkjcre1p: unable to spawn jobq slave process
Errors in file /u01/app/oracle/diag/rdbms/book/book/trace/book_cjq0_24828.trc:
Process W000 died, see its trace file
Sun Feb 11 10:45:07 2018
Errors in file /u01/app/oracle/diag/rdbms/book/book/trace/book_j000_30603.trc:
ORA-27140: attach to post/wait facility failed
ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
ORA-27301: OS failure message: Operation not permitted
ORA-27302: failure occurred at: skgpwinit6
ORA-27303: additional information: startup egid = 502 (oinstall), current egid = 503 (dba)
--//跟蹤檔案:
Trace file /u01/app/oracle/diag/rdbms/book/book/trace/book_m000_25910.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /u01/app/oracle/product/11.2.0.4/dbhome_1
System name: Linux
Node name: gxqyydg4
Release: 2.6.39-300.26.1.el5uek
Version: #1 SMP Thu Jan 3 18:31:38 PST 2013
Machine: x86_64
Instance name: book
Redo thread mounted by this instance: 1
Oracle process number: 0
Unix process pid: 25910, image: oracle@gxqyydg4 (M000)
*** 2018-02-11 10:15:44.400
Died during process startup with error 27140 (seq=58)
OPIRIP: Uncaught error 27140. Error stack:
ORA-27140: attach to post/wait facility failed
ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
ORA-27301: OS failure message: Operation not permitted
ORA-27302: failure occurred at: skgpwinit6
ORA-27303: additional information: startup egid = 502 (oinstall), current egid = 503 (dba)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--//注意下劃線提示,修改回來:
$ chgrp oinstall $ORACLE_HOME/bin/oracle
$ ls -l $ORACLE_HOME/bin/oracle
-rwxr-x--- 1 oracle oinstall 239627073 2015-08-17 15:58:55 /u01/app/oracle/product/11.2.0.4/dbhome_1/bin/oracle
$ chmod 6750 $ORACLE_HOME/bin/oracle
--//問題消失.
--//單機環境一般不會出現,如果在rac環境,建立多個例項透過dbca配置,要有1個執行使用者管理組配置的過程,如果與前面不同,就會出現問題.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2151056/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 關於oracle檔案許可權的問題Oracle
- hdfs檔案本地許可權問題
- linux檔案許可權問題Linux
- ORA-12547: TNS:lost contact之oracle執行檔案許可權問題Oracle
- 關於如何利用COM+,來提高ASP執行許可權的問題!
- Laravel 日誌檔案許可權問題Laravel
- oracle許可權整理檔案Oracle
- Linux檔案讀、寫、執行許可權Linux
- 關於公司程式碼許可權的問題
- 關於jdon裡許可權系統的問題
- 兩個關於許可權設定的問題思考
- 關於移除 .user.ini檔案報錯,提示沒有許可權問題解決方案
- Linux更改檔案及目錄許可權問題Linux
- 請教:一個關於行級資料許可權模型的問題模型
- 【Oracle】-【AWR/Stackpack】-AWR(Stackpack)執行許可權Oracle
- linux 檔案許可權 s 許可權和 t 許可權解析Linux
- Linux下目錄的x執行許可權問題Linux
- MySQL許可權問題MySql
- 【LIUNX】目錄或檔案許可權,許可權授予
- 關於動態許可權
- 【轉】關於MySQL許可權MySql
- 關於mysql許可權管理MySql
- Android7.0檔案訪問許可權Android訪問許可權
- Linux檔案許可權Linux
- chomd檔案許可權授予
- 修改檔案的許可權
- Linux 檔案許可權Linux
- Atitit godaddy 檔案許可權 root許可權設定Go
- oracle 11g 操作ASM許可權問題OracleASM
- win共享檔案沒有許可權訪問怎麼辦 win10共享檔案許可權訪問的方法Win10
- android 許可權問題Android
- SQL Server許可權問題SQLServer
- postgresql關於訪問檢視需要的許可權SQL
- Jenkins執行遠端Windows批處理的許可權問題JenkinsWindows
- 關於檢視和儲存過程的許可權問題探究儲存過程
- 關於 Laravel 日誌許可權Laravel
- Linux的檔案存取許可權和0644許可權Linux
- Oracle的物件許可權、角色許可權、系統許可權Oracle物件