CRS-5017: 资源操作 “ora.asm start“ 遇到以下错误: ORA-01017: invalid username

Oracle RAC启动CRS报错:登陆权限问题


2023-06-21 20:42:15.735: [ora.asm][1872455424]{0:0:116} [start] InstConnection::connectInt (2) Exception OCIException
2023-06-21 20:42:15.735: [ora.asm][1872455424]{0:0:116} [start] InstConnection:connect:excp OCIException OCI error 1017
2023-06-21 20:42:15.735: [ora.asm][1872455424]{0:0:116} [start] InstAgent::start: 1 errcode 1017
2023-06-21 20:42:15.735: [ora.asm][1872455424]{0:0:116} [start] InstAgent::start: untrapped error
2023-06-21 20:42:15.735: [ora.asm][1872455424]{0:0:116} [start] InstAgent::start: 2 errcode 1017
2023-06-21 20:42:15.735: [ USRTHRD][1872455424]{0:0:116} InstConnection:~InstConnection: this 54105bf0
2023-06-21 20:42:15.736: [ora.asm][1872455424]{0:0:116} [start] clean {
2023-06-21 20:42:15.736: [ora.asm][1872455424]{0:0:116} [start] InstAgent::stop_option stop mode immediate option 1
2023-06-21 20:42:15.736: [ora.asm][1872455424]{0:0:116} [start] InstAgent::stop { 
2023-06-21 20:42:15.736: [ora.asm][1872455424]{0:0:116} [start] getResAttrib: attrib name USR_ORA_OPI value false len 5
2023-06-21 20:42:15.736: [ora.asm][1872455424]{0:0:116} [start] InstAgent::stop original reason system do shutdown abort
2023-06-21 20:42:15.736: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::resetConnection  s_statusOfConnectionMap 00ae9760
2023-06-21 20:42:15.736: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::resetConnection sid +ASM1 status  2
2023-06-21 20:42:15.736: [ora.asm][1872455424]{0:0:116} [start] Gimh::check OH /oracle/11.2.0.4/grid SID +ASM1
2023-06-21 20:42:15.736: [ora.asm][1872455424]{0:0:116} [start] Gimh::check condition changes to (GIMH_NEXT_NUM) 1 exists
2023-06-21 20:42:15.736: [ora.asm][1872455424]{0:0:116} [start] CrsCmd::ClscrsCmdData::stat entity 5 statflag 32 useFilter 1
2023-06-21 20:42:15.904: [ COMMCRS][1831016192]clsc_connect: (0x7f3f540964c0) no listener at (ADDRESS=(PROTOCOL=IPC)(KEY=CRSD_UI_SOCKET))

2023-06-21 20:42:15.904: [ora.asm][1872455424]{0:0:116} [start] checkCrsStat 2 CLSCRS_STAT ret: 184
2023-06-21 20:42:15.905: [ora.asm][1872455424]{0:0:116} [start] clsnUtils::error Exception type=2 string=

2023-06-21 20:42:15.905: [ora.asm][1872455424]{0:0:116} [start] AsmAgent::checkCbk: Exception UserErrorException
2023-06-21 20:42:15.905: [ora.asm][1872455424]{0:0:116} [start]  
2023-06-21 20:42:15.905: [ USRTHRD][1872455424]{0:0:116} Gimh::destructor gimh_dest_query_ctx rc=0
2023-06-21 20:42:15.905: [ USRTHRD][1872455424]{0:0:116} Gimh::destructor gimh_dest_inst_ctx rc=0
2023-06-21 20:42:15.905: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::stopConnection
2023-06-21 20:42:15.905: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::removeConnection connection count 0
2023-06-21 20:42:15.905: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::removeConnection freed 0
2023-06-21 20:42:15.905: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::stopConnection sid +ASM1 status  1
2023-06-21 20:42:15.905: [ora.asm][1872455424]{0:0:116} [start] InstAgent::check 1 prev clsagfw_res_status 3 current clsagfw_res_status 2
2023-06-21 20:42:20.905: [ora.asm][1872455424]{0:0:116} [start] InstAgent::check prev clsagfw_res_status 2 current clsagfw_res_status 2
2023-06-21 20:42:20.905: [ora.asm][1872455424]{0:0:116} [start] InstAgent::stop  shutdown mode: 4
2023-06-21 20:42:20.905: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::getConnection 160 ERROR sid +ASM1 pool status 1
2023-06-21 20:42:20.905: [ora.asm][1872455424]{0:0:116} [start] InstAgent::stop pool pConnxn 00000000
2023-06-21 20:42:20.905: [ora.asm][1872455424]{0:0:116} [start] clsnInstConnection::makeConnectStr UsrOraEnv  m_oracleHome /oracle/11.2.0.4/grid Crshome /oracle/11.2.0.4/grid
2023-06-21 20:42:20.905: [ora.asm][1872455424]{0:0:116} [start] makeConnectStr = (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/oracle/11.2.0.4/grid/bin/oracle)(ARGV0=oracle+ASM1)(ENVS='ORACLE_HOME=/oracle/11.2.0.4/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=+ASM1)))
2023-06-21 20:42:20.906: [ora.asm][1872455424]{0:0:116} [start] InstAgent::stop non pool pConnxn 1 54105e30
2023-06-21 20:42:20.906: [ora.asm][1872455424]{0:0:116} [start] InstConnection::connectInt: server not attached
2023-06-21 20:42:20.922: [ora.asm][1872455424]{0:0:116} [start] ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
进程 ID: 0
会话 ID: 0 序列号: 0

2023-06-21 20:42:20.922: [ora.asm][1872455424]{0:0:116} [start] InstConnection::connectInt (2) Exception OCIException
2023-06-21 20:42:20.922: [ora.asm][1872455424]{0:0:116} [start] InstConnection:connect:excp OCIException OCI error 1034
2023-06-21 20:42:20.922: [ora.asm][1872455424]{0:0:116} [start] InstAgent::stop: connect1 errcode 1034
2023-06-21 20:42:20.922: [ora.asm][1872455424]{0:0:116} [start] InstAgent::stop: connect2 oracleHome /oracle/11.2.0.4/grid oracleSid +ASM1
2023-06-21 20:42:20.922: [ora.asm][1872455424]{0:0:116} [start] InstConnection::connectInt: server not attached
2023-06-21 20:42:20.936: [ora.asm][1872455424]{0:0:116} [start] ORA-01017: invalid username/password; logon denied

2023-06-21 20:42:20.936: [ora.asm][1872455424]{0:0:116} [start] InstConnection::connectInt (2) Exception OCIException
2023-06-21 20:42:20.936: [ora.asm][1872455424]{0:0:116} [start] InstConnection:connect:excp OCIException OCI error 1017
2023-06-21 20:42:20.936: [ora.asm][1872455424]{0:0:116} [start] InstAgent::stop: connect2 errcode 1017
2023-06-21 20:42:20.936: [ora.asm][1872455424]{0:0:116} [start] clsnUtils::error Exception type=2 string=
ORA-01017: invalid username/password; logon denied

2023-06-21 20:42:20.936: [    AGFW][1872455424]{0:0:116} sending status msg [ORA-01017: invalid username/password; logon denied
] for start for resource: ora.asm 1 1
2023-06-21 20:42:20.936: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::removeConnection connection count 1
2023-06-21 20:42:20.936: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::removeConnection sid  +ASM1, InstConnection 54105e30
2023-06-21 20:42:20.936: [ USRTHRD][1872455424]{0:0:116} InstConnection::breakCall pConnxn:54105e30  DetachLock:00ae3228 m_pSvcH:540e57e0
2023-06-21 20:42:20.936: [ USRTHRD][1872455424]{0:0:116} InstConnection:~InstConnection: this 54105e30
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::removeConnection delete InstConnection 54105e30
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::removeConnection freed 1
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::stopConnection
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::removeConnection connection count 0
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::removeConnection freed 0
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::stopConnection sid +ASM1 status  1
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] InstAgent::stop db/asm
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::stopConnection
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::removeConnection connection count 0
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::removeConnection freed 0
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] ConnectionPool::stopConnection sid +ASM1 status  1
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] getResAttrib: attrib name USR_ORA_OPI value false len 5
2023-06-21 20:42:20.937: [    AGFW][1874843392]{0:0:116} Agent sending reply for: RESOURCE_START[ora.asm 1 1] ID 4098:1274
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] InstAgent::stop Container->stop, isShutdown = 0
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] InstAgent::stop: } 
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] clean  }
2023-06-21 20:42:20.937: [ora.asm][1872455424]{0:0:116} [start] InstAgent::start exception }
2023-06-21 20:42:20.938: [ora.asm][1872455424]{0:0:116} [start] clsnUtils::error Exception type=2 string=
CRS-5017: The resource action "ora.asm start" encountered the following error: 
ORA-01017: invalid username/password; logon denied
. For details refer to "(:CLSN00107:)" in "/oracle/11.2.0.4/grid/log/pgis-rac1/agent/ohasd/oraagent_grid/oraagent_grid.log".

