Bo's Oracle Station

查看: 1737|回复: 2

centos8.2安装oracle12c网格基础架构时,执行脚本报错

[复制链接]

8

主题

13

帖子

56

积分

注册会员

Rank: 2

积分
56
发表于 2020-7-25 16:03:08 | 显示全部楼层 |阅读模式
执行/u01/app/oracle/product/12.1.0/grid/root.sh时报错信息如下:

2020/07/25 14:37:29 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'

2020/07/25 14:39:34 CLSRSC-214: Failed to start the resource 'ohasd'

Failed to start the Clusterware. Last 20 lines of the alert log follow:

2020/07/25 14:39:34 CLSRSC-318: Failed to start Oracle OHASD service

Died at /u01/app/oracle/product/12.1.0/grid/crs/install/crsinstall.pm line 3041.
The command '/u01/app/oracle/product/12.1.0/grid/perl/bin/perl -I/u01/app/oracle/product/12.1.0/grid/perl/lib -I/u01/app/oracle/product/12.1.0/grid/crs/install /u01/app/oracle/product/12.1.0/grid/crs/install/roothas.pl ' execution failed
主机名和网络已经调试完毕,系统内可以ping通主机名并且可以登网页
不知道问题在哪
回复

使用道具 举报

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2020-7-25 23:06:58 | 显示全部楼层
检查一下: getenforce 返回是0吗,如果不是,则:setenforce 0
检查一下:systemctl status firewalld关闭它。
然后执行:
  1. /u01/app/oracle/product/12.1.0/grid/perl/bin/perl -I/u01/app/oracle/product/12.1.0/grid/perl/lib -I/u01/app/oracle/product/12.1.0/grid/crs/uninstall
复制代码


再执行root.sh

前提是:运行操作系统配置脚本的输出中不能报错。还有就是:安装时选择standalone不是第一个选项。如果还不行,在执行root.sh时,把操作系统的/var/log/message日志发过来看下。

或者尝试oracle用户手工启动一下:
  1. .  oraenv
  2. 回答: +ASM
  3. crsctl start has
复制代码



回复 支持 1 反对 0

使用道具 举报

9

主题

16

帖子

123

积分

注册会员

Rank: 2

积分
123
QQ
发表于 2020-7-26 00:28:38 | 显示全部楼层
botang 发表于 2020-7-25 23:06
检查一下: getenforce 返回是0吗,如果不是,则:setenforce 0
检查一下:systemctl status firewalld关 ...

检查一下: getenforce 返回是0吗,如果不是,则:setenforce 0
检查一下:systemctl status firewalld关闭它。

老师一语点醒我了,我安装网格基础架构不成功,原来是我执行完成脚本后重启电脑了,然后再开始安装grid,忘了enforce 重启后就又开启了………………………………

天道酬勤
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-5-2 17:17 , Processed in 0.035155 second(s), 26 queries .

快速回复 返回顶部 返回列表