一次service不能正常启动的处理过程

1,服务不能正常启动,显示数据库状态不正常
[grid@dtydb4 ~]$ srvctl start service -d epmdb -s srv_epm1 -i epmdb1
PRCR-1013 : Failed to start resource ora.epmdb.srv_epm1.svc
PRCR-1064 : Failed to start resource ora.epmdb.srv_epm1.svc on node dtydb3
CRS-2800: Cannot start resource 'ora.epmdb.db' as it is already in the INTERMEDIATE state on server 'dtydb3'


2,原因为数据库状态异常,Stuck Archiver

[grid@dtydb4 ~]$ crsctl status resource -t

ora.epmdb.db
      1        ONLINE  INTERMEDIATE dtydb3                   Stuck Archiver      
      2        ONLINE  ONLINE       dtydb4                   Open                
      3        ONLINE  ONLINE       dtydb5                   Open  

3,找到原因,解决问题。

根据意思查询应该是archive方面的原因,查询日志

ORA-19815: ???ˉ???|: db_recovery_file_dest_size ?—?–???? (?1?2 5218762752 ?—?–????) ?’?‘???1?“?? 100.00%,

由于是测试系统,调整该参数大小

sys@EPMDB1(10.4.124.233)> alter system set db_recovery_file_dest_size = 10G scope=both;

?μí3ò??ü???£


4,恢复正常,下一步要调整下测试库的某些参数


再次查看状态,恢复正常
[grid@dtydb4 ~]$ crsctl status resource -t
ora.epmdb.db
      1        ONLINE  ONLINE       dtydb3                   Open                
      2        ONLINE  ONLINE       dtydb4                   Open                
      3        ONLINE  ONLINE       dtydb5                   Open                


再次启动服务,恢复正常
[oracle@dtydb3 trace]$  srvctl start service -d epmdb -s srv_epm1 -i epmdb1
PRCC-1014 : srv_epm1 was already running
PRCR-1004 : Resource ora.epmdb.srv_epm1.svc is already running

你可能感兴趣的:(oracle,数据库,service,File,测试,archive)