Errors in file /home/u01/app/oracle/diag/rdbms/hnybdb21/hnybdb211/trace/hnybdb211_j000_143099.trc:ORA-27140: attach to post/wait facility failedORA-27 ...
Errors in file /home/u01/app/oracle/diag/rdbms/hnybdb21/hnybdb211/trace/hnybdb211_j000_143099.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 = 5004 (asmadmin), current egid = 5001 (oinstall)
解決方案:
在oracle用戶下修改$ORACLE_HOME/bin/oracle許可權
[oracle@dba_oracle1 dbhome_1]$ pwd
/u01/app/oracle/product/12.2.0/dbhome_1
[oracle@dba_oracle1 dbhome_1]$ cd bin
[oracle@dba_oracle1 bin]$ pwd
/u01/app/oracle/product/12.2.0/dbhome_1/bin
[oracle@dba_oracle1 bin]$ chown -R oracle:asmadmin oracle
修改後
-rwxr-x--x 1 oracle asmadmin 239626641 Mar 3 2017 oracle
在修改文件屬性
[oracle@dba_oracle1 ~]$ chmod 6751 $ORACLE_HOME/bin/oracle
[oracle@dba_oracle1 bin]$ls -la oracle
-rwsr-s--x 1 oracle asmadmin 239626641 Mar 3 2017 oracle
已完成
修改後之前發生的問題,得到解決,再也沒出現其它問題。