• oracle linux 7.3上安装11.2.0.4单实例,GI执行root.sh失败


    在oracle linux 7.3上安装11.2.0.4单实例,GI执行root.sh失败。

    ALERT LOG 
    -------------- 
    Filename=roothas.log 

    >End Command output 
    2018-01-16 08:56:18: itab entries=cssd|evmd|crsd|ohasd 
    2018-01-16 08:56:18: Executing /sbin/init q 
    2018-01-16 08:56:18: Executing cmd: /sbin/init q 
    2018-01-16 08:56:23: Created backup /etc/inittab.no_crs 
    2018-01-16 08:56:23: Appending to /etc/inittab.tmp: 
    2018-01-16 08:56:23: h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null 

    2018-01-16 08:56:23: Done updating /etc/inittab.tmp 
    2018-01-16 08:56:23: Saved /etc/inittab.crs 
    2018-01-16 08:56:23: Installed new /etc/inittab 
    2018-01-16 08:56:23: Executing /sbin/init q 
    2018-01-16 08:56:23: Executing cmd: /sbin/init q 
    2018-01-16 08:56:24: Executing cmd: /u01/app/11.2.0.4/grid/bin/crsctl start has 
    2018-01-16 08:58:24: Command output: 
    > CRS-4124: Oracle High Availability Services startup failed. 
    > CRS-4000: Command Start failed, or completed with errors. 
    >End Command output 
    2018-01-16 08:58:24: Executing /etc/init.d/ohasd install 
    2018-01-16 08:58:24: Executing cmd: /etc/init.d/ohasd install 
    2018-01-16 08:58:24: ohasd failed to start 
    2018-01-16 08:58:24: ohasd failed to start 
    2018-01-16 08:58:24: Alert log is /u01/app/11.2.0.4/grid/log/lxtepoods1/alertlxtepoods1.log 
    2018-01-16 08:58:24: Failed to start service 'ohasd' 
    2018-01-16 08:58:24: ###### Begin DIE Stack Trace ###### 
    2018-01-16 08:58:24: Package File Line Calling 
    2018-01-16 08:58:24: --------------- -------------------- ---- ---------- 
    2018-01-16 08:58:24: 1: main roothas.pl 217 crsconfig_lib::dietrap 
    2018-01-16 08:58:24: 2: main roothas.pl 377 main::__ANON__ 

    根据日志可以看到在启动ohasd 时,它使用的是initd 脚本,根据文档 Install of Clusterware fails while running root.sh on OL7 - ohasd fails to start ( Doc ID 1959008.1 ), OL7 开始使用了systemd,所以需要打patch 18370031来解决这个问题。

    参考文档How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation ( Doc ID 942166.1 ), 先deconfig 然后打patch, 再运行root.sh的方法

  • 相关阅读:
    SpringMVC 使用JSR-303进行校验 @Valid
    Hibernate Tools生成注释
    大型网站架构演变和知识体系(转载)
    eclipse从数据库逆向生成Hibernate实体类
    性能测试公众号,欢迎你的加入~
    mysql使用druid监控配置
    (转)面试为什么需要了解JVM
    (转)什么是缓存击穿?
    Mysql推荐使用规范(转)
    java应用监控工具
  • 原文地址:https://www.cnblogs.com/erwadba/p/8567405.html
Copyright © 2020-2023  润新知