2023-06-21 20:42:20.938: [    AGFW][1872455424]{0:0:116} sending status msg [CRS-5017: The resource action "ora.asm start" encountered the following error: 
ORA-01017: invalid username/password; logon denied
. For details refer to "(:CLSN00107:)" in "/oracle/11.2.0.4/grid/log/pgis-rac1/agent/ohasd/oraagent_grid/oraagent_grid.log".
] for start for resource: ora.asm 1 1
2023-06-21 20:42:20.938: [ora.asm][1872455424]{0:0:116} [start] (:CLSN00107:) clsn_agent::start }
2023-06-21 20:42:20.938: [    AGFW][1872455424]{0:0:116} Command: start for resource: ora.asm 1 1 completed with status: FAIL
2023-06-21 20:42:20.938: [    AGFW][1874843392]{0:0:116} Agent sending reply for: RESOURCE_START[ora.asm 1 1] ID 4098:1274
2023-06-21 20:42:20.938: [ora.asm][1872455424]{0:0:116} [check] ConnectionPool::resetConnection  s_statusOfConnectionMap 00ae9760
2023-06-21 20:42:20.938: [ora.asm][1872455424]{0:0:116} [check] ConnectionPool::resetConnection sid +ASM1 status  2
2023-06-21 20:42:20.938: [ora.asm][1872455424]{0:0:116} [check] Gimh::check OH /oracle/11.2.0.4/grid SID +ASM1
2023-06-21 20:42:20.939: [    AGFW][1874843392]{0:0:116} Agent sending reply for: RESOURCE_START[ora.asm 1 1] ID 4098:1274
2023-06-21 20:42:20.939: [ora.asm][1872455424]{0:0:116} [check] Gimh::check condition changes to (GIMH_NEXT_NUM) 1 exists
2023-06-21 20:42:20.939: [ora.asm][1872455424]{0:0:116} [check] CrsCmd::ClscrsCmdData::stat entity 5 statflag 32 useFilter 1
2023-06-21 20:42:21.104: [ COMMCRS][1831016192]clsc_connect: (0x7f3f54096900) no listener at (ADDRESS=(PROTOCOL=IPC)(KEY=CRSD_UI_SOCKET))

