srvctl start database 失败 ORA-01017: invalid username/password; logon denied

简介: 现象

现象

vctl start database -database 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/dell/crs/trace/ohasd_oraagent_grid.trc".
ORA-01017: invalid username/password; logon denied
CRS-2674: Start of 'ora.orcl.db' on 'dell' failed
ORA-01017: invalid username/password; logon denied


分析

[grid@dell ~]$ crsctl getperm resource ora.orcl.db
Name: ora.orcl.db
owner:grid:rwx,pgrp:asmdba:r-x,other::r--,group:oinstall:r-x,user:oracle:rwx
[grid@dell ~]$ 
[grid@dell ~]$ sr
[grid@dell ~]$ id grid
uid=54322(grid) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54327(asmdba),54328(asmoper),54329(asmadmin)
[grid@dell ~]$ crsctl -h
[grid@dell ~]$ crsctl getperm resource ora.orcl.db -u grid            
Name: ora.orcl.db
rwx
[grid@dell ~]$ crsctl getperm resource ora.orcl.db -u oracle
Name: ora.orcl.db
rwx
[grid@dell ~]$ crsctl getperm resource ora.orcl.db -g oinstall
Name: ora.orcl.db
r-x
[grid@dell ~]$


解决

编辑/etc/group ,给grid加了一个组 racdba,重新启动成功!


[grid@dell ~]$ id grid
uid=54322(grid) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54330(racdba),54327(asmdba),54328(asmoper),54329(asmadmin)
[grid@dell ~]$ srvctl start database -database orcl 
[grid@dell ~]$


相关文章
|
10月前
|
数据库
【YashanDB知识库】YAS-02547 there is a gap in the restored archived logs on instance 1, reason: start of restored archive 35 is greater than database last archive 21
【YashanDB知识库】YAS-02547 there is a gap in the restored archived logs on instance 1, reason: start of restored archive 35 is greater than database last archive 21
|
10月前
|
数据库
【YashanDB知识库】YAS-02547 there is a gap in the restored archived logs on instance 1, reason: start of restored archive 35 is greater than database last archive 21
【YashanDB知识库】YAS-02547 there is a gap in the restored archived logs on instance 1, reason: start of restored archive 35 is greater than database last archive 21
|
XML 关系型数据库 MySQL
已解决Failed to connect mysql database,please check username and password,or mysql is version8? true
已解决Failed to connect mysql database,please check username and password,or mysql is version8? true
638 0
|
Oracle 关系型数据库 数据库
|
SQL Oracle 关系型数据库
WARNING: Too Many Parse Errors With error=911 When Running a JDBC Application Connected to an Oracle 19c database
WARNING: Too Many Parse Errors With error=911 When Running a JDBC Application Connected to an Oracle 19c database (
472 2
|
Oracle 关系型数据库
19c 开启Oracle Database Vault
19c 开启Oracle Database Vault
338 1
|
SQL Oracle 关系型数据库
Connect to Autonomous Database Using Oracle Database Tools
Connect to Autonomous Database Using Oracle Database Tools
247 1
|
人工智能 Oracle 关系型数据库
一篇文章弄懂Oracle和PostgreSQL的Database Link
一篇文章弄懂Oracle和PostgreSQL的Database Link
|
Oracle 关系型数据库 Linux
Requirements for Installing Oracle Database/Client 19c on OL8 or RHEL8 64-bit (x86-64) (Doc ID 2668780.1)
Requirements for Installing Oracle Database/Client 19c on OL8 or RHEL8 64-bit (x86-64) (Doc ID 2668780.1)
190 0
|
SQL Oracle 安全
Oracle Database Vault Access Control Components
Oracle Database Vault Access Control Components
151 0

热门文章

最新文章