[oracle@gg ~]$ sqlplus
admin/admin@win7
SQL*Plus: Release 11.2.0.2.0 Production on Thu Jul 19 19:37:28 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-01033: ORACLE ????????
Process ID: 0
Session ID: 0 Serial number: 0
ORA-01033: ORACLE ????????
Process ID: 0
Session ID: 0 Serial number: 0
检查win7机器,因为是windows机器所以在服务里启动oracle时候木有提示异常。
先在sqlplus里关闭数据库,再开启看看提示
SQL> shutdown immediate
ORA-01109: 数据库未打开
ORA-01109: 数据库未打开
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 3390558208 bytes
Fixed Size 2180464 bytes
Variable Size 1862273680 bytes
Database Buffers 1509949440 bytes
Redo Buffers 16154624 bytes
数据库装载完毕。
ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项
Fixed Size 2180464 bytes
Variable Size 1862273680 bytes
Database Buffers 1509949440 bytes
Redo Buffers 16154624 bytes
数据库装载完毕。
ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项
原来是昨晚干了些恢复的龌龊事,忘记了resetlogs.
SQL> alter database open resetlogs;
数据库已更改。
重新连接后,就木有看到问题了。
[oracle@gg ~]$ sqlplus
admin/admin@win7
SQL*Plus: Release 11.2.0.2.0 Production on Thu Jul 19 19:53:33 2012
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>
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26839123/viewspace-736107/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26839123/viewspace-736107/