ora-12528 故障的解决办法

一次ora-12528 故障的解决办法
2010-09-28 15:03

在clinet连接数据库时为提示:
ora-12528 : message 12528 not found; product=RDBMS ; facility=ora

解决办法:

(-):

先连接到实例t1cdp1,然后shutdown abort,接着startup nomount(忘记了接下来是否执行了alter database mount),此时就退出了登陆,再次尝试登陆的时候就报错:
SQL> conn iat/welcome@t1cdp1
ERROR:
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
1. cmd下面输入lsnrctl,查看当前实例所有监听器的状态
C:\>lsnrctl
LSNRCTL for 32-bit Windows: Version 10.2.0.3.0 - Production on 20-JUN-2010 22:49:13
Copyright (c) 1991, 2006,  Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.3.0 - Production
Start Date                30-APR-2010 14:37:44
Uptime                    51 days 8 hr. 11 min. 32 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Listener Log File         C:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SupplyChainRel3.corp.walmart.com)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "T1CDP1_XPT" has 1 instance(s).
Instance "t1cdp1", status BLOCKED, has 1 handler(s) for this service...
Service "T1FMSP2XDB" has 1 instance(s).
Instance "t1fmsp2", status READY, has 1 handler(s) for this service...
Service "T1FMSP2_XPT" has 1 instance(s).
Instance "t1fmsp2", status READY, has 1 handler(s) for this service...
Service "T1PINVS1XDB" has 1 instance(s).
Instance "t1pinvs1", status READY, has 1 handler(s) for this service...
Service "T1PINVS1_XPT" has 1 instance(s).
Instance "t1pinvs1", status READY, has 1 handler(s) for this service...
Service "T1PPROD_XPT" has 1 instance(s).
Instance "t1pprod", status BLOCKED, has 1 handler(s) for this service...
Service "t1cdp1" has 1 instance(s).
Instance "t1cdp1", status BLOCKED, has 1 handler(s) for this service...
Service "t1fmsp2" has 1 instance(s).
Instance "t1fmsp2", status READY, has 1 handler(s) for this service...
Service "t1pinvs1" has 1 instance(s).
Instance "t1pinvs1", status READY, has 1 handler(s) for this service...
Service "t1pprod" has 1 instance(s).
Instance "t1pprod", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
可以发现instance t1cdp1是blocked的状态(不知道 T1CDP1_XPT这个后缀是什么意思),
此时可以确定是监听器出错了。
2. 以sysdba身份登录 sqlplus \ as sysdba
查看发现当前状态为nomount(找到问题根源了).接下来加载 数据库
alter dababase mount;
alter database open;
3. 此时再次尝试连接数据库,成功登陆
SQL> conn iat/welcome@t1cdp1
Connected.

小结:其实碰到这种错误,可以直接通过sqlplus \ as sysdba进入查看instance状态,而是用lsnrctl则是为了进一步验证而已。

方法(二)

关闭数据数据库,重新启动数据库即可。重新启动监听。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值