简体   繁体   English

连接ORA-12528时Oracle 10g xe数据库错误

[英]Oracle 10g xe database error when connecting ORA-12528

I am trying to connect to my local database Oracle 10g XE however i am getting the following error ORA - 12528 . 我正在尝试连接到我的本地数据库Oracle 10g XE但是我收到以下错误ORA - 12528 This connection was working and this issue suddenly arose. 这种联系正在发挥作用,这个问题突然出现了。 I did LSNRCTL status the results are under: 我做了LSNRCTL状态 ,结果如下:

What can i do to resolve this problem? 我该怎么做才能解决这个问题?

Welcome to LSNRCTL, type "help" for information. 欢迎来到LSNRCTL,输入“帮助”获取信息。

LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date                03-JAN-2014 15:37:04
Uptime                    0 days 0 hr. 3 min. 27 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Log File         C:\Development\oracle_xe\app\oracle\product\10.2.0\ser
ver\network\log\listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ITDEV-DARIN)(PORT=1521)))
Services Summary...
Service "XE_XPT" has 1 instance(s).
  Instance "xe", status BLOCKED, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
  Instance "xe", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully

From the error messages manual : 错误消息手册

ORA-12528: TNS:listener: all appropriate instances are blocking new connections ORA-12528:TNS:listener:所有适当的实例都阻止了新的连接
Cause : All instances supporting the service requested by the client reported that they were blocking the new connections. 原因 :支持客户端请求的服务的所有实例都报告他们阻止了新连接。 This condition may be temporary, such as at instance startup. 这种情况可能是暂时的,例如在启动时。
Action : Attempt the connection again. 操作 :再次尝试连接。 If error persists, then contact the administrator to check the status of the instances. 如果错误仍然存​​在,请联系管理员以检查实例的状态。

This isn't really a listener issues - the database appears to unavailable. 这实际上不是一个监听器问题 - 数据库似乎不可用。 You'll need to look at the alert log to see why. 您需要查看警报日志以了解原因。 You could also try to connect locally using SQL*Plus; 您还可以尝试使用SQL * Plus在本地连接; if you try to connect as a normal user it might give some indication (eg an archiver error, maybe), and if you connect as SYS and try to start up you'll probably get an even better idea. 如果您尝试以普通用户身份进行连接,则可能会给出一些指示(例如,可能存在归档错误),如果您以SYS身份连接并尝试启动,则可能会获得更好的想法。 Looking for errors in the alert log might be more direct though. 但是,在警报日志中查找错误可能更直接。

Restart the DB instance as sysdba: run this command: 以sysdba身份重新启动数据库实例:运行以下命令:

sqlplus / as sysdba sqlplus / as sysdba

SQL> shutdown SQL> shutdown

SQL> startup SQL> 启动

In my case the server run out of space so I need to delete some unnecessary files first. 在我的情况下,服务器空间不足,所以我需要先删除一些不必要的文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM