C:/Documents and Settings/Administrator>sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on 星期二 3月 8 14:44:11 2011
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
连接到:Oracle9i Enterprise Edition Release 9.2.0.1.0 - ProductionWith the Partitioning, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.1.0 - Production
SQL> quit;从Oracle9i Enterprise Edition Release 9.2.0.1.0 - ProductionWith the Partitioning, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.1.0 - Production中断开
C:/Documents and Settings/Administrator>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on 星期二 3月 8 14:44:42 2011
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn sys/admin@lyxydb@172.30.78.2 as sysdba;ERROR:ORA-12154: TNS: 无法处理服务名
SQL> conn sys/admin@lyxydb_172.30.78.2 as sysdba;ERROR:ORA-12154: TNS: 无法处理服务名
SQL> conn sys/admin@lyxtdb_172.30.78.2 as sysdba;已连接。SQL> quit;从Oracle9i Enterprise Edition Release 9.2.0.1.0 - ProductionWith the Partitioning, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.1.0 - Production中断开
C:/Documents and Settings/Administrator>C:/Documents and Settings/Administrator>C:/Documents and Settings/Administrator>sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on 星期二 3月 8 14:46:08 2011
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
连接到:Oracle9i Enterprise Edition Release 9.2.0.1.0 - ProductionWith the Partitioning, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.1.0 - Production
SQL> shutdown immediateORA-01109: 数据库未打开
已经卸载数据库。ORACLE 例程已经关闭。SQL> startupORACLE 例程已经启动。
Total System Global Area 128523084 bytesFixed Size 453452 bytesVariable Size 109051904 bytesDatabase Buffers 16777216 bytesRedo Buffers 2240512 bytes数据库装载完毕。ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项
SQL> startup noresetlogsSP2-0714: 无效的 STARTUP 选项组合SQL> alert dabatase open noresetlogsSP2-0734: 未知的命令开头 "alert daba..." - 忽略了剩余的行。SQL> alter dabatase open noresetlogs 2 ;alter dabatase open noresetlogs *ERROR 位于第 1 行:ORA-00940: 无效的 ALTER 命令
SQL> alter database open noresetlogs;alter database open noresetlogs*ERROR 位于第 1 行:ORA-01588: 要打开数据库则必须使用 RESETLOGS 选项
SQL> alter database open resetlogs;alter database open resetlogs*ERROR 位于第 1 行:ORA-01194: 文件1需要更多的恢复来保持一致性ORA-01110: 数据文件 1: 'D:/ORACLE/ORADATA/LYXTDB/SYSTEM01.DBF'
SQL> alter database datafile 'D:/oracle/oradata/lyxtdb/system01.DBF' offline drop;
数据库已更改。
SQL> shutdown immediateORA-01109: 数据库未打开
已经卸载数据库。ORACLE 例程已经关闭。SQL> alter database open resetlogs;alter database open resetlogs*ERROR 位于第 1 行:ORA-01034: ORACLE not available
SQL> startupORACLE 例程已经启动。
Total System Global Area 128523084 bytesFixed Size 453452 bytesVariable Size 109051904 bytesDatabase Buffers 16777216 bytesRedo Buffers 2240512 bytes数据库装载完毕。ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项
SQL> start open resetlogs;SP2-0310: 无法打开文件"open.sql"SQL>SQL> start open noresetlogs;SP2-0310: 无法打开文件"open.sql"SQL> quit;从Oracle9i Enterprise Edition Release 9.2.0.1.0 - ProductionWith the Partitioning, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.1.0 - Production中断开
C:/Documents and Settings/Administrator>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on 星期二 3月 8 14:55:57 2011
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> quit;
C:/Documents and Settings/Administrator>d:
D:/>cd D:/oracle/ora92/rdbms/demo/lobs/plsql
D:/oracle/ora92/rdbms/demo/lobs/plsql>sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on 星期二 3月 8 15:02:38 2011
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
连接到:Oracle9i Enterprise Edition Release 9.2.0.1.0 - ProductionWith the Partitioning, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.1.0 - Production
SQL> shutdown immediateORA-01109: 数据库未打开
已经卸载数据库。ORACLE 例程已经关闭。SQL> startupORACLE 例程已经启动。
Total System Global Area 128523084 bytesFixed Size 453452 bytesVariable Size 109051904 bytesDatabase Buffers 16777216 bytesRedo Buffers 2240512 bytes数据库装载完毕。ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项
SQL> alter database open resetlogs;alter database open resetlogs*ERROR 位于第 1 行:ORA-01245: RESETLOGS 完成时脱机文件1将丢失ORA-01110: 数据文件 1: 'D:/ORACLE/ORADATA/LYXTDB/SYSTEM01.DBF'
SQL> alter database datafile '/data1/oradata/ora9i/undotbs01.dbf' online 2 ;alter database datafile '/data1/oradata/ora9i/undotbs01.dbf' online*ERROR 位于第 1 行:ORA-01516: 不存在的日志文件, 数据文件或临时文件'/data1/oradata/ora9i/undotbs01.dbf'
SQL> alter database datafile 'D:/oracle/oradata/lyxtdb/system01.DBF' online;
数据库已更改。
SQL> alter database open resetlogs;alter database open resetlogs*ERROR 位于第 1 行:ORA-01194: 文件1需要更多的恢复来保持一致性ORA-01110: 数据文件 1: 'D:/ORACLE/ORADATA/LYXTDB/SYSTEM01.DBF'
SQL> startupORA-01081: 无法启动已在运行的 ORACLE --- 请首先关闭SQL> shutdown immediateORA-01109: 数据库未打开
已经卸载数据库。ORACLE 例程已经关闭。SQL>SQL>SQL>SQL> startupORACLE 例程已经启动。
Total System Global Area 128523084 bytesFixed Size 453452 bytesVariable Size 109051904 bytesDatabase Buffers 16777216 bytesRedo Buffers 2240512 bytes数据库装载完毕。ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项
SQL> alter database open resetlogs;alter database open resetlogs*ERROR 位于第 1 行:ORA-01194: 文件1需要更多的恢复来保持一致性ORA-01110: 数据文件 1: 'D:/ORACLE/ORADATA/LYXTDB/SYSTEM01.DBF'
SQL> alter system set _allow_resetlogs_corruption=TRUE;alter system set _allow_resetlogs_corruption=TRUE *ERROR 位于第 1 行:ORA-00911: 无效字符
SQL> shutdown immediateORA-01109: 数据库未打开
已经卸载数据库。ORACLE 例程已经关闭。SQL> create pfile='D:/ORACLE/ORADATA/ora_lyxtdb.ora' from spfile;
文件已创建。
SQL> startup pfile='D:/ORACLE/ORADATA/ora_lyxtdb.ora';ORACLE 例程已经启动。
Total System Global Area 128523084 bytesFixed Size 453452 bytesVariable Size 109051904 bytesDatabase Buffers 16777216 bytesRedo Buffers 2240512 bytes数据库装载完毕。ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项
SQL> alter database open resetlogs;
数据库已更改。
SQL> shutdown immediate数据库已经关闭。已经卸载数据库。ORACLE 例程已经关闭。SQL> startupORACLE 例程已经启动。
Total System Global Area 128523084 bytesFixed Size 453452 bytesVariable Size 109051904 bytesDatabase Buffers 16777216 bytesRedo Buffers 2240512 bytes数据库装载完毕。数据库已经打开。SQL> quit;从Oracle9i Enterprise Edition Release 9.2.0.1.0 - ProductionWith the Partitioning, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.1.0 - Production中断开
D:/oracle/ora92/rdbms/demo/lobs/plsql>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on 星期二 3月 8 15:26:28 2011
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn lyjj0830/