欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

ORA-27140: attach to post/wait facility failed

程序员文章站 2022-07-04 22:45:58
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

已完成

修改后之前发生的问题,得到解决,再也没出现其它问题。