在solaris10单实例配置oracle10g asm运行css不启动处理

在利用dbca(采用asm方式存储),运行
以root运行/oracle/product/10.2.0/db_1/bin/localconfig reset
出错:




处理如下:

How To Reconfigure Oracle Cluster Synchronization Services (CSS) In Non-RAC Installation?

Applies to:

Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 10.1.0.2
AIX5L Based Systems (64-bit)
Solaris Operating System (SPARC 64-bit)
Linux x86
HP-UX PA-RISC (64-bit)
HP Tru64 UNIX

Goal

Checked for relevance on 11-Jun-2007

How To Reconfigure Oracle Cluster Synchronization Services (CSS) ?

During Oracle 10G Non-RAC installation, the following error message appeared
 "Expecting the CRS daemons to be up within 600 sec.
  Giving up: Oracle CSS stack appears not be running
  Oracle CSS service services would not start as installed
  Automatic Storage Manager (ASM) cannot be used until Oracle CSS services is started"

One of the solution for the above error is to reconfigure the CSS (Oracle Cluster Synchronization Services).

Solution

To reconfigure the Oracle CSS daemon, follow the steps:
   
  1. In all Oracle home directories on the system, stop all Oracle ASM instances and any Oracle Database instances that  use ASM for database file storage.
   
  2. Switch user to root.
   
  3. Depending on your operating system, enter one of the following commands to
     identify the Oracle home directory being used to run the CSS daemon:
    - AIX and Linux:
    # more /etc/oracle/ocr.loc
    - Other operating systems:
    # more /var/opt/oracle/ocr.loc
    The output from this command is similar to the following:
    ocrconfig_loc=/u01/app/oracle/product/10.1.0/db_1/cdata/localhost/local.ocr
    local_only=TRUE
   
    The ocrconfig_loc parameter specifies the location of the Oracle Cluster Registry (OCR) used by the CSS daemon.
   
    The path up to the cdata directory is the Oracle home directory where the CSS daemon is running (/u01/app/oracle/product/10.1.0/db_1 in this example). If the value for the local_only parameter is FALSE, Oracle CRS is installed on this system. See the Oracle Real Application Clusters Installation and Configuration Guide for information about RAC or CRS.
   
   
  4.Set the ORACLE_HOME environment variable to specify the path to this Oracle  home directory:
    - Bourne, Bash, or Korn shell:
    # ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_2; export ORACLE_HOME
    - C shell:
    # setenv ORACLE_HOME /u01/app/oracle/product/10.1.0/db_2
   
  5.Enter the following command to reconfigure the CSS daemon to run from this Oracle home:
    # $ORACLE_HOME/bin/localconfig reset $ORACLE_HOME
    The script. stops the Oracle CSS daemon, reconfigures it in the new Oracle home, and then restarts it.
 
  When the system boots, the CSS daemon starts automatically from the new Oracle home.

NOTE:
Before you remove an Oracle Database 10g Oracle home, you must determine whether the CSS daemon is running from that Oracle home and whether any other Oracle Database 10g Oracle homes exist on the system:

  • If the Oracle Database 10g Oracle home that you want to remove is the only Oracle Database 10g installation on the system, you can delete the CSS daemon configuration.
  • If the CSS daemon is running from the Oracle Database 10g Oracle home that you want to remove and other Oracle Database 10g installations exist on the system, you must reconfigure the CSS daemon to run from another Oracle Database 10g Oracle home.


References

Oracle® Database Installation Guide 10g Release 1 (10.1) for UNIX Systems [Part No. B10811-02]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9240380/viewspace-620517/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/9240380/viewspace-620517/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值