1、RAC 一节点报错ORA-27140、ORA-27300信息如下解决方法:
[oracle@zzjf1 ~]$ sqlplus 用户/密码
SQL*Plus: Release 18.0.0.0.0 - Production on Tue Jul 14 14:21:00 2020
Version 18.3.0.0.0
Copyright (c) 1982, 2018, Oracle. All rights reserved.
ERROR:
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 = 54331 (asmadmin), current
egid = 54334 (oinstall)
2、解决方案:
在ROOT用户下修改$ORACLE_HOME/bin/oracle权限
[oracle@zzjf1 ~]$ cd $ORACLE_HOME
[oracle@zzjf1 db_1]$ pwd
/u01/app/oracle/product/18.3.0/db_1
[oracle@zzjf1 db_1]$ cd bin
[oracle@zzjf1 bin]$ pwd
/u01/app/oracle/product/18.3.0/db_1/bin
执行
[root@zzjf1 bin]# chown -R oracle:asmadmin oracle
[root@zzjf1 bin]#
[root@zzjf1 bin]# ls -la oracle
修改之后权限如下:
-rwxr-x--x 1 oracle asmadmin 436992376 May 29 2019 oracle
修改文件属性
[root@zzjf1 bin]# chmod 6751 /u01/app/oracle/product/18.3.0/db_1/bin/oracle
[root@zzjf1 bin]#
[root@zzjf1 bin]# ls -la oracle
-rwsr-s--x 1 oracle asmadmin 436992376 May 29 2019 oracle
至此上面报错就可解决