oracle initialization or shutdown in progress

来源:互联网 发布:软件过程管理认识 编辑:程序博客网 时间:2024/05/21 17:20
C:\Users\bert>sqlplus scott/tiger

SQL*Plus: Release 11.2.0.1.0 Production on 星期五 7月 24 10:47:14 2015

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
进程 ID: 0
会话 ID: 0 序列号: 0


请输入用户名:  sys / as sysdba;
SP2-0306: 选项无效。
用法: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM}] [edition=value]]
其中 <logon> ::= <username>[/<password>][@<connect_identifier>]
      <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]
请输入用户名:
ERROR:
ORA-01017: 用户名/口令无效; 登录被拒绝


SP2-0157: 在 3 次尝试之后无法连接到 ORACLE, 退出 SQL*Plus

C:\Users\bert>sqlplus / as sysdba;

SQL*Plus: Release 11.2.0.1.0 Production on 星期五 7月 24 10:47:44 2015

Copyright (c) 1982, 2010, Oracle.  All rights reserved.


连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> startup;
ORA-01081: 无法启动已在运行的 ORACLE - 请首先关闭它
SQL> shutdown normal;
ORA-01109: 数据库未打开


已经卸载数据库。
ORACLE 例程已经关闭。
SQL>
SQL> startup;
ORACLE 例程已经启动。

Total System Global Area 1686925312 bytes
Fixed Size                  2176368 bytes
Variable Size            1056967312 bytes
Database Buffers          620756992 bytes
Redo Buffers                7024640 bytes
数据库装载完毕。
ORA-01157: 无法标识/锁定数据文件 6 - 请参阅 DBWR 跟踪文件

我把 这个文件删除后,再次用Scott,system用户登录,报错 'E:\ACCP Y2\ORACLE\CHAPTER02\WORKTBS.DBF'

ORA-01110: 数据文件 6: 'E:\ACCP Y2\ORACLE\CHAPTER02\WORKTBS.DBF'



SQL> alter database datafile 6 offline drop;

数据库已更改。

SQL> shutdown normal;
ORA-01109: 数据库未打开


已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup;
ORACLE 例程已经启动。

Total System Global Area 1686925312 bytes
Fixed Size                  2176368 bytes
Variable Size            1056967312 bytes
Database Buffers          620756992 bytes
Redo Buffers                7024640 bytes
数据库装载完毕。
数据库已经打开。
SQL>
SQL> conn scott/tiger;
已连接。
SQL>

0 0
原创粉丝点击