其他分享
首页 > 其他分享> > EM13c OMS安装报错

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顺利安装完成。

 

标签:INFO,oms,EM13c,top,OMS,报错,Error,oracle,sysman
来源: https://www.cnblogs.com/missyou-shiyh/p/14493617.html