ORA-29701: unable to connect to Cluster Manager这个错误还是蛮经常遇到的,比如主机异常重启、修改主机名和IP等一些非正常操作后重新启动ASM经常会报ORA-29701: unable to connect to Cluster Manager
[oracle@tytest ~]$ export ORACLE_SID=+ASM
[oracle@tytest ~]$ sqlplus '/as sysdba'
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 23 11:48:15 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-29701: unable to connect to Cluster Manager
SQL> exit
重建localconfig后仍不行
Last login: Thu Jun 23 11:47:47 2011 from 192.168.227.1
[root@tytest ~]# cd /u01/app/oracle/product/10.2.0/db_1/bin
[root@tytest bin]# ls local*
localconfig
[root@tytest bin]# ./localconfig delete
/etc/init.d/init.cssd: line 491: /etc/oracle/scls_scr/tytest/root/cssrun: No such file or directory
/bin/touch: cannot touch `/etc/oracle/scls_scr/tytest/root/nooprocd': No such file or directory
/bin/touch: cannot touch `/etc/oracle/scls_scr/tytest/root/noclsmon': No such file or directory
Stopping CSSD.
Failure in CSS initialization opening OCR.
Shutdown has begun. The daemons should exit soon.
[root@tytest bin]# ./localconfig add
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Configuration for local CSS has been initialized
Adding to inittab
Startup will be queued to init within 90 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
tytest
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)
[root@tytest bin]#
[oracle@tytest bin]$ echo $ORACLE_SID
+ASM
[oracle@tytest bin]$ sqlplus '/as sysdba'
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 23 12:00:04 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
SQL> startup
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL> exit
这里还出现ORA-00600的错误
这个问题主要在hosts里边。
查看hosts,修改hosts对应的主机名和IP,ASM正常启动
Disconnected
[oracle@tytest bin]$ sqlplus '/as sysdba'
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 23 12:03:10 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ASM instance started
Total System Global Area 83886080 bytes
Fixed Size 1217836 bytes
Variable Size 57502420 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
SQL>
如果想深入体验LINUX系统的新手,也可以先下载一个方德Linux软件中心试用一下。
免费下载地址:http://www.nfs-cloud.cn:81/appCenter/open/softcenter