- 最后登录
- 2021-1-29
- 在线时间
- 37 小时
- 威望
- 5
- 金钱
- 166
- 注册时间
- 2012-12-28
- 阅读权限
- 10
- 帖子
- 99
- 精华
- 0
- 积分
- 5
- UID
- 846
|
6#
发表于 2013-2-22 15:39:13
安装虽然没问题了,但连接时出现问题ora12514
检查crs_stat发现里面没有ora.sudb.db,是不是10g的数据库不能在11g的crs中注册呢?
尝试手动注册:
增加type- crsctl add type ora.database.type -basetype ora.cluster_resource.type
复制代码 增加资源- crsctl add res ora.sudb.db -type ora.database.type
复制代码 再次查看- grid@su1:~> crs_stat -t
- Name Type Target State Host
- ------------------------------------------------------------
- ora....ER.lsnr ora....er.type ONLINE ONLINE su1
- ora....N1.lsnr ora....er.type ONLINE ONLINE su2
- ora....EMDG.dg ora....up.type ONLINE ONLINE su1
- ora.asm ora.asm.type ONLINE ONLINE su1
- ora.cvu ora.cvu.type ONLINE ONLINE su2
- ora.gsd ora.gsd.type OFFLINE OFFLINE
- ora....network ora....rk.type ONLINE ONLINE su1
- ora.oc4j ora.oc4j.type ONLINE ONLINE su2
- ora.ons ora.ons.type ONLINE ONLINE su1
- ora.scan1.vip ora....ip.type ONLINE ONLINE su2
- ora....SM1.asm application ONLINE ONLINE su1
- ora....U1.lsnr application ONLINE ONLINE su1
- ora.su1.gsd application OFFLINE OFFLINE
- ora.su1.ons application ONLINE ONLINE su1
- ora.su1.vip ora....t1.type ONLINE ONLINE su1
- ora....SM2.asm application ONLINE ONLINE su2
- ora....U2.lsnr application ONLINE ONLINE su2
- ora.su2.gsd application OFFLINE OFFLINE
- ora.su2.ons application ONLINE ONLINE su2
- ora.su2.vip ora....t1.type ONLINE ONLINE su2
- ora.sudb.db ora....se.type OFFLINE OFFLINE
复制代码 尝试启动- grid@su1:~> crs_start ora.sudb.db
- Attempting to stop `ora.sudb.db` on member `su1`
- CRS-5809: Failed to execute 'ACTION_SCRIPT' value of '' for 'ora.sudb.db'. Error information 'cmd not found'
- CRS-5809: Failed to execute 'ACTION_SCRIPT' value of '' for 'ora.sudb.db'. Error information 'cmd not found'
- Stop of `ora.sudb.db` on member `su1` failed.
- CRS-0215: Could not start resource 'ora.sudb.db'.
- 状态变为:
- ora.sudb.db ora....se.type OFFLINE UNKNOWN su1
复制代码 查看数据库状态- oracle@su1:~> srvctl status database -d sudb
- PRKH-1001 : HASContext Internal Error
- [OCR Error(Native: getLocalNodeName:[21])]
- PRKO-2005 : Application error: Failure in getting Cluster Database Configuration for: sudb
复制代码 尝试启动- oracle@su1:~> sqlplus /nolog
- SQL*Plus: Release 10.2.0.5.0 - Production on Wed Feb 20 10:07:08 2013
- Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
- SQL> conn /as sysdba
- Connected to an idle instance.
- SQL> startup nomount
- ORA-01078: failure in processing system parameters
- LRM-00109: could not open parameter file '/s01/product/10.2.0.5/db1/dbs/initsudb1.ora'
复制代码 请教maclean,谢谢!
|
|