Database 一直在进行oracle初始化或关机。有了这个,我就可以解决这个问题了。但我的em服务仍然没有启动,我无法在web上访问它。请确保所有Oracle服务都已启用。查看此处了解更多信息>我尝试了很多方法。。最后,它放弃了说“发生了一个特定于服务的错误:2”,没有
Database 一直在进行oracle初始化或关机。有了这个,我就可以解决这个问题了。但我的em服务仍然没有启动,我无法在web上访问它。请确保所有Oracle服务都已启用。查看此处了解更多信息>我尝试了很多方法。。最后,它放弃了说“发生了一个特定于服务的错误:2”,没有,database,oracle,Database,Oracle,一直在进行oracle初始化或关机。有了这个,我就可以解决这个问题了。但我的em服务仍然没有启动,我无法在web上访问它。请确保所有Oracle服务都已启用。查看此处了解更多信息>我尝试了很多方法。。最后,它放弃了说“发生了一个特定于服务的错误:2”,没有给出任何额外的错误。在尝试了这么多解决方案之后,第二个解决方案对我来说非常有效!非常感谢你。只是一个提示,最后一部分。。REDO{O-大写字母}0{0-零数}3.LOGI在Oracle12c-ORA-00742中也遇到类似问题:日志读取检测到线
一直在进行oracle初始化或关机。有了这个,我就可以解决这个问题了。但我的em服务仍然没有启动,我无法在web上访问它。请确保所有Oracle服务都已启用。查看此处了解更多信息>我尝试了很多方法。。最后,它放弃了说“发生了一个特定于服务的错误:2”,没有给出任何额外的错误。在尝试了这么多解决方案之后,第二个解决方案对我来说非常有效!非常感谢你。只是一个提示,最后一部分。。REDO{O-大写字母}0{0-零数}3.LOGI在Oracle12c-ORA-00742中也遇到类似问题:日志读取检测到线程1序列中的写丢失。。。谢谢,成功了。我在可插拔数据库方面也遇到了同样的问题,尽管我使用了以下解决方案:对于Oracle初学者来说,这是一个非常有用的答案,因为它提到了可插拔数据库。它完美无瑕,否则要花上几个小时才能找到。其他答案对我来说都不管用,但这很有魅力。谢谢。这个解决方案解决了我在学习教程时遇到的问题。其他解决方案都没有解决问题。谢谢。它起作用了。因为我的可插拔数据库与Oracle 12.2.0不同,所以我使用的是“ALTERPluggable database pdborcl open read write;”
SQL> startup mount
ORACLE Instance started
SQL> recover database
Media recovery complete
SQL> alter database open;
Database altered
SQL> Startup mount
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown abort
ORACLE instance shut down.
SQL>
SQL> startup mount
ORACLE instance started.
Total System Global Area 1904054272 bytes
Fixed Size 2404024 bytes
Variable Size 570425672 bytes
Database Buffers 1325400064 bytes
Redo Buffers 5824512 bytes
Database mounted.
SQL> Show parameter control_files
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
control_files string C:\APP\USER\ORADATA\ORACLEDB\C
ONTROL01.CTL, C:\APP\USER\FAST
_RECOVERY_AREA\ORACLEDB\CONTRO
L02.CTL
SQL> select a.member,a.group#,b.status from v$logfile a ,v$log b where a.group#=
b.group# and b.status='CURRENT'
2
SQL> select a.member,a.group#,b.status from v$logfile a ,v$log b where a.group#=
b.group# and b.status='CURRENT';
MEMBER
--------------------------------------------------------------------------------
GROUP# STATUS
---------- ----------------
C:\APP\USER\ORADATA\ORACLEDB\REDO03.LOG
3 CURRENT
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 1904054272 bytes
Fixed Size 2404024 bytes
Variable Size 570425672 bytes
Database Buffers 1325400064 bytes
Redo Buffers 5824512 bytes
Database mounted.
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 4234808 generated at 01/21/2014 18:31:05 needed for thread 1
ORA-00289: suggestion :
C:\APP\USER\FAST_RECOVERY_AREA\ORACLEDB\ARCHIVELOG\2014_01_22\O1_MF_1_108_%U_.AR
C
ORA-00280: change 4234808 for thread 1 is in sequence #108
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
C:\APP\USER\ORADATA\ORACLEDB\REDO03.LOG
Log applied.
Media recovery complete.
SQL> alter database open resetlogs;
Database altered.
C:\>sqlplus sys/sys as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Tue Apr 30 19:07:16 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 778387456 bytes
Fixed Size 1384856 bytes
Variable Size 520097384 bytes
Database Buffers 251658240 bytes
Redo Buffers 5246976 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 11 – see DBWR trace file
ORA-01110: data file 16: 'E:\oracle\app\nimish.garg\oradata\orcl\test_ts.dbf'
SQL> select NAME from v$datafile where file#=16;
NAME
--------------------------------------------------------------------------------
E:\ORACLE\APP\NIMISH.GARG\ORADATA\ORCL\TEST_TS.DBF
SQL> alter database datafile 16 OFFLINE DROP;
Database altered.
SQL> alter database open;
Database altered.
sqlplus SYS/Oracle_1@pdborcl AS SYSDBA
alter pluggable database pdborcl open read write;
sqlplus hr/hr@pdborcl
$ sqlplus / sysdba
SQL> startup
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 8628936 bytes
Variable Size 624952632 bytes
Database Buffers 436207616 bytes
Redo Buffers 3952640 bytes
Database mounted.
Database opened.
SQL> conn user/pass123
Connected.