2023-06-21 20:42:21.105: [ora.asm][1872455424]{0:0:116} [check] checkCrsStat 2 CLSCRS_STAT ret: 184
2023-06-21 20:42:21.105: [ora.asm][1872455424]{0:0:116} [check] clsnUtils::error Exception type=2 string=

2023-06-21 20:42:21.105: [ora.asm][1872455424]{0:0:116} [check] AsmAgent::checkCbk: Exception UserErrorException
2023-06-21 20:42:21.105: [ora.asm][1872455424]{0:0:116} [check]  
2023-06-21 20:42:21.105: [ USRTHRD][1872455424]{0:0:116} Gimh::destructor gimh_dest_query_ctx rc=0
2023-06-21 20:42:21.105: [ USRTHRD][1872455424]{0:0:116} Gimh::destructor gimh_dest_inst_ctx rc=0
2023-06-21 20:42:21.105: [ora.asm][1872455424]{0:0:116} [check] ConnectionPool::stopConnection
2023-06-21 20:42:21.105: [ora.asm][1872455424]{0:0:116} [check] ConnectionPool::removeConnection connection count 0
2023-06-21 20:42:21.105: [ora.asm][1872455424]{0:0:116} [check] ConnectionPool::removeConnection freed 0
2023-06-21 20:42:21.105: [ora.asm][1872455424]{0:0:116} [check] ConnectionPool::stopConnection sid +ASM1 status  1
2023-06-21 20:42:21.105: [ora.asm][1872455424]{0:0:116} [check] InstAgent::check 1 prev clsagfw_res_status 2 current clsagfw_res_status 2
2023-06-21 20:42:26.105: [ora.asm][1872455424]{0:0:116} [check] InstAgent::check prev clsagfw_res_status 2 current clsagfw_res_status 2
2023-06-21 20:42:26.106: [    AGFW][1874843392]{0:0:116} ora.asm 1 1 state changed from: STARTING to: PLANNED_OFFLINE
2023-06-21 20:42:26.106: [    AGFW][1874843392]{0:0:116} Agent sending last reply for: RESOURCE_START[ora.asm 1 1] ID 4098:1274
2023-06-21 20:42:26.109: [    AGFW][1874843392]{0:0:116} Agent received the message: RESOURCE_CLEAN[ora.asm 1 1] ID 4100:1282
2023-06-21 20:42:26.109: [    AGFW][1874843392]{0:0:116} Preparing CLEAN command for: ora.asm 1 1
2023-06-21 20:42:26.109: [    AGFW][1874843392]{0:0:116} ora.asm 1 1 state changed from: PLANNED_OFFLINE to: CLEANING
2023-06-21 20:42:26.109: [ora.asm][1872455424]{0:0:116} [clean] (:CLSN00106:) clsn_agent::clean {
2023-06-21 20:42:26.109: [ora.asm][1872455424]{0:0:116} [clean] clean {
2023-06-21 20:42:26.109: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::stop_option stop mode immediate option 1
2023-06-21 20:42:26.109: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::stop { 
2023-06-21 20:42:26.109: [ora.asm][1872455424]{0:0:116} [clean] getResAttrib: attrib name USR_ORA_OPI value false len 5
2023-06-21 20:42:26.109: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::stop original reason system do shutdown abort
2023-06-21 20:42:26.109: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::resetConnection  s_statusOfConnectionMap 00ae9760
2023-06-21 20:42:26.109: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::resetConnection sid +ASM1 status  2
2023-06-21 20:42:26.109: [ora.asm][1872455424]{0:0:116} [clean] Gimh::check OH /oracle/11.2.0.4/grid SID +ASM1
2023-06-21 20:42:26.109: [ora.asm][1872455424]{0:0:116} [clean] Gimh::check condition changes to (GIMH_NEXT_NUM) 1 exists
2023-06-21 20:42:26.109: [ora.asm][1872455424]{0:0:116} [clean] CrsCmd::ClscrsCmdData::stat entity 5 statflag 32 useFilter 1
2023-06-21 20:42:26.274: [ COMMCRS][1831016192]clsc_connect: (0x7f3f540968b0) no listener at (ADDRESS=(PROTOCOL=IPC)(KEY=CRSD_UI_SOCKET))

2023-06-21 20:42:26.275: [ora.asm][1872455424]{0:0:116} [clean] checkCrsStat 2 CLSCRS_STAT ret: 184
2023-06-21 20:42:26.275: [ora.asm][1872455424]{0:0:116} [clean] clsnUtils::error Exception type=2 string=

2023-06-21 20:42:26.275: [ora.asm][1872455424]{0:0:116} [clean] AsmAgent::checkCbk: Exception UserErrorException
2023-06-21 20:42:26.275: [ora.asm][1872455424]{0:0:116} [clean]  
2023-06-21 20:42:26.275: [ USRTHRD][1872455424]{0:0:116} Gimh::destructor gimh_dest_query_ctx rc=0
2023-06-21 20:42:26.275: [ USRTHRD][1872455424]{0:0:116} Gimh::destructor gimh_dest_inst_ctx rc=0
2023-06-21 20:42:26.275: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::stopConnection
2023-06-21 20:42:26.275: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::removeConnection connection count 0
2023-06-21 20:42:26.275: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::removeConnection freed 0
2023-06-21 20:42:26.275: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::stopConnection sid +ASM1 status  1
2023-06-21 20:42:26.275: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::check 1 prev clsagfw_res_status 2 current clsagfw_res_status 2
2023-06-21 20:42:31.275: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::check prev clsagfw_res_status 2 current clsagfw_res_status 2
2023-06-21 20:42:31.275: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::stop  shutdown mode: 4
2023-06-21 20:42:31.275: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::getConnection 160 ERROR sid +ASM1 pool status 1
2023-06-21 20:42:31.275: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::stop pool pConnxn 00000000
2023-06-21 20:42:31.276: [ora.asm][1872455424]{0:0:116} [clean] clsnInstConnection::makeConnectStr UsrOraEnv  m_oracleHome /oracle/11.2.0.4/grid Crshome /oracle/11.2.0.4/grid
2023-06-21 20:42:31.276: [ora.asm][1872455424]{0:0:116} [clean] makeConnectStr = (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/oracle/11.2.0.4/grid/bin/oracle)(ARGV0=oracle+ASM1)(ENVS='ORACLE_HOME=/oracle/11.2.0.4/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=+ASM1)))
2023-06-21 20:42:31.276: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::stop non pool pConnxn 1 541467b0
2023-06-21 20:42:31.276: [ora.asm][1872455424]{0:0:116} [clean] InstConnection::connectInt: server not attached
2023-06-21 20:42:31.292: [ora.asm][1872455424]{0:0:116} [clean] ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
进程 ID: 0
会话 ID: 0 序列号: 0

2023-06-21 20:42:31.292: [ora.asm][1872455424]{0:0:116} [clean] InstConnection::connectInt (2) Exception OCIException
2023-06-21 20:42:31.292: [ora.asm][1872455424]{0:0:116} [clean] InstConnection:connect:excp OCIException OCI error 1034
2023-06-21 20:42:31.292: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::stop: connect1 errcode 1034
2023-06-21 20:42:31.292: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::stop: connect2 oracleHome /oracle/11.2.0.4/grid oracleSid +ASM1
2023-06-21 20:42:31.292: [ora.asm][1872455424]{0:0:116} [clean] InstConnection::connectInt: server not attached
2023-06-21 20:42:31.306: [ora.asm][1872455424]{0:0:116} [clean] ORA-01017: invalid username/password; logon denied

2023-06-21 20:42:31.306: [ora.asm][1872455424]{0:0:116} [clean] InstConnection::connectInt (2) Exception OCIException
2023-06-21 20:42:31.306: [ora.asm][1872455424]{0:0:116} [clean] InstConnection:connect:excp OCIException OCI error 1017
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::stop: connect2 errcode 1017
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] clsnUtils::error Exception type=2 string=
ORA-01017: invalid username/password; logon denied

2023-06-21 20:42:31.307: [    AGFW][1872455424]{0:0:116} sending status msg [ORA-01017: invalid username/password; logon denied
] for clean for resource: ora.asm 1 1
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::removeConnection connection count 1
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::removeConnection sid  +ASM1, InstConnection 541467b0
2023-06-21 20:42:31.307: [ USRTHRD][1872455424]{0:0:116} InstConnection::breakCall pConnxn:541467b0  DetachLock:00ae3228 m_pSvcH:54132b00
2023-06-21 20:42:31.307: [ USRTHRD][1872455424]{0:0:116} InstConnection:~InstConnection: this 541467b0
2023-06-21 20:42:31.307: [    AGFW][1874843392]{0:0:116} Agent sending reply for: RESOURCE_CLEAN[ora.asm 1 1] ID 4100:1282
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::removeConnection delete InstConnection 541467b0
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::removeConnection freed 1
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::stopConnection
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::removeConnection connection count 0
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::removeConnection freed 0
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::stopConnection sid +ASM1 status  1
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::stop db/asm
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::stopConnection
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::removeConnection connection count 0
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::removeConnection freed 0
2023-06-21 20:42:31.307: [ora.asm][1872455424]{0:0:116} [clean] ConnectionPool::stopConnection sid +ASM1 status  1
2023-06-21 20:42:31.308: [ora.asm][1872455424]{0:0:116} [clean] getResAttrib: attrib name USR_ORA_OPI value false len 5
2023-06-21 20:42:31.308: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::stop Container->stop, isShutdown = 0
2023-06-21 20:42:31.308: [ora.asm][1872455424]{0:0:116} [clean] InstAgent::stop: } 
2023-06-21 20:42:31.308: [ora.asm][1872455424]{0:0:116} [clean] clean  }
2023-06-21 20:42:31.308: [ora.asm][1872455424]{0:0:116} [clean] (:CLSN00106:) clsn_agent::clean }
2023-06-21 20:42:31.308: [    AGFW][1872455424]{0:0:116} Command: clean for resource: ora.asm 1 1 completed with status: SUCCESS
2023-06-21 20:42:31.308: [    AGFW][1874843392]{0:0:116} Agent sending reply for: RESOURCE_CLEAN[ora.asm 1 1] ID 4100:1282
2023-06-21 20:42:31.308: [ora.asm][1872455424]{0:0:116} [check] ConnectionPool::resetConnection  s_statusOfConnectionMap 00ae9760
2023-06-21 20:42:31.308: [ora.asm][1872455424]{0:0:116} [check] ConnectionPool::resetConnection sid +ASM1 status  2
2023-06-21 20:42:31.308: [ora.asm][1872455424]{0:0:116} [check] Gimh::check OH /oracle/11.2.0.4/grid SID +ASM1
2023-06-21 20:42:31.308: [ora.asm][1872455424]{0:0:116} [check] Gimh::check condition changes to (GIMH_NEXT_NUM) 1 exists
2023-06-21 20:42:31.308: [ora.asm][1872455424]{0:0:116} [check] CrsCmd::ClscrsCmdData::stat entity 5 statflag 32 useFilter 1
2023-06-21 20:42:31.474: [ COMMCRS][1831016192]clsc_connect: (0x7f3f540968f0) no listener at (ADDRESS=(PROTOCOL=IPC)(KEY=CRSD_UI_SOCKET))

