GridControl 11gR1 在Linux安装遇到的问题

发布时间:2020-08-09 14:45:37 作者:event_horizon
来源:ITPUB博客 阅读:125
OS: Linux 5.3
问题1安装GridControl时“Middleware Home Location”不能自动显示已安装的weblogic的目录,即使手工输入也报错“ORACLE_MIDDLE_HOME_LOCATION是无效的目录”
  解决:检查/etc/hosts中
              127.0.0.1  localhost.localdomain localhost   hostname  --这里需要把hostname去掉
               192.168.3.20        hostname
 
问题2:安装界面输入密码时,密码框无法输入
   解决:在root用户下执行
                yum remove scim
                 reboot
 
问题3:dbca创建repository db后,安装Gridcontrol报repository已经存在dbconsole
   解决:dbca创建DB时,不选择general purpose,而是使用custom,之后可以自行选择安装的组件,在组件中不要选择enterprise manager repository
 
问题4:Gridcontrol在OMS configuration (omsca)时报oms secure failed
    解决:metalink上一直说这是因为weblogic没有安装10.3.2版本的问题,但本次安装使用的版本是正确的,还是遇到了这个问题。干脆重装,但安装时对
                allow only secure agent to communicate with the oms
                allow only secure access to the console 都不勾选,安装成功。
     不知道是不是确实解决了这个问题
 
问题5:Gridcontrol在以往版本中可以自行安装DB,所以启动时自动启动DB & OMS,但11g中必须单独安装DB,DB就不会自动启动。这样系统自动启动oms就会失败。
    解决:参见[ID 735441.1]
DB, OMS, Agent自动启动的脚本如下:
  • <<DB_HOME>>/install/unix/scripts/seedstup
  • <<OMS_HOME>>/install/unix/scripts/omsstup
  • <<AGENT_HOME>>/install/unix/scripts/agentstup
    如果使用existing DB, seedstup需要手工创建,文件内容如下:
    #!/bin/sh
    #Script. to start and stop the Listener and Database during shutdown and restart of the machine

    function dbop
    {
    todo=$1
    case $todo in

    startup)
    $ORACLE_HOME/bin/lsnrctl start
    $ORACLE_HOME/bin/sqlplus '/as sysdba'<<- _START_DB
    startup;
    exit;
    _START_DB
    ;;

    shutdown)

    $ORACLE_HOME/bin/lsnrctl stop;
    $ORACLE_HOME/bin/sqlplus '/as sysdba'<<- _STOP_DB
    shutdown immediate;
    exit;
    _STOP_DB
    ;;

    *)
    echo $"Usage: $0 {start|stop}";
    exit 1;
    esac

    }

    export ORACLE_HOME=<<ORACLE_HOME_PATH>>
    user=<<OS_user_that_owns_the_installation>>
    export ORACLE_SID=<<repository database SID>>
    SU=/bin/su

    if [ $# -gt 1 ]; then
    dbop $2
    export -n ORACLE_HOME
    export -n ORACLE_SID
    exit
    fi

    case "$1" in
    start)
    $SU $user -c "$ORACLE_HOME/install/unix/scripts/seedstup $1 startup"
    ;;
    stop)
    $SU $user -c "$ORACLE_HOME/install/unix/scripts/seedstup $1 shutdown"
    ;;
    *)
    echo $"Usage: $0 {start|stop}";
    exit 1;
    esac

    export -n ORACLE_HOME
    export -n ORACLE_SID
  • 之后修改/etc/rc.d/init.d/gcstartup中加入DB启动的脚本
    if [ -f <<DB_HOME>>/install/unix/scripts/seedstup ]; then
    . <DB_HOME>/install/unix/scripts/seedstup
    fi


    问题6:启动linux时sendmail启动很慢

     解决:/etc/hosts中加入 IP  hostname  hostname.domain 

           Domain从/etc/resolve.conf中查的。
      如果没有加hostname.domain,启动时会自动根据hostname和resole.conf中的domain拼成机器名,并直到timeout才退出

  •                
    推荐阅读:
    1. 微信小程序云开发之数据库操作
    2. python print出共轭复数的方法详解

    免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

    11gr1 gridcontrol linux

    上一篇:QApplication类参考

    下一篇:三维数字雕刻软件Pixologic Zbrush 2019 Mac

    相关阅读

    您好,登录后才能下订单哦!

    密码登录
    登录注册
    其他方式登录
    点击 登录注册 即表示同意《亿速云用户服务条款》