EM13c OMS安装报错

前段时间,某客户想安装一套EM13c,在安装的过程中遇到一些错误,记录之。

在OMS初始化的过程中报错,错误日志如下所示。

INFO: oracle.sysman.top.oms:COMMAND: /u01/app/em13c/oms/bin/omsca NEW -RESPONSE-FILE=/u01/app/em13c/oms/omsarespfile...

 

INFO: oracle.sysman.top.oms:Error occured during initialization of VM

INFO: oracle.sysman.top.oms:Error Could not create the java Virtual Machine

INFO: oracle.sysman.top.oms:Error A fatal exception has occurred Program will exit

INFO: oracle.sysman.top.oms:Error Could not reserve enough space for object heap

 

看着像是JVM的问题,搜索MOS网站,发现EM 12c Agent Deployment Fails With Error "Error occurred during initialization of VM" (Doc ID 1488163.1),这篇文章中提到需要设置JAVA的变量。

export _JAVA_OPTIONS="-Xms256m -Xmx512m"

export EM_COMMON_JAVA_OPTIONS="-Xms256m -Xmx512m"

虽然这篇文章是基于EM 12c的,但应该也差不多,所以尝试了下。

 

在当前环境设置该环境变量,清理了当前环境后, 并重新安装,果然不再报错,EM13c顺利安装完成。

 

posted @ 2021-03-07 09:52  石云华  阅读(310)  评论(0编辑  收藏  举报