今天公司服务器上的数据库由于断电不能正常启动,需要做介质恢复,但是归档日志已经被其他人员删掉,好在这是测试服务器没有重要数据,只好重装数据了。在安装的过程中执行 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
解决方法如下:
我的安装步骤是;
(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
解决方法如下:
# 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/