2023-06-21 20:42:31.474: [ora.asm][1872455424]{0:0:116} [check] checkCrsStat 2 CLSCRS_STAT ret: 184
2023-06-21 20:42:31.474: [ora.asm][1872455424]{0:0:116} [check] clsnUtils::error Exception type=2 string=

2023-06-21 20:42:31.474: [ora.asm][1872455424]{0:0:116} [check] AsmAgent::checkCbk: Exception UserErrorException
2023-06-21 20:42:31.474: [ora.asm][1872455424]{0:0:116} [check]  
2023-06-21 20:42:31.474: [ USRTHRD][1872455424]{0:0:116} Gimh::destructor gimh_dest_query_ctx rc=0
2023-06-21 20:42:31.475: [ USRTHRD][1872455424]{0:0:116} Gimh::destructor gimh_dest_inst_ctx rc=0
2023-06-21 20:42:31.475: [ora.asm][1872455424]{0:0:116} [check] ConnectionPool::stopConnection
2023-06-21 20:42:31.475: [ora.asm][1872455424]{0:0:116} [check] ConnectionPool::removeConnection connection count 0
2023-06-21 20:42:31.475: [ora.asm][1872455424]{0:0:116} [check] ConnectionPool::removeConnection freed 0
2023-06-21 20:42:31.475: [ora.asm][1872455424]{0:0:116} [check] ConnectionPool::stopConnection sid +ASM1 status  1
2023-06-21 20:42:31.475: [ora.asm][1872455424]{0:0:116} [check] InstAgent::check 1 prev clsagfw_res_status 2 current clsagfw_res_status 2
2023-06-21 20:42:36.475: [ora.asm][1872455424]{0:0:116} [check] InstAgent::check prev clsagfw_res_status 2 current clsagfw_res_status 2
2023-06-21 20:42:36.475: [    AGFW][1874843392]{0:0:116} ora.asm 1 1 state changed from: CLEANING to: PLANNED_OFFLINE
2023-06-21 20:42:36.475: [    AGFW][1874843392]{0:0:116} Agent sending last reply for: RESOURCE_CLEAN[ora.asm 1 1] ID 4100:1282
2023-06-21 20:42:40.487: [ora.evmd][1872455424]{0:0:2} [check] clsdmc_respget return: status=0, ecode=0
2023-06-21 20:42:40.487: [ora.evmd][1872455424]{0:0:2} [check] DaemonAgent::check returned 0
2023-06-21 20:42:40.487: [ora.evmd][1872455424]{0:0:2} [check] Deep check returned 0
2023-06-21 20:42:42.778: [ora.mdnsd][1852385024]{0:0:2} [check] clsdmc_respget return: status=0, ecode=0
2023-06-21 20:42:43.890: [ora.gpnpd][1836046080]{0:0:2} [check] clsdmc_respget return: status=0, ecode=0
2023-06-21 20:42:44.901: [ora.gipcd][1836046080]{0:0:2} [check] clsdmc_respget return: status=0, ecode=0
2023-06-21 20:43:10.493: [ora.evmd][1852385024]{0:0:2} [check] clsdmc_respget return: status=0, ecode=0
2023-06-21 20:43:10.493: [ora.evmd][1852385024]{0:0:2} [check] DaemonAgent::check returned 0
2023-06-21 20:43:10.493: [ora.evmd][1852385024]{0:0:2} [check] Deep check returned 0
2023-06-21 20:43:11.732: [    AGFW][1874843392]{0:0:58} Agent received the message: AGENT_HB[Engine] ID 12293:1298
2023-06-21 20:43:12.784: [ora.mdnsd][1836046080]{0:0:2} [check] clsdmc_respget return: status=0, ecode=0

