aix5.3上安装oracle10gR2 asm

今天公司服务器上的数据库由于断电不能正常启动,需要做介质恢复,但是归档日志已经被其他人员删掉,好在这是测试服务器没有重要数据,只好重装数据了。在安装的过程中执行 root.sh j脚本时出现如下错误:



Adding to inittab
Startup will be queued to init within 30 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.



Giving up: Oracle CSS stack appears NOT to be running.
Oracle CSS service would not start as installed
Automatic Storage Management(ASM) cannot be used until Oracle CSS service is started

解决方法如下:
# rm -f /usr/tmp/.oracle/*

# rm -f /tmp/.oracle/*

# rm -f /var/tmp/.oracle/*

#cd $ORACLE_HOME/bin

#./localconfig delete

#./localconfig add

#/etc/init.cssd run &

在单节点上使用ASM是不需要安装CRS的,但使用ASM就一定要CSS的支持,CSS在安装DATABASE的时候已经默认安装,只需要配置就行了。  出现错误原因是我没有彻底卸载干净oracle

# ./root.sh
Running Oracle10 root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle10
    ORACLE_HOME=  /oracle10/product/10.2

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
Configuration for local CSS has been initialized

Adding to inittab
Startup will be queued to init within 30 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.
        p2704u
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)


我的安装步骤是;

(1) ./runInstall

(2)  advance install

(3)  only install  A S M

(4)  choise lv,create asm diskgroup

(5) installing  asm 

(6) $ORACLE_HOME/bin/dbca   create database

(7) choise asm 

(8) choise diskgroup

(9) creating database 




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

转载于:http://blog.itpub.net/23062014/viewspace-716229/

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值