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

     

  • 相关阅读:
    js分页的一些思考
    是时候写个自己的dialog了
    自定义幻灯片
    触屏开发技巧之——左右滑动导航
    影响网页响应的一个小习惯
    一个简单WebApp的全程
    选项卡(一个最常见的网页组件)
    REGEX
    map<虽然一直不喜欢map>但突然觉得挺好用的
    迭代器
  • 原文地址:https://www.cnblogs.com/missyou-shiyh/p/14493617.html
Copyright © 2011-2022 走看看