我在启动 RMAN 和连接到目标数据库时遇到了麻烦。
我启动 RMAN(设置了$ORACLE_HOME
& $ORACLE_SID
env 变量)
[oracle@MY_MACHINE /]$ /u01/app/oracle/product/19.0.0/dbhome_1/bin/rman
RMAN 成功启动...
Recovery Manager: Release 19.0.0.0.0
.
.
然后我尝试执行此命令以连接到目标数据库:
RMAN> Connect target /
但这失败并出现此错误:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
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 = 54321 (oinstall), current egid = 54329 (asmadmin)
根据我所做的研究,我发现一些资源说问题通常是$ORACLE_HOME/bin/oracle
二进制权限错误。它们应该设置为chmod 6751
.
我验证了二进制文件的权限是正确的,而且看起来是正确的。
[oracle@MY_MACHINE /]$ ls -lah /u01/app/oracle/product/19.0.0/dbhome_1/bin/oracle
-rwsr-s--x. 1 oracle asmadmin 421M Dec 23 2020 /u01/app/oracle/product/19.0.0/dbhome_1/bin/oracle
您还有其他想法可能导致此错误吗?
谢谢
额外细节
- Oracle Linux 服务器 7.9
- 已安装 GRID + ASM
- 两个甲骨文之家:
[oracle@MY_MACHINE /]$ ls /u01/app/oracle/product/19.0.0/
dbhome_1 grid
- 用户组
oracle
:
[oracle@MY_MACHINE /]$ groups
oinstall dba oper backupdba asmdba asmoper asmadmin