ORA-27124: Unable To Detach From Shared Memory Segment & IBM AIX RISC System/6000 Error: 22: Invalid

背景

操作系统 :AIX 7
数据库 : 11.2.0.4.0 未安装补丁

根据客户要求打补丁。但一直打不成功。提升如下:
在这里插入图片描述

故,回退。回退命令如下:
在这里插入图片描述

问题

回退后crs 启动正常,但无法将database拉起,手动尝试拉起,报错如下:

$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Tue Oct 25 14:24:01 2022

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup    
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DATA/prodrpt/spfileprodrpt.ora'
ORA-17503: ksfdopn:2 Failed to open file +DATA/prodrpt/spfileprodrpt.ora
ORA-01034: ORACLE not available
ORA-27124: unable to detach from shared memory segment
IBM AIX RISC System/6000 Error: 22: Invalid argument
SQL> 

解决办法

通过查看mos
ORA-27124: Unable To Detach From Shared Memory Segment & IBM AIX RISC System/6000 Error: 22: Invalid Argument Error Reported. (Doc ID 1964312.1)

是由于oracle 命令权限发生变化导致。

分别使用grid和oracle用户查看oracle命令权限,正常权限为:

$ cd $ORACLE_HOME/bin
$ ls -rlt oracle
-rwsr-s--x    1 oracle   oinstall  309671310 Oct 25 14:47 oracle

实际上我的权限是:

$ cd $ORACLE_HOME/bin/
$ ls -l oracle
-rwxrwxr-x    1 grid     oinstall  272152615 Oct 23 16:31 oracle

权限修改命令:

$ chmod 6751 oracle
$ 
$ ls -l oracle
-rwsr-s--x    1 grid     oinstall  272152615 Oct 23 16:31 oracle

再次尝试启动数据库,成功!

$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Tue Oct 25 15:44:18 2022

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area 4.9973E+10 bytes
Fixed Size                  2257944 bytes
Variable Size            1.1274E+10 bytes
Database Buffers         3.8655E+10 bytes
Redo Buffers               42070016 bytes
Database mounted.
Database opened.
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值