我在执行一条SQL语句时,报以上错误,原来一直没有问题,直到近期才出现,高手帮忙看是怎么回事?

解决方案 »

  1.   

     Cause
    Connect to CM failed or timed out.Action
    Verify that the CM was started. If the CM was not started, start it and then
    retry the database startup. If the CM died or is not responding, check the 
    Oracle and CM trace files for errors. 参考资料,如果出现上面的错误,就检查文件/etc/inittab,看看是否有下面的行: h1:35:respawn:/etc/init.d/init.cssd run >/dev/null 2>&1</dev/null 如果没有上面的行,请添加上;如果注释掉,请取消注释我按着说明也添加了.可还是提示同样的错误,我在oracle的官方论坛找到一种方法:Please run the following batch files in the $ORACLE_HOME/bin directory(在root用户下)localconfig delete[root@localhost bin]# ./localconfig delete
    /etc/init.d/init.cssd: line 519: /etc/oracle/scls_scr/localhost/root/cssrun: 没
    有那个文件或目录
    /bin/touch: cannot touch ‘/etc/oracle/scls_scr/localhost/root/nooprocd’: 没有
    那个文件或目录
    /bin/touch: cannot touch ‘/etc/oracle/scls_scr/localhost/root/noclsmon’: 没有
    那个文件或目录
    Stopping CSSD.
    Failure in CSS initialization opening OCR.
    Shutdown has begun. The daemons should exit soon.
    localconfig add[root@localhost bin]# ./localconfig add
    Successfully accumulated necessary OCR keys.
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Configuration for local CSS has been initializedAdding 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.
            localhost
    CSS is active on all nodes.
    Oracle CSS service is installed and running under init(1M)This will help you to solve your problem问题解决了,asm实例可以启动了
      

  2.   

    ORA-29701: unable to connect to Cluster Manager因为安装完10g以后,就直接把/etc/inittab中的h1:35:respawn:/etc/init.d/init.cssd run >/dev/null 2>&1这句注释了
    取消注释
    重新启动