Home > Database > Mysql Tutorial > body text

Oracle控制文件损坏

WBOY
Release: 2016-06-07 17:35:03
Original
957 people have browsed it

现象是系统无法登录,任何用户都不行,怀疑数据库有问题,进入服务器,运行sqlplus username/password,无法进入数据库,提示输入

现象是系统无法登录,任何用户都不行,怀疑数据库有问题,进入服务器,运行sqlplus  username/password,无法进入数据库,,提示输入用户名。

重启数据库,报控制文件control01.ctl有错,由于Oracle控制文件都是镜像的,因此先试着拷贝control03.ctl 覆盖control01.ctl,提示无法覆盖。

输入命令:sqlplus /  as sysdba进入数据库,用命令shutdown immediate关闭数据库,然后将control01.ctl 重命名为control01.ctl.bak,再拷贝control03.ctl为control01.ctl,启动数据库(命令为startup),OK。

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template