[英]cannot configure oracle 12c on windows 10
I recently installed Oracle 12c on my system on windows10. 我最近在Windows10的系统上安装了Oracle 12c。 Created an instance with dbca
and named it as orcl
. 使用dbca
创建一个实例,并将其命名为orcl
。
On sqlplus " /as sysdba"
I get connected to an idle instance. 在sqlplus " /as sysdba"
我连接到一个空闲实例。 So I executed startup
. 所以我执行了startup
。
Now I get error 现在我得到错误
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file
'C:\ORACLE12C\12C\PRODUCT\12.2.0\DBHOME_1\DATABASE\INITORCL.ORA'
I checked the path, the Initorcl file does not exist at the path. 我检查了路径,该路径不存在Initorcl文件。
Tried create pfile='path/initorcl.ora' from spfile='path/init.ora'
尝试create pfile='path/initorcl.ora' from spfile='path/init.ora'
but get an error file size mismatch
但出现错误file size mismatch
What is the next step to get this configured? 进行此配置的下一步是什么?
init.ora
is actually your pfile (not spfile). init.ora
实际上是您的pfile(而不是spfile)。 Theoretically you could try startup pfile='path/init.ora';
从理论上讲,您可以尝试startup pfile='path/init.ora';
and that should work. 那应该起作用。
You can either rename init.ora
to initORCL.ora
(not sure if the SID is case sensitive in Windows), or create an spfile from your init.ora
file: 您可以将init.ora
重命名为initORCL.ora
(不确定Windows中的SID是否区分大小写),也可以从init.ora
文件中创建一个spfile:
create spfile='path/spfileORCL.ora' from pfile='path/init.ora'
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.