解决12c安装过程中的各种报错


【详细内容请点击http://www.dbstyle.net/?p=993地址】
Oracle Database 12c 推出不久,看到很多人已经完成了安装测试。但是基本上都是使用“Create and configure a database”中的“Typical install”来完成安装,而没有人使用“Install database software only”中的”Advanced Mode”安装方法。尝试了一下高级安装方法,有一些报错发生,这可能就是大家都没有选择高级安装方法的原因吧。经过尝试,解决了所有报错,分析如下:
1.第一个报错,发生在7%,如图:
查看日志$ORACLE_BASE/cfgtoollogs/dbca//trace.log可以看到如下报错表示 /u01/app/oracle/product/12.1.0/dbhome_1/perl/bin/perl 这个执行文件有问题,于是手工执行一下,果然不行。执行安装时的命令也一样会报错。看来是oracle自带的这个perl不完整所致,于是用系统的perl替换oracle自带的perl报错解决2.第二个报错,发生在16%,如图:
查看日志$ORACLE_BASE/cfgtoollogs/dbca//trace.log可以看到如下报错:因为已经替换了perl文件应该不会再是perl原因导致了。于是进一步查看 $ORACLE_BASE/cfgtoollogs/dbca//initjvm0.log 日志,看到如下报错:受到MOS的启发(见附录),应该是 $O免费云主机域名RACLE_HOME/javavm/admin/ 中找不到classes.bin文件,于是创建到oracle自带jdk6的软链接,如下:注意:不要链接jdk7的classes.bin,否则会报错最终,报错解决,完成安装。
【总结】1.安装时,选择“Install database software only”中的”Advanced Mode”安装方法。2.内存一定要给到2G左右,内存不足时,安装时会报各种错误。3.为什么会有如此的报错呢?应该是oracle自己的原因。

【附录】Check ORA$ENV to resolve “ORA-22288 Executing initjvm.sql on z/OS” (Doc ID 143773.1)Problem Description——————-When executing the create or replace java system command in initjvm scripton z/OS the following message appears without a specific file name:ORA-22288: file or LOB operation FILEOPEN failed(NO DATA)Solution Description——————–The cause of this message is that JDK(classes.bin file) cannot be accessed.If the following message is displayed displayed in the Database joblogIKJ56228I PATH /frsup/EMEA/10g/V10202/javavm/admin/classes.bin NOT IN CATALOG ORCATALOG CAN NOT BE ACCESSEDThen, check that ORACLE_HOME is inside ORA$ENV file. E.G://EPS9 PROC//*—————————————————————-*//*—————————————————————-*//IEFPROC EXEC PGM=ORARASC,REGION=0M//STEPLIB DD DISP=SHR,DSN=EMEASUP.V10202.FIXTAPE.B5225799.AUTHLOAD// DD DISP=SHR,DSN=EMEASUP.V10202.AUTHLOAD//ORA$LIB DD DISP=SHR,DSN=EMEASUP.V10202.MESG//SQLBSQ DD DISP=SHR,DSN=EMEASUP.V10202.SQL(SQLBSQ)//*//ORA$FPS DD DISP=SHR,DSN=EMEASUP.EPS9.PARMLIB(EPS9FPS)//ORA$ENV DD *ORACLE_HOME=’/support/EMEA/10g/V10202′//INITORA DD DISP=SHR,DSN=EMEASUP.EPS9.PARMLIB(INITORA)If the ORACLE_HOME is correct, then check the permissions to access the classes.bin file.Go to omvs either by rlogin, telnet or executing command ‘tso omvs’.Then execute ls command$ ls – $ORACLE_HOME/javavm/admin-rw-rw-r– 1 AJONES EMEASUP 63106160 Jan 25 2006 classes.bin See Note 261070.1 ORA-22288 when running SIDJD01/initjvm, for other potentialsolutions for JDK(classes.bin) access issues.Explanation———–The create or replace java system command is executed in the Oracle Database address spaceand calls the Java Virtual Machine installed in Unix Services.To call the JVM, access to the JDK(classes.bin file) is required.The directory where the JDK is installed is indicated in the ORACLE_HOME variablein Unix Services.The Oracle Database address space checks the ORACLE_HOME variableincluded in DD card ORA$ENV to find out where the directory is.If the value of this variable is wrong or permissions to the directory or file arewrong, the Database cannot read the JDK.

相关推荐: Redis中如何使用set类型

本篇文章给大家分享的是有关Redis中如何使用set类型,小编觉得挺实用的,因此分享给大家学习,希望大家阅读完这篇文章后可以有所收获,话不多说,跟着小编一起来看看吧。 set是string类型的无序集合。通过hash table实现。sadd:向名称为key的…

免责声明:本站发布的图片视频文字,以转载和分享为主,文章观点不代表本站立场,本站不承担相关法律责任;如果涉及侵权请联系邮箱:360163164@qq.com举报,并提供相关证据,经查实将立刻删除涉嫌侵权内容。

(0)
打赏 微信扫一扫 微信扫一扫
上一篇 01/20 20:01
下一篇 01/20 20:11