- 最后登录
- 2015-2-6
- 在线时间
- 0 小时
- 威望
- 0
- 金钱
- 18
- 注册时间
- 2015-2-5
- 阅读权限
- 10
- 帖子
- 9
- 精华
- 0
- 积分
- 0
- UID
- 2281
|
10#
发表于 2015-2-6 16:35:23
Liu Maclean(刘相兵 发表于 2015-2-6 11:44
你的问题 只是nomount 情况下 sysdba无法登陆 ,估计与密码文件管理有关
SQL> startup nomount force
ORACLE instance started.
Total System Global Area 780824576 bytes
Fixed Size 2257312 bytes
Variable Size 511708768 bytes
Database Buffers 264241152 bytes
Redo Buffers 2617344 bytes
Recovery Manager complete.
[oracle@dba ~]$ rman catalog rman/rman target sys/oracle@lofe
Recovery Manager: Release 11.2.0.4.0 - Production on Fri Feb 6 16:30:43 2015
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: LOTE (not mounted)
connected to recovery catalog database
RMAN>
[oracle@dba ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 06-FEB-2015 16:32:12
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.71)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 06-FEB-2015 16:20:42
Uptime 0 days 0 hr. 11 min. 30 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.4/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/dba/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.71)(PORT=1521)))
Services Summary...
Service "calog" has 1 instance(s).
Instance "calog", status READY, has 1 handler(s) for this service...
Service "calogXDB" has 1 instance(s).
Instance "calog", status READY, has 1 handler(s) for this service...
Service "lofe" has 1 instance(s).
Instance "lote", status UNKNOWN, has 1 handler(s) for this service...
Service "lote" has 1 instance(s).
Instance "lote", status BLOCKED, has 1 handler(s) for this service...
Service "rman" has 2 instance(s).
Instance "calog", status UNKNOWN, has 1 handler(s) for this service...
Instance "calog", status READY, has 1 handler(s) for this service...
The command completed successfully
看来确实是ok的,只是不知道Service "lote" has 1 instance(s).
Instance "lote", status BLOCKED, has 1 handler(s) for this service...
是因为什么??
[oracle@dba ~]$ rman catalog rman/rman target sys/oracle@lote
Recovery Manager: Release 11.2.0.4.0 - Production on Fri Feb 6 16:34:04 2015
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12154: TNS:could not resolve the connect identifier specified
在此表示感谢maclean的帮助指导。。。 |
|