奇怪的事情又来了--从sqlplus里不能启动oracle.
2010-08-09 16:37
323 查看
一个双节点的RAC。
其中一个节点关闭了。
于是想启动,结果报错了。
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 2550136832 bytes
Fixed Size 2032256 bytes
Variable Size 553655680 bytes
Database Buffers 1979711488 bytes
Redo Buffers 14737408 bytes
ORA-01105: mount is incompatible with mounts by other instances
ORA-19808: recovery destination parameter mismatch
SQL> show parameter spfile
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /oradata1/RTST/spfileRTST.ora
SQL> show paraemter cluster
SP2-0158: unknown SHOW option "paraemter"
SP2-0158: unknown SHOW option "cluster"
SQL> show parameter cluster
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
cluster_database boolean TRUE
cluster_database_instances integer 2
cluster_interconnects string
SQL> show parameter recovery
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string /oracle_backup/RTST/flash
db_recovery_file_dest_size big integer 2G
recovery_parallelism integer 0
于是想用crs_start试一下
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP
and Data Mining options
$ crs_stop -all
Attempting to stop `ora.RTST.RTST1.RTST1.srv` on member `tst-rac02-ud-us-eqx`
Attempting to stop `ora.RTST.RTST2.RTST2.srv` on member `tst-rac02-ud-us-eqx`
Attempting to stop `ora.tst-rac02-ud-us-eqx.ons` on member `tst-rac02-ud-us-eqx`
Attempting to stop `ora.tst-rac01-ud-us-eqx.ons` on member `tst-rac01-ud-us-eqx`
Attempting to stop `ora.RTST.RTST1.cs` on member `tst-rac01-ud-us-eqx`
Attempting to stop `ora.RTST.db` on member `tst-rac01-ud-us-eqx`
Attempting to stop `ora.RTST.RTST2.cs` on member `tst-rac02-ud-us-eqx`
Stop of `ora.RTST.RTST1.RTST1.srv` on member `tst-rac02-ud-us-eqx` succeeded.
Stop of `ora.RTST.RTST2.RTST2.srv` on member `tst-rac02-ud-us-eqx` succeeded.
Stop of `ora.tst-rac01-ud-us-eqx.ons` on member `tst-rac01-ud-us-eqx` succeeded.
Stop of `ora.tst-rac02-ud-us-eqx.ons` on member `tst-rac02-ud-us-eqx` succeeded.
Stop of `ora.RTST.RTST1.cs` on member `tst-rac01-ud-us-eqx` succeeded.
Stop of `ora.RTST.RTST2.cs` on member `tst-rac02-ud-us-eqx` succeeded.
Stop of `ora.RTST.db` on member `tst-rac01-ud-us-eqx` succeeded.
Attempting to stop `ora.tst-rac01-ud-us-eqx.LISTENER_TST-RAC01-UD-US-EQX.lsnr` on member `tst-rac01-ud-us-eqx`
`ora.RTST.RTST2.inst` is already OFFLINE.
`ora.RTST.RTST1.inst` is already OFFLINE.
Attempting to stop `ora.tst-rac02-ud-us-eqx.LISTENER_TST-RAC02-UD-US-EQX.lsnr` on member `tst-rac02-ud-us-eqx`
Stop of `ora.tst-rac02-ud-us-eqx.LISTENER_TST-RAC02-UD-US-EQX.lsnr` on member `tst-rac02-ud-us-eqx` succeeded.
Stop of `ora.tst-rac01-ud-us-eqx.LISTENER_TST-RAC01-UD-US-EQX.lsnr` on member `tst-rac01-ud-us-eqx` succeeded.
Attempting to stop `ora.tst-rac01-ud-us-eqx.vip` on member `tst-rac01-ud-us-eqx`
Attempting to stop `ora.tst-rac02-ud-us-eqx.vip` on member `tst-rac02-ud-us-eqx`
Stop of `ora.tst-rac01-ud-us-eqx.vip` on member `tst-rac01-ud-us-eqx` succeeded.
Stop of `ora.tst-rac02-ud-us-eqx.vip` on member `tst-rac02-ud-us-eqx` succeeded.
CRS-0216: Could not stop resource 'ora.RTST.RTST1.inst'.
CRS-0216: Could not stop resource 'ora.RTST.RTST2.inst'.
$ crs_start -all
Attempting to start `ora.tst-rac01-ud-us-eqx.vip` on member `tst-rac01-ud-us-eqx`
Attempting to start `ora.RTST.RTST2.inst` on member `tst-rac02-ud-us-eqx`
Attempting to start `ora.RTST.RTST1.inst` on member `tst-rac01-ud-us-eqx`
Attempting to start `ora.tst-rac02-ud-us-eqx.vip` on member `tst-rac02-ud-us-eqx`
Start of `ora.tst-rac01-ud-us-eqx.vip` on member `tst-rac01-ud-us-eqx` succeeded.
Attempting to start `ora.tst-rac01-ud-us-eqx.LISTENER_TST-RAC01-UD-US-EQX.lsnr` on member `tst-rac01-ud-us-eqx`
Start of `ora.tst-rac02-ud-us-eqx.vip` on member `tst-rac02-ud-us-eqx` succeeded.
Attempting to start `ora.tst-rac02-ud-us-eqx.LISTENER_TST-RAC02-UD-US-EQX.lsnr` on member `tst-rac02-ud-us-eqx`
Start of `ora.tst-rac01-ud-us-eqx.LISTENER_TST-RAC01-UD-US-EQX.lsnr` on member `tst-rac01-ud-us-eqx` succeeded.
Start of `ora.tst-rac02-ud-us-eqx.LISTENER_TST-RAC02-UD-US-EQX.lsnr` on member `tst-rac02-ud-us-eqx` succeeded.
Start of `ora.RTST.RTST1.inst` on member `tst-rac01-ud-us-eqx` succeeded.
Start of `ora.RTST.RTST2.inst` on member `tst-rac02-ud-us-eqx` succeeded.
Attempting to start `ora.RTST.RTST1.RTST1.srv` on member `tst-rac01-ud-us-eqx`
CRS-1002: Resource 'ora.tst-rac01-ud-us-eqx.ons' is already running on member 'tst-rac01-ud-us-eqx'
Attempting to start `ora.RTST.RTST2.cs` on member `tst-rac02-ud-us-eqx`
CRS-1002: Resource 'ora.tst-rac02-ud-us-eqx.ons' is already running on member 'tst-rac02-ud-us-eqx'
Attempting to start `ora.RTST.db` on member `tst-rac01-ud-us-eqx`
Attempting to start `ora.RTST.RTST2.RTST2.srv` on member `tst-rac02-ud-us-eqx`
Attempting to start `ora.RTST.RTST1.cs` on member `tst-rac01-ud-us-eqx`
Start of `ora.RTST.RTST1.RTST1.srv` on member `tst-rac01-ud-us-eqx` succeeded.
Start of `ora.RTST.RTST1.cs` on member `tst-rac01-ud-us-eqx` succeeded.
Start of `ora.RTST.db` on member `tst-rac01-ud-us-eqx` succeeded.
Start of `ora.RTST.RTST2.cs` on member `tst-rac02-ud-us-eqx` succeeded.
Start of `ora.RTST.RTST2.RTST2.srv` on member `tst-rac02-ud-us-eqx` succeeded.
CRS-0223: Resource 'ora.tst-rac01-ud-us-eqx.ons' has placement error.
CRS-0223: Resource 'ora.tst-rac02-ud-us-eqx.ons' has placement error.
$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....ST1.srv application ONLINE ONLINE tst-...-eqx
ora....TST1.cs application ONLINE ONLINE tst-...-eqx
ora....T1.inst application ONLINE ONLINE tst-...-eqx
ora....ST2.srv application ONLINE ONLINE tst-...-eqx
ora....TST2.cs application ONLINE ONLINE tst-...-eqx
ora....T2.inst application ONLINE ONLINE tst-...-eqx
ora.RTST.db application ONLINE ONLINE tst-...-eqx
ora....QX.lsnr application ONLINE ONLINE tst-...-eqx
ora....eqx.ons application ONLINE ONLINE tst-...-eqx
ora....eqx.vip application ONLINE ONLINE tst-...-eqx
ora....QX.lsnr application ONLINE ONLINE tst-...-eqx
ora....eqx.ons application ONLINE ONLINE tst-...-eqx
ora....eqx.vip application ONLINE ONLINE tst-...-eqx
成功了,但不清楚为什么。
曾经咨询过oracle support,据说在里面和在外面启动和关闭效里是一致的。
从这里看肯定是有区别的。到底是什么区别有必要进一步考察。
其中一个节点关闭了。
于是想启动,结果报错了。
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 2550136832 bytes
Fixed Size 2032256 bytes
Variable Size 553655680 bytes
Database Buffers 1979711488 bytes
Redo Buffers 14737408 bytes
ORA-01105: mount is incompatible with mounts by other instances
ORA-19808: recovery destination parameter mismatch
SQL> show parameter spfile
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /oradata1/RTST/spfileRTST.ora
SQL> show paraemter cluster
SP2-0158: unknown SHOW option "paraemter"
SP2-0158: unknown SHOW option "cluster"
SQL> show parameter cluster
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
cluster_database boolean TRUE
cluster_database_instances integer 2
cluster_interconnects string
SQL> show parameter recovery
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string /oracle_backup/RTST/flash
db_recovery_file_dest_size big integer 2G
recovery_parallelism integer 0
于是想用crs_start试一下
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP
and Data Mining options
$ crs_stop -all
Attempting to stop `ora.RTST.RTST1.RTST1.srv` on member `tst-rac02-ud-us-eqx`
Attempting to stop `ora.RTST.RTST2.RTST2.srv` on member `tst-rac02-ud-us-eqx`
Attempting to stop `ora.tst-rac02-ud-us-eqx.ons` on member `tst-rac02-ud-us-eqx`
Attempting to stop `ora.tst-rac01-ud-us-eqx.ons` on member `tst-rac01-ud-us-eqx`
Attempting to stop `ora.RTST.RTST1.cs` on member `tst-rac01-ud-us-eqx`
Attempting to stop `ora.RTST.db` on member `tst-rac01-ud-us-eqx`
Attempting to stop `ora.RTST.RTST2.cs` on member `tst-rac02-ud-us-eqx`
Stop of `ora.RTST.RTST1.RTST1.srv` on member `tst-rac02-ud-us-eqx` succeeded.
Stop of `ora.RTST.RTST2.RTST2.srv` on member `tst-rac02-ud-us-eqx` succeeded.
Stop of `ora.tst-rac01-ud-us-eqx.ons` on member `tst-rac01-ud-us-eqx` succeeded.
Stop of `ora.tst-rac02-ud-us-eqx.ons` on member `tst-rac02-ud-us-eqx` succeeded.
Stop of `ora.RTST.RTST1.cs` on member `tst-rac01-ud-us-eqx` succeeded.
Stop of `ora.RTST.RTST2.cs` on member `tst-rac02-ud-us-eqx` succeeded.
Stop of `ora.RTST.db` on member `tst-rac01-ud-us-eqx` succeeded.
Attempting to stop `ora.tst-rac01-ud-us-eqx.LISTENER_TST-RAC01-UD-US-EQX.lsnr` on member `tst-rac01-ud-us-eqx`
`ora.RTST.RTST2.inst` is already OFFLINE.
`ora.RTST.RTST1.inst` is already OFFLINE.
Attempting to stop `ora.tst-rac02-ud-us-eqx.LISTENER_TST-RAC02-UD-US-EQX.lsnr` on member `tst-rac02-ud-us-eqx`
Stop of `ora.tst-rac02-ud-us-eqx.LISTENER_TST-RAC02-UD-US-EQX.lsnr` on member `tst-rac02-ud-us-eqx` succeeded.
Stop of `ora.tst-rac01-ud-us-eqx.LISTENER_TST-RAC01-UD-US-EQX.lsnr` on member `tst-rac01-ud-us-eqx` succeeded.
Attempting to stop `ora.tst-rac01-ud-us-eqx.vip` on member `tst-rac01-ud-us-eqx`
Attempting to stop `ora.tst-rac02-ud-us-eqx.vip` on member `tst-rac02-ud-us-eqx`
Stop of `ora.tst-rac01-ud-us-eqx.vip` on member `tst-rac01-ud-us-eqx` succeeded.
Stop of `ora.tst-rac02-ud-us-eqx.vip` on member `tst-rac02-ud-us-eqx` succeeded.
CRS-0216: Could not stop resource 'ora.RTST.RTST1.inst'.
CRS-0216: Could not stop resource 'ora.RTST.RTST2.inst'.
$ crs_start -all
Attempting to start `ora.tst-rac01-ud-us-eqx.vip` on member `tst-rac01-ud-us-eqx`
Attempting to start `ora.RTST.RTST2.inst` on member `tst-rac02-ud-us-eqx`
Attempting to start `ora.RTST.RTST1.inst` on member `tst-rac01-ud-us-eqx`
Attempting to start `ora.tst-rac02-ud-us-eqx.vip` on member `tst-rac02-ud-us-eqx`
Start of `ora.tst-rac01-ud-us-eqx.vip` on member `tst-rac01-ud-us-eqx` succeeded.
Attempting to start `ora.tst-rac01-ud-us-eqx.LISTENER_TST-RAC01-UD-US-EQX.lsnr` on member `tst-rac01-ud-us-eqx`
Start of `ora.tst-rac02-ud-us-eqx.vip` on member `tst-rac02-ud-us-eqx` succeeded.
Attempting to start `ora.tst-rac02-ud-us-eqx.LISTENER_TST-RAC02-UD-US-EQX.lsnr` on member `tst-rac02-ud-us-eqx`
Start of `ora.tst-rac01-ud-us-eqx.LISTENER_TST-RAC01-UD-US-EQX.lsnr` on member `tst-rac01-ud-us-eqx` succeeded.
Start of `ora.tst-rac02-ud-us-eqx.LISTENER_TST-RAC02-UD-US-EQX.lsnr` on member `tst-rac02-ud-us-eqx` succeeded.
Start of `ora.RTST.RTST1.inst` on member `tst-rac01-ud-us-eqx` succeeded.
Start of `ora.RTST.RTST2.inst` on member `tst-rac02-ud-us-eqx` succeeded.
Attempting to start `ora.RTST.RTST1.RTST1.srv` on member `tst-rac01-ud-us-eqx`
CRS-1002: Resource 'ora.tst-rac01-ud-us-eqx.ons' is already running on member 'tst-rac01-ud-us-eqx'
Attempting to start `ora.RTST.RTST2.cs` on member `tst-rac02-ud-us-eqx`
CRS-1002: Resource 'ora.tst-rac02-ud-us-eqx.ons' is already running on member 'tst-rac02-ud-us-eqx'
Attempting to start `ora.RTST.db` on member `tst-rac01-ud-us-eqx`
Attempting to start `ora.RTST.RTST2.RTST2.srv` on member `tst-rac02-ud-us-eqx`
Attempting to start `ora.RTST.RTST1.cs` on member `tst-rac01-ud-us-eqx`
Start of `ora.RTST.RTST1.RTST1.srv` on member `tst-rac01-ud-us-eqx` succeeded.
Start of `ora.RTST.RTST1.cs` on member `tst-rac01-ud-us-eqx` succeeded.
Start of `ora.RTST.db` on member `tst-rac01-ud-us-eqx` succeeded.
Start of `ora.RTST.RTST2.cs` on member `tst-rac02-ud-us-eqx` succeeded.
Start of `ora.RTST.RTST2.RTST2.srv` on member `tst-rac02-ud-us-eqx` succeeded.
CRS-0223: Resource 'ora.tst-rac01-ud-us-eqx.ons' has placement error.
CRS-0223: Resource 'ora.tst-rac02-ud-us-eqx.ons' has placement error.
$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....ST1.srv application ONLINE ONLINE tst-...-eqx
ora....TST1.cs application ONLINE ONLINE tst-...-eqx
ora....T1.inst application ONLINE ONLINE tst-...-eqx
ora....ST2.srv application ONLINE ONLINE tst-...-eqx
ora....TST2.cs application ONLINE ONLINE tst-...-eqx
ora....T2.inst application ONLINE ONLINE tst-...-eqx
ora.RTST.db application ONLINE ONLINE tst-...-eqx
ora....QX.lsnr application ONLINE ONLINE tst-...-eqx
ora....eqx.ons application ONLINE ONLINE tst-...-eqx
ora....eqx.vip application ONLINE ONLINE tst-...-eqx
ora....QX.lsnr application ONLINE ONLINE tst-...-eqx
ora....eqx.ons application ONLINE ONLINE tst-...-eqx
ora....eqx.vip application ONLINE ONLINE tst-...-eqx
成功了,但不清楚为什么。
曾经咨询过oracle support,据说在里面和在外面启动和关闭效里是一致的。
从这里看肯定是有区别的。到底是什么区别有必要进一步考察。
相关文章推荐
- Win7下oracle的sqlplus不能启动
- Win7下oracle的sqlplus不能启动
- Win7下oracle的sqlplus不能启动
- 装了Oracle 10g后输入sqlplus 后 出现"无法初始化Oracle调用界面;Oracle不能正常工作"
- 解决oracle sqlplus 不能修改,退格问题
- Oracle SQL PLUS 登录-启动-关闭
- linux下启动oracle sqlplus使用方向键出现[^A[B^[B^[D^ ^H的解决方法
- 如何快速启动oracle 8i SQL-Plus?
- 启动oracle出错 sqlplus /nolog出错
- oracle运维之--aio引起sqlplus / as sysdba不能用
- 启动oracle出错 sqlplus /nolog出错
- 不能“在oracle db server上使用sqlplus / as sysdba”的解决办法
- 记一次ORACLE SQLPLUS 无响应 导致的奇怪问题
- 解决oracle中sqlplus客户端命令行中出现^H字符以及不能使用历史命令行
- oracle sqlplus 方向键不能用
- Oracle SQL Developer工具不能启动解决办法
- 远程连接oracle进入SQLPLUS时删除键不能用
- Oracle篇章系列一:sqlplus概念认知及其启动关闭数据库和用户操作
- Mac本下Oracle InstantClient的安装(sqlplus命令不能执行的解决方案)
- 如何快速启动oracle 8i SQL-Plus?