oracle12没有sh用户,oracle linux 7.3上安装12.2.0.1单实例,GI执行root.sh失败

"在安装Oracle 12.2.0.1单实例时遇到问题,GI执行root.sh步骤中启动Oracle High Availability Services (OHASD)失败。错误日志显示CRS-4124和CRS-4000,提示启动失败或存在错误。参考文档提供了工作-around,建议重命名/scls_scr/{nodename}
摘要由CSDN通过智能技术生成

生产环境安装12.2.0.1单实例的时候,在GI执行root.sh失败。

ALERT LOG

--------------

Filename=roothas_2018-03-14_08-44-04AM.log

2018-03-14 08:44:14: Command output:

> ● oracle-ohasd.service - Oracle High Availability Services

> Loaded: loaded (/etc/systemd/system/oracle-ohasd.service; enabled; vendor preset: disabled)

> Active: active (running) since Wed 2018-03-14 08:26:05 CST; 18min ago

> Main PID: 13751 (init.ohasd)

> CGroup: /system.slice/oracle-ohasd.service

> └─13751 /bin/sh /etc/init.d/init.ohasd run >/dev/null 2>&1

>

> Mar 14 08:26:05 lxtrac03.iris.cl.sh.cos systemd[1]: Started Oracle High Availability Services.

> Mar 14 08:26:05 lxtrac03.iris.cl.sh.cos systemd[1]: Starting Oracle High Availability Services...

> Mar 14 08:26:05 lxtrac03.iris.cl.sh.cos su[13788]: (to grid) root on none

>End Command output

........

2018-03-14 08:44:19: Executing cmd: /usr/bin/systemctl start oracle-ohasd.service

2018-03-14 08:44:19: Executing cmd: /u01/app/12.2.0.1/grid/bin/crsctl start has

2018-03-14 08:46:20: Command output:

> CRS-4124: Oracle High Availability Services startup failed.

> CRS-4000: Command Start failed, or completed with errors.

>End Command output

2018-03-14 08:46:20: Executing /etc/init.d/ohasd install

2018-03-14 08:46:20: Executing cmd: /etc/init.d/ohasd install

2018-03-14 08:46:20: Executing cmd: /u01/app/12.2.0.1/grid/bin/clsecho -p has -f clsrsc -m 214 "ohasd"

2018-03-14 08:46:20: Command output:

> CLSRSC-214: Failed to start the resource 'ohasd'

>End Command output

2018-03-14 08:46:20: CLSRSC-214: Failed to start the resource 'ohasd'

2018-03-14 08:46:20: ohasd failed to start

2018-03-14 08:46:20: Alert log is /u01/app/12.2.0.1/grid/log/lxtrac03/alertlxtrac03.log

2018-03-14 08:46:20: Failed to start service 'ohasd'

2018-03-14 08:46:20: Executing cmd: /u01/app/12.2.0.1/grid/bin/clsecho -p has -f clsrsc -m 318

2018-03-14 08:46:20: Command output:

> CLSRSC-318: Failed to start Oracle OHASD service

>End Command output

2018-03-14 08:46:20: CLSRSC-318: Failed to start Oracle OHASD service

2018-03-14 08:46:20: ###### Begin DIE Stack Trace ######

2018-03-14 08:46:20: Package File Line Calling

2018-03-14 08:46:20: --------------- -------------------- ---- ----------

2018-03-14 08:46:20: 1: main roothas.pl 151 crsutils::dietrap

2018-03-14 08:46:20: 2: crsinstall crsinstall.pm 2775 main::__ANON__

2018-03-14 08:46:20: 3: crsinstall crsinstall.pm 1164 crsinstall::start_siha_ohasd

2018-03-14 08:46:20: 4: crsinstall crsinstall.pm 936 crsinstall::config_ohasd_siha

2018-03-14 08:46:20: 5: crsinstall crsinstall.pm 362 crsinstall::HAInstall

2018-03-14 08:46:20: 6: main roothas.pl 260 crsinstall::new

2018-03-14 08:46:20: ####### End DIE Stack Trace #######

2018-03-14 08:46:20: ROOTCRS_STACK checkpoint has failed

参考文档:Oracle Restart: 12.1 grid installation root.sh fails while starting ohasd ( Doc ID 1997268.1 )

解决方法:

================================================================

Workaround:

Rename the directory to root.bak under .../scls_scr/{nodenanme} and re-run root.sh

or

- clean up all directories under .../scls_scr

- clean all directories under /var/tmp/.oracle

- deconfig ohasd as in below example and re-run root.sh

//crs/install/roothas.pl -deconfig -force

./root.sh

================================================================

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值