该问题完美匹配以下解决方案:

http://blog.itpub.net/28612416/viewspace-1820666/

APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Information in this document applies to any platform.

SYMPTOMS

One of the node CRS was not coming up properly.

ASM did not come up automatically - it  failed to start  with "ORA-01017: invalid username/password; logon denied" error in the <grid home>/log/<host name>/agent/ohasd/oraagent_grid/oraagent_grid.log

alert<hostname>.log
~~~~~~~~~~~~~~~~~~~~
[client(3990)]CRS-10001:10-Jun-14 14:35 ACFS-9156: Detecting control device '/dev/ofsctl'.
[client(4002)]CRS-10001:10-Jun-14 14:35 ACFS-9322: completed
2014-06-10 14:36:18.128:
[ohasd(48895)]CRS-2807:Resource 'ora.asm' failed to start automatically.
2014-06-10 14:36:18.128:
[ohasd(48895)]CRS-2807:Resource 'ora.crsd' failed to start automatically.

oraagent_grid.log
~~~~~~~~~~~~~~~~~~
2014-06-10 14:35:15.585: [ora.asm][3219122496]{0:0:2} [start] makeConnectStr = (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/u01/app/11.2.0.4/grid/bin/oracle)(ARGV0=oracle+ASM1)(ENVS='ORACLE_HOME=/u01/app/11.2.0.4/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=+ASM1)))
2014-06-10 14:35:15.587: [ora.asm][3219122496]{0:0:2} [start] Container:start oracle home /u01/app/11.2.0.4/grid
2014-06-10 14:35:15.587: [ora.asm][3219122496]{0:0:2} [start] InstConnection::connectInt: server not attached
2014-06-10 14:35:15.621: [ora.asm][3219122496]{0:0:2} [start] ORA-01017: invalid username/password; logon denied  <<<<<<<<<


2014-06-10 14:36:12.960: [ A**][2622531904]{0:0:2} A** Proxy Server sending the reply to PE for message:RESOURCE_CLEAN[ora.asm 1 1] ID 4100:456
2014-06-10 14:36:12.960: [ CRSPE][2543831360]{0:0:2} Received reply to action [Clean] message ID: 456
2014-06-10 14:36:12.960: [ CRSPE][2543831360]{0:0:2} Got agent-specific msg: ORA-01017: invalid username/password; logon denied

ASM instance can be started manually  using sqlplus "/as sysasm" but the CRSD fails to start with same error.

crsd.log
~~~~~~~~~
2014-06-05 11:05:28.617: [ CRSMAIN][4003182320] Initializing OCR
[ CLWAL][4003182320]clsw_Initialize: OLR initlevel [70000]
2014-06-05 11:05:29.938: [ OCRASM][4003182320]proprasmo: Error in open/create file in dg [DATA]
[ OCRASM][4003182320]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=1017, loc=kgfokge

2014-06-05 11:05:29.938: [ OCRASM][4003182320]ASM Error Stack : ORA-01017: invalid username/password; logon denied <<<<<<<<

2014-06-05 11:05:30.985: [ OCRASM][4003182320]proprasmo: kgfoCheckMount returned [7]
2014-06-05 11:05:30.985: [ OCRASM][4003182320]proprasmo: The ASM instance is down
2014-06-05 11:05:30.985: [ OCRRAW][4003182320]proprioo: Failed to open [+DATA]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
2014-06-05 11:05:30.985: [ OCRRAW][4003182320]proprioo: No OCR/OLR devices are usable

CAUSE

 SQLNET.ORA has below entry

# sqlnet.ora.Network Configuration File:
/u01/app/11.2.0.4/grid/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
SQLNET.AUTHENTICATION_SERVICES=none <<<<<<<<<<<<<<<<<<<<
ADR_BASE = /u01/app/grid

CRS uses OS authentication method to connect ASM instance.

If   SQLNET.AUTHENTICATION_SERVICES=none then a valid username and password is need to connect to ASM instance.

SOLUTION

1) Remove "SQLNET.AUTHENTICATION_SERVICES=none" from the Grid Home SQLNET.ORA file (location $ORACLE_HOME/network/admin)

2) Restart the CRS with force.

crsctl stop crs -f
crsctl start crs

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

末点

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值