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
已完成
修改后之前发生的问题,得到解决,再也没出现其它问题。