Oracle 12.2-Grid-CRS-2674/ORA-01017

Oracle 12.2-Grid-CRS-2674/ORA-01017
 
错误:
        dbca创建数据库失败,报错CRS-2674/ORA-01017。
        srvctl start database -db xxx,报相同错误。
[grid@ora122 admin]$ srvctl start database -db orcl
PRCR-1079 : Failed to start resource ora.orcl.db
CRS-5017: The resource action "ora.orcl.db start" encountered the following error:
ORA-01017: invalid username/password; logon denied
. For details refer to "(:CLSN00107:)" in "/u01/app/grid/diag/crs/ora122/crs/trace/ohasd_oraagent_grid.trc".
CRS-2674: Start of 'ora.orcl.db' on 'ora122' failed
ORA-01017: invalid username/password; logon denied
 
文档:
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=264134681178589&parent=EXTERNAL_SEARCH&sourceId=PROBLEM&id=2313555.1&_afrWindowMode=0&_adf.ctrl-state=xv58l9tgg_4
 
处理方法:
        为grid用户,添加racdba组。
[root@ora122 ~]# id oracle
uid=2001(oracle) gid=1001(oinstall) groups=1001(oinstall),1002(dba),1003(oper),1004(backupdba),1005(dgdba),1006(kmdba),1007(asmdba),1010(racdba)
[root@ora122 ~]# id grid
uid=2002(grid) gid=1001(oinstall) groups=1001(oinstall),1002(dba),1007(asmdba),1008(asmoper),1009(asmadmin)

[root@ora122 ~]# usermod -a -G racdba grid
[root@ora122 ~]# id grid
uid=2002(grid) gid=1001(oinstall) groups=1001(oinstall),1002(dba),1007(asmdba),1008(asmoper),1009(asmadmin),1010(racdba)
[grid@ora122 ~]$ srvctl start database -db orcl
[grid@ora122 ~]$ srvctl status database -db orcl
Database is running.
 

你可能感兴趣的:(故障汇总)