【10grac】crs一切正常,db服务起不来故障分析

版权声明:所有文章禁止转载但是均可在生产中使用提高效率 https://blog.csdn.net/viviliving/article/details/89642859
[root@rac2 ~]# crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora....DB1.srv application    ONLINE    OFFLINE               
ora....ACDB.cs application    ONLINE    OFFLINE               
ora....B1.inst application    ONLINE    OFFLINE               
ora....B2.inst application    ONLINE    OFFLINE               
ora.RACDB.db   application    ONLINE    OFFLINE               
ora....SM1.asm application    ONLINE    ONLINE    rac1        
ora....C1.lsnr application    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    ONLINE    ONLINE    rac1        
ora.rac1.ons   application    ONLINE    ONLINE    rac1        
ora.rac1.vip   application    ONLINE    ONLINE    rac1        
ora....SM2.asm application    ONLINE    ONLINE    rac2        
ora....C2.lsnr application    ONLINE    ONLINE    rac2        
ora.rac2.gsd   application    ONLINE    ONLINE    rac2        
ora.rac2.ons   application    ONLINE    ONLINE    rac2        
ora.rac2.vip   application    ONLINE    ONLINE    rac2 

尝试crs_start -all没解决问题

[root@rac1 ~]# crs_start -all
Attempting to start `ora.RACDB.RACDB1.inst` on member `rac1`
Attempting to start `ora.RACDB.RACDB2.inst` on member `rac2`
Attempting to start `ora.RACDB.RACDB.cs` on member `rac1`
Attempting to start `ora.RACDB.RACDB.RACDB1.srv` on member `rac1`
Attempting to start `ora.RACDB.db` on member `rac1`
Start of `ora.RACDB.RACDB1.inst` on member `rac1` failed.
rac2 : CRS-1018: Resource ora.rac1.vip (application) is already running on rac1


Start of `ora.RACDB.RACDB2.inst` on member `rac2` failed.
rac1 : CRS-1018: Resource ora.rac2.vip (application) is already running on rac2


Start of `ora.RACDB.RACDB.RACDB1.srv` on member `rac1` failed.
Attempting to start `ora.RACDB.RACDB.RACDB1.srv` on member `rac2`
Start of `ora.RACDB.db` on member `rac1` failed.
Attempting to start `ora.RACDB.db` on member `rac2`
Start of `ora.RACDB.RACDB.RACDB1.srv` on member `rac2` failed.
CRS-1006: No more members to consider

Start of `ora.RACDB.db` on member `rac2` failed.
CRS-1006: No more members to consider

Start of `ora.RACDB.RACDB.cs` on member `rac1` failed.
Attempting to start `ora.RACDB.RACDB.cs` on member `rac2`
Start of `ora.RACDB.RACDB.cs` on member `rac2` failed.
CRS-1006: No more members to consider

CRS-0215: Could not start resource 'ora.RACDB.RACDB.RACDB1.srv'.

CRS-0215: Could not start resource 'ora.RACDB.RACDB.cs'.

CRS-0215: Could not start resource 'ora.RACDB.RACDB1.inst'.

CRS-0215: Could not start resource 'ora.RACDB.RACDB2.inst'.

CRS-0215: Could not start resource 'ora.RACDB.db'.

尝试一下两种方式也没起作用

crs_start ora.RACDB.RACDB1.inst

srvctl start instance -d racdb -i "racdb1,racdb2"

查看oracle日志,发现了问题

/opt/oracle/otk/home/oracle/admin/RACDB/bdump(传统的alertlog,但是里面只是个错误号)

/opt/oracle/otk/home/oracle/product/10.2.0/db_1/log/rac1/racg(实例1的日志里我尝试的几次都出现同一个错误,解决问题的关键)

文件名ora.RACDB.RACDB1.inst.log

文件内容

Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.
2019-04-28 15:46:37.252: [ COMMCRS][1099188544]clsc_send_msg: (0xd77f370) NS err (12571, 12560), transport (530, 111, 0)

2019-04-28 15:46:47.694: [    RACG][1593190000] [24986][1593190000][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 15:46:38 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 15:46:47.694: [    RACG][1593190000] [24986][1593190000][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 10.450s

2019-04-28 15:50:35.504: [ COMMCRS][1097042240]clsc_send_msg: (0x13dd5370) NS err (12571, 12560), transport (530, 111, 0)

2019-04-28 15:50:45.755: [    RACG][2343310960] [18066][2343310960][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 15:50:36 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 15:50:45.755: [    RACG][2343310960] [18066][2343310960][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 10.260s

2019-04-28 16:36:28.485: [ COMMCRS][1115478336]clsc_send_msg: (0x1551370) NS err (12571, 12560), transport (530, 111, 0)

2019-04-28 16:36:38.775: [    RACG][570115696] [19877][570115696][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:36:29 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:36:38.775: [    RACG][570115696] [19877][570115696][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 10.300s

2019-04-28 16:36:56.107: [ COMMCRS][1101343040]clsc_send_msg: (0xdd06370) NS err (12571, 12560), transport (530, 111, 0)

2019-04-28 16:37:00.443: [    RACG][2139281008] [20714][2139281008][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:36:57 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:37:00.443: [    RACG][2139281008] [20714][2139281008][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 4.350s

2019-04-28 16:37:42.586: [    RACG][1328256624] [21920][1328256624][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:37:39 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:37:42.586: [    RACG][1328256624] [21920][1328256624][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.310s

2019-04-28 16:38:06.874: [    RACG][928065136] [22636][928065136][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:38:03 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:38:06.874: [    RACG][928065136] [22636][928065136][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.310s

2019-04-28 16:38:21.575: [    RACG][1209710192] [23200][1209710192][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:38:18 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:38:21.575: [    RACG][1209710192] [23200][1209710192][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.330s

2019-04-28 16:38:47.141: [ COMMCRS][1112025408]clsc_send_msg: (0x1b4a1370) NS err (12571, 12560), transport (530, 111, 0)

2019-04-28 16:38:51.463: [    RACG][3358996080] [24037][3358996080][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:38:48 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:38:51.463: [    RACG][3358996080] [24037][3358996080][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 4.330s

2019-04-28 16:43:34.497: [ COMMCRS][1096726848]clsc_send_msg: (0x1d3a8370) NS err (12571, 12560), transport (530, 111, 0)

2019-04-28 16:43:41.793: [    RACG][3686164080] [31525][3686164080][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:43:35 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:43:41.793: [    RACG][3686164080] [31525][3686164080][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 7.310s

2019-04-28 16:45:45.323: [    RACG][228284016] [2581][228284016][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:45:37 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:45:45.323: [    RACG][228284016] [2581][228284016][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 8.500s

2019-04-28 16:49:12.880: [    RACG][1309529712] [8110][1309529712][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:49:04 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:49:12.881: [    RACG][1309529712] [8110][1309529712][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 8.330s

2019-04-28 16:55:16.915: [ COMMCRS][1111038272]clsc_send_msg: (0x10205370) NS err (12571, 12560), transport (530, 111, 0)

2019-04-28 16:55:26.304: [    RACG][4183807600] [17712][4183807600][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:55:18 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:55:26.304: [    RACG][4183807600] [17712][4183807600][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 9.410s

2019-04-28 16:55:40.307: [    RACG][1661109872] [18372][1661109872][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:55:37 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:55:40.307: [    RACG][1661109872] [18372][1661109872][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.340s

2019-04-28 16:55:45.511: [    RACG][2861053552] [18636][2861053552][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:55:42 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:55:45.511: [    RACG][2861053552] [18636][2861053552][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.380s

2019-04-28 16:55:50.885: [    RACG][219793008] [18914][219793008][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:55:48 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:55:50.885: [    RACG][219793008] [18914][219793008][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 2.300s

2019-04-28 16:55:58.911: [    RACG][1407620720] [19212][1407620720][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:55:55 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:55:58.911: [    RACG][1407620720] [19212][1407620720][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.300s

2019-04-28 16:56:12.375: [    RACG][4191696496] [19769][4191696496][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:56:09 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:56:12.375: [    RACG][4191696496] [19769][4191696496][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.360s

2019-04-28 16:57:45.758: [    RACG][572221040] [22296][572221040][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:57:42 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:57:45.758: [    RACG][572221040] [22296][572221040][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.650s

2019-04-28 16:57:52.090: [    RACG][2671117936] [22665][2671117936][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:57:48 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:57:52.090: [    RACG][2671117936] [22665][2671117936][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.340s

2019-04-28 16:57:57.349: [    RACG][197682800] [22919][197682800][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:57:54 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:57:57.349: [    RACG][197682800] [22919][197682800][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.380s

2019-04-28 16:58:03.597: [    RACG][2738939504] [23201][2738939504][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:58:00 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:58:03.597: [    RACG][2738939504] [23201][2738939504][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.240s

2019-04-28 16:58:10.518: [    RACG][3503654512] [23540][3503654512][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:58:07 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:58:10.518: [    RACG][3503654512] [23540][3503654512][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.320s

2019-04-28 16:58:25.051: [    RACG][2340374128] [24073][2340374128][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:58:21 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:58:25.051: [    RACG][2340374128] [24073][2340374128][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.350s

2019-04-28 16:59:22.967: [    RACG][3963430512] [25723][3963430512][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 16:59:19 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 16:59:22.967: [    RACG][3963430512] [25723][3963430512][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.340s

2019-04-28 17:00:58.212: [    RACG][3615921776] [28360][3615921776][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 17:00:55 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 17:00:58.212: [    RACG][3615921776] [28360][3615921776][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 3.330s

2019-04-28 17:01:51.164: [ COMMCRS][1086875968]clsc_send_msg: (0x4b8f370) NS err (12571, 12560), transport (530, 111, 0)

2019-04-28 17:01:55.541: [    RACG][3033101936] [29907][3033101936][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 17:01:52 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 17:01:55.541: [    RACG][3033101936] [29907][3033101936][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 4.380s

2019-04-28 17:13:06.403: [ COMMCRS][1086310720]clsc_send_msg: (0x18535370) NS err (12571, 12560), transport (530, 111, 0)

2019-04-28 17:13:10.736: [    RACG][702289520] [14485][702289520][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 17:13:07 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 17:13:10.737: [    RACG][702289520] [14485][702289520][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 4.340s

2019-04-28 17:19:24.125: [ COMMCRS][1100867904]clsc_send_msg: (0x135a6370) NS err (12571, 12560), transport (530, 111, 0)

2019-04-28 17:19:28.486: [    RACG][2929190512] [24079][2929190512][ora.RACDB.RACDB1.inst]: clsrcremaction: clsrcrpcreq message returned: 1 '
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 28 17:19:25 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: Connected to an idle instance.

SQL> ORA-29760: instance_number parameter not specified
SQL> Disconnected

'

2019-04-28 17:19:28.486: [    RACG][2929190512] [24079][2929190512][ora.RACDB.RACDB1.inst]: end for resource = ora.RACDB.RACDB1.inst, action = start, status = 1, time = 4.370s

然后通过一下操作

 create pfile from spfile='+data/RACDB/spfileRACDB.ora';

增加参数

RACDB1.instance_number=1
RACDB2.instance_number=2


SQL>  create spfile='+data/RACDB/spfileRACDB.ora'  from  pfile='/opt/oracle/otk/home/oracle/product/10.2.0/db_1/dbs/initRACDB1.ora'

然后启动正常

[root@rac1 ~]# crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora....DB1.srv application    OFFLINE   OFFLINE               
ora....ACDB.cs application    OFFLINE   OFFLINE               
ora....B1.inst application    ONLINE    ONLINE    rac1        
ora....B2.inst application    ONLINE    ONLINE    rac2        
ora.RACDB.db   application    ONLINE    ONLINE    rac1        
ora....SM1.asm application    ONLINE    ONLINE    rac1        
ora....C1.lsnr application    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    ONLINE    ONLINE    rac1        
ora.rac1.ons   application    ONLINE    ONLINE    rac1        
ora.rac1.vip   application    ONLINE    ONLINE    rac1        
ora....SM2.asm application    ONLINE    ONLINE    rac2        
ora....C2.lsnr application    ONLINE    ONLINE    rac2        
ora.rac2.gsd   application    ONLINE    ONLINE    rac2        
ora.rac2.ons   application    ONLINE    ONLINE    rac2        
ora.rac2.vip   application    ONLINE    ONLINE    rac2  

随后启动src和cs服务

[root@rac1 ~]# crs_start ora.RACDB.RACDB.cs
Attempting to start `ora.RACDB.RACDB.cs` on member `rac1`
Start of `ora.RACDB.RACDB.cs` on member `rac1` succeeded.
[root@rac1 ~]# crs_start ora.RACDB.RACDB.RACDB1.srv
CRS-1002: Resource 'ora.RACDB.RACDB.RACDB1.srv' is already running on member 'rac1'

CRS-0223: Resource 'ora.RACDB.RACDB.RACDB1.srv' has placement error.

[root@rac1 ~]# crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora....DB1.srv application    ONLINE    ONLINE    rac1        
ora....ACDB.cs application    ONLINE    ONLINE    rac1        
ora....B1.inst application    ONLINE    ONLINE    rac1        
ora....B2.inst application    ONLINE    ONLINE    rac2        
ora.RACDB.db   application    ONLINE    ONLINE    rac1        
ora....SM1.asm application    ONLINE    ONLINE    rac1        
ora....C1.lsnr application    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    ONLINE    ONLINE    rac1        
ora.rac1.ons   application    ONLINE    ONLINE    rac1        
ora.rac1.vip   application    ONLINE    ONLINE    rac1        
ora....SM2.asm application    ONLINE    ONLINE    rac2        
ora....C2.lsnr application    ONLINE    ONLINE    rac2        
ora.rac2.gsd   application    ONLINE    ONLINE    rac2        
ora.rac2.ons   application    ONLINE    ONLINE    rac2        
ora.rac2.vip   application    ONLINE    ONLINE    rac2   

一切都圆满了

猜你喜欢

转载自blog.csdn.net/viviliving/article/details/89642859
今日推荐