单实例使用ASM存储,DBCA建库时报权限问题ORA-01031

本文介绍了在RHEL5.3环境下,使用ASM创建Oracle数据库时遇到的权限问题ORA-01031。通过调整UDEV规则,确保ASM磁盘的权限为660,属于dba组,并在安装过程中将所有组设置为DBA,从而成功解决该问题。文章详细展示了配置过程和相关命令,包括创建用户组、设置路径权限、配置udev规则等。
摘要由CSDN通过智能技术生成

环境:RHEL5.3 64位,oracle 11.2.0.1

目的:使用UDEV绑定磁盘,建立ASM磁盘存储,建立hidb库

问题:使用DBCA创建库时报错,下图

 

因为安装GI的时候创建了很多用户组,如asmadmin,asmdba,asmoper等,角色权限分的很细,我操作的就会报以上错误,但经过查ORACLE官档,这不是必须的,可以参考

http://docs.oracle.com/cd/E11882_01/install.112/e22489/prelinux.htm#CWLIN205

2.5.6 Example of Creating Standard Groups, Users, and Paths
The following is an example of how to create the Oracle Inventory group (oinstall), and a single group (dba) as the OSDBA, OSASM and OSDBA for Oracle ASM groups. In addition, it shows how to create the Oracle Grid Infrastructure software owner (grid), and one Oracle Database owner (oracle) with correct group memberships. This example also shows how to configure an Oracle base path compliant with OFA structure with correct permissions:
# groupadd -g 1000 oinstall
# groupadd -g 1031 dba
# useradd -u 1100 -g oinstall -G dba grid
# useradd -u 1101 -g oinstall -G dba oracle
# mkdir -p  /u01/app/11.2.0/grid
# chown -R grid:oinstall /u01
# mkdir /u01/app/oracle
# chown oracle:oinstall /u01/app/oracle

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值