Heim  >  Artikel  >  Datenbank  >  Oracle sysdba正常登录,其他用户不能登录

Oracle sysdba正常登录,其他用户不能登录

WBOY
WBOYOriginal
2016-06-07 17:10:251538Durchsuche

首先怀疑是有人把数据库设置成了静默模式在服务器上登录数据库,检查状态,发现并不是静默模式尝试使用重启数据库,连接时,提示

今天用户的一个数据库,突然发现客户机都连接不上了。但是使用sysdba用户却可以正常登录;

首先怀疑是有人把数据库设置成了静默模式

在服务器上登录数据库,检查状态,发现并不是静默模式

尝试使用重启数据库,连接时,提示12560错误,果断设置Oracle_SID,即用命令 set ORACLE_SID=XXX

登录后

shutdown immediate;

startup nomount 正常

alter database mount 正常

alter database open

提示有个undo表空间的文件出错,,

使用recover datafile # 修复

然后打开数据库正常了。

问题原因是一个数据文件出错,但是没搞懂是为什么会出现数据文件损坏,记录之

linux

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn