在macbook上通过parallels虚拟机全新安装windows操作系统,下载oracle官方的oracle12安装包后,解压安装。如果只安装数据库软件,能顺利通过。如果开始配置数据库软件则在dbca 2%出现“ORA-12560”错误提示。尝试换用visualbox出现相同的情况。
cfgtoollog目录下的安装日志出现如下如下日志信息:
[Thread-34] [ 2016-05-18 16:12:05.374 PDT ] [CloneRmanRestoreStep.executeImpl:523] ORA-12560: TNS:protocol adapter error
oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1739)
oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:987)
oracle.sysman.assistants.dbca.backend.CloneRmanRestoreStep.executeImpl(CloneRmanRestoreStep.java:305)
oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:259)
oracle.sysman.assistants.util.step.Step.execute(Step.java:135)
oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2883)
java.lang.Thread.run(Thread.java:682)
[Thread-34] [ 2016-05-18 16:12:05.374 PDT ] [BasicStep.configureSettings:353] messageHandler being set=oracle.sysman.assistants.util.InteractiveMessageHandler@d50112d
解决方案:
https://www.weibo.com/3947179669/Ges5NmlrH?type=comment#_rnd1554994826258