zoukankan      html  css  js  c++  java
  • 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顺利安装完成。

     

  • 相关阅读:
    usaco-ariprog1-pass
    usaco-crypt1-pass
    usaco-barn-repair-pass-KISS
    usaco-mixing milk-pass
    面试HR
    LCS求最长公共子序列(DP)
    毕业随想(转载)
    0-1背包问题(DP)
    排序算法
    二叉搜索树的实现 java
  • 原文地址:https://www.cnblogs.com/missyou-shiyh/p/14493617.html
Copyright © 2011-2022 走看看