zoukankan      html  css  js  c++  java
  • EBS R12 Changing IP

    1.  Stop Apps Tier Service.

       sh stopAPP.sh

    2.  Stop DB Tier Service.

       sh stopDB.sh

    3.  vi /etc/hosts

       192.168.10.100   ebs12vis.oracle.com

    Changing hosts IP.

    4.  /etc/sysconfig/network-scripts/ifcfg-eth0  

      Adress IP: 192.168.10.100

                 255.255.255.0

      Chaning IP.

    5.  network service restart.

    6.  su oracle      

       sh startDB.sh

       Sart DB Tier Service.

    7.  cd /d01/applmgr/VIS/inst/apps/VIS_ebs12vis/admin/scripts/

       sh adautocfg.sh

    8.  su applmgr 

       sh startAPP.sh

       Start Apps Tier Service.

     

     

     

    metalink上说:

    Changes
    A change has taken place at the network level since you last started this OC4J instance
    Cause
    The OC4J lock files contains the IP adress, after the ip adress change the lock files includes the wrong Ip  adress which caused the OJ4J to fail

    Solution
    1 - Be sure to have a valid Backup
    2 - open a new shell and set your apps environment
    3 - cd <ADMIN_SCRIPTS_HOME>
    4 - adopmnctl.sh stop or adopmnctl.cmd stop for windows

    5 - check if it is really down: ps -ef | grep <USER> grep opm for windows check if all java.exe processes are gone.

    6 - delete the following:

    rm -fr $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/*
    rm -fr $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/*
    rm -fr $INST_TOP/ora/10.1.3/j2ee/forms/persistence/*


    for windows

    rm -fr %INST_TOP%\ora\10.1.3\j2ee\oacore\persistence\*
    rm -fr %INST_TOP%\ora\10.1.3\j2ee\oafm\persistence\*
    rm -fr %INST_TOP%\ora\10.1.3\j2ee\forms\persistence\*

    Use use the explorer validate if they are deleted for windows.

    6 - execute autoconfig at the Application Tier
    7 - start all Applications Services
    8 - check if the issue has been resolved: adapcctl.sh status or for windows adapcctl.cmd status

    ----------------
    查了MetaLinkITpub,问题终于解决了(不过还不是特别明白)
    原因:OC4J LOCK文件内容包含系统的IP,IP改变后LOCK文件中的IP是错误的,从而导致OC4J失败.
    解决:
    1.
    将以下三个文件夹下所有文件删除
    $INST_TOP/ora/10.1.3/j2ee/forms/persistence/
    $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/
    $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/
    2.
    执行adautocfg.sh
    3.
    重新启动,启动的顺序:
    adopmnctl.sh
    adapcctl.sh
    adoacorectl.sh
    adformsctl.sh
    adoafmctl.sh
    adalnctl.sh
    adcmctl.sh   apps/apps
    jtffmctl.sh

    adapcctl.sh
    adoafmctl.sh
    时,还是报错

    跳过,继续执行下面的
    执行完其他的之后,再执行adapcctl.shadoafmctl.sh
    都不报错了,EBS也可以进了。

    据查,如果要更改ebs的域名
    修改机器名后,要再修改$CONTEXT_FILE,目录如下:
    /d01/appl/PROD01/inst/apps/PROD01_ebs12test/appl/admin/PROD01_ebs12test.xml

  • 相关阅读:
    AutoCAD如何移动零件和缩放零件图
    AutoCAD如何输入文字
    AutoCAD如何设置A0A1图纸
    AutoCAD如何批量设置线宽
    AutoCAD如何快速标注零件序号
    AutoCAD如何将dwf转成dwg格式
    AutoCAD参照编辑期间不允许使用 SAVE 命令怎么办
    AutoCAD2004启动时出现fail to get CommcntrController的怎么办
    AutoCAD 样条曲线如何结束
    AutoIt3常见问题解答
  • 原文地址:https://www.cnblogs.com/quanweiru/p/2851020.html
Copyright © 2011-2022 走看看