Chinaunix

标题: 重启数据库是出现了不能识别的实例 [打印本页]

作者: scottify    时间: 2007-08-03 20:05
标题: 重启数据库是出现了不能识别的实例
重启数据库
我先其监听结果如下:

% lsnrctl start

LSNRCTL for IBM/AIX RISC System/6000: Version 9.2.0.5.0 - Production on 03-AUG-2007 19:31:11

Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.

Starting /opt/oracle/app/oracle/product/9.2/bin/tnslsnr: please wait...

TNSLSNR for IBM/AIX RISC System/6000: Version 9.2.0.5.0 - Production
System parameter file is /opt/oracle/app/oracle/product/9.2/network/admin/listener.ora
Log messages written to /opt/oracle/app/oracle/product/9.2/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ora92)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.70.114.229)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ora92)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for IBM/AIX RISC System/6000: Version 9.2.0.5.0 - Production
Start Date                03-AUG-2007 19:31:11
Uptime                    0 days 0 hr. 0 min. 2 sec
Trace Level               off
Security                  OFF
SNMP                      OFF
Listener Parameter File   /opt/oracle/app/oracle/product/9.2/network/admin/listener.ora
Listener Log File         /opt/oracle/app/oracle/product/9.2/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ora92)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.70.114.229)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "ora92" has 1 instance(s).
  Instance "ora92", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
%   

在最后出现的Service 中实例都为  UNKNOWN 状态是否正常?

然后我sqlplus /nolog

connect sys/* as sysdba

出现如下结果:

SQL> connect sys/sysexp as sysdba
Connected to an idle instance.

请大家给我看下
作者: numenhuang    时间: 2007-08-03 21:07
1. listener出现的unknown是正常的,因为是静态注册的Service

2. SQL> connect sys/sysexp as sysdba
Connected to an idle instance.
意味着数据库没有启动




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2