默认我们安装的时候都是: ./runInstaller 也就是直接运行安装文件,但是这种默认安装的方式就会出现上述错误,为了避免上述情况出现可以通过指定参数安装:
./runInstaller -jreLoc /usr/lib/jvm/jre-1.8.0
解决方法:
在makefile中添加链接libnnz11库的参数
修改/app/data/oracle/product/11g/sysman/lib/ins_emagent.mk文件
将:$(MK_EMAGENT_NMECTL)修改为:$(MK_EMAGENT_NMECTL) -lnnz11
然后点击Retry继续安装,就可以安装成功了
centos7 pmap 要加上-p 参数才能看到完整路径
安装root.sh脚本时,报错,
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow:
2016-01-01 02:14:46.806:
[client(11401)]CRS-2101:The OLR was formatted using version 3.
2016-01-01 02:14:49.572:
[client(11424)]CRS-1001:The OCR was formatted using version 3.
查相关资料需安装补丁包18370031,参考下面链接:
https://fatdba.com/2016/01/06/oracle-gi-11-2-installation-on-rhel-7-error-ohasd-failed-to-start-failed-to-start-the-clusterware-last-20-lines-of-the-alert-log-follow-ohasd-failed-to-start-at-u01app11-2-0gridcrsinstallr/
安装补丁后,执行ROOT.SH
[oracle@localhost bin]$ ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.cssd ora.cssd.type OFFLINE OFFLINE
ora.diskmon ora....on.type OFFLINE OFFLINE
ora.evmd ora.evm.type ONLINE ONLINE localhost
ora.ons ora.ons.type OFFLINE OFFLINE
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10815375/viewspace-2151684/ ,如需转载,请注明出处,否则将追究法律责任。