您的位置:首页 > 数据库 > Oracle

oracle 12c rac dbca建库,提示无法访问+DATA磁盘组

2015-09-18 09:42 721 查看
the file path +DATA in invalid please check the permissions

原因: dbca是oracle用户运行,磁盘是gird,asmadmin权限,所以访问不了

解决:将oracle添加至asmadmin组中

[root@rac01 ~]# ll /dev/asm*

brw-rw---- 1 grid asmadmin 8, 32 9月 18 09:35 /dev/asm-diskc

brw-rw---- 1 grid asmadmin 8, 48 9月 17 14:58 /dev/asm-diskd

brw-rw---- 1 grid asmadmin 8, 64 9月 15 17:51 /dev/asm-diske

brw-rw---- 1 grid asmadmin 8, 80 9月 15 17:51 /dev/asm-diskf

brw-rw---- 1 grid asmadmin 8, 96 9月 2 17:00 /dev/asm-diskg

brw-rw---- 1 grid asmadmin 8, 112 9月 2 17:00 /dev/asm-diskh
[root@rac01 ~]# id oracle

uid=1101(oracle) gid=1000(oinstall) 组=1000(oinstall),1201(asmdba),1300(dba),1301(oper)

[root@rac01 ~]# id grid

uid=1100(grid) gid=1000(oinstall) 组=1000(oinstall),1200(asmadmin),1201(asmdba),1202(asmoper),1300(dba)

[root@rac01 ~]# usermod -a -G asmadmin oracle

[root@rac01 ~]# id oracle

uid=1101(oracle) gid=1000(oinstall) 组=1000(oinstall),1200(asmadmin),1201(asmdba),1300(dba),1301(oper)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: