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

     

  • 相关阅读:
    Python 函数与函数式编程
    Python 字符编码与转码
    Python 读写txt文件操作
    两阶段事务总结
    MPPDB集群高可用设计
    MPPDB中的各个组件
    IntelliJ IDEA2016学习小结
    mysql免安装版配置
    理想的智能机
    java对象的大小
  • 原文地址:https://www.cnblogs.com/missyou-shiyh/p/14493617.html
Copyright © 2020-2023  润新知