weixin_37768201
Skye0204
采纳率50%
2019-08-21 11:03

安装oracle11g grid 执行root.sh时一直卡在Adding Clusterware entries to inittab

已采纳

安装oracle11g(11204)grid standalone,在执行root.sh的时候卡在Adding Clusterware entries to inittab一直不动,/tmp/.oracle下面没有文件,查看/oracle/11204/grid_1/home/cfgtoollogs/crsconfig/roothas.log

......
2019-08-21 10:41:28: Executing /oracle/11204/grid_1/home/bin/crsctl create scr grid
2019-08-21 10:41:28: Executing cmd: /oracle/11204/grid_1/home/bin/crsctl create scr grid
2019-08-21 10:41:28: Registering ohasd
2019-08-21 10:41:28: Executing cmd: /bin/rpm -q sles-release
2019-08-21 10:41:28: Command output:

package sles-release is not installed
End Command output
2019-08-21 10:41:28: init file = /oracle/11204/grid_1/home/crs/init/init.ohasd
2019-08-21 10:41:28: Copying file /oracle/11204/grid_1/home/crs/init/init.ohasd to /etc/init.d directory
2019-08-21 10:41:28: Setting init.ohasd permission in /etc/init.d directory
2019-08-21 10:41:28: init file = /oracle/11204/grid_1/home/crs/init/ohasd
2019-08-21 10:41:28: Copying file /oracle/11204/grid_1/home/crs/init/ohasd to /etc/init.d directory
2019-08-21 10:41:28: Setting ohasd permission in /etc/init.d directory
2019-08-21 10:41:28: Executing cmd: /bin/rpm -q sles-release
2019-08-21 10:41:28: Command output:
package sles-release is not installed
End Command output
2019-08-21 10:41:28: Removing "/etc/rc.d/rc3.d/S96ohasd"
2019-08-21 10:41:28: Removing file /etc/rc.d/rc3.d/S96ohasd
2019-08-21 10:41:28: Successfully removed file: /etc/rc.d/rc3.d/S96ohasd
2019-08-21 10:41:28: Creating a link "/etc/rc.d/rc3.d/S96ohasd" pointing to /etc/init.d/ohasd
2019-08-21 10:41:28: Removing "/etc/rc.d/rc5.d/S96ohasd"
2019-08-21 10:41:28: Removing file /etc/rc.d/rc5.d/S96ohasd
2019-08-21 10:41:28: Successfully removed file: /etc/rc.d/rc5.d/S96ohasd
2019-08-21 10:41:28: Creating a link "/etc/rc.d/rc5.d/S96ohasd" pointing to /etc/init.d/ohasd
2019-08-21 10:41:28: Removing "/etc/rc.d/rc0.d/K15ohasd"
2019-08-21 10:41:28: Removing file /etc/rc.d/rc0.d/K15ohasd
2019-08-21 10:41:28: Successfully removed file: /etc/rc.d/rc0.d/K15ohasd
2019-08-21 10:41:28: Creating a link "/etc/rc.d/rc0.d/K15ohasd" pointing to /etc/init.d/ohasd
2019-08-21 10:41:28: Removing "/etc/rc.d/rc1.d/K15ohasd"
2019-08-21 10:41:28: Removing file /etc/rc.d/rc1.d/K15ohasd
2019-08-21 10:41:28: Successfully removed file: /etc/rc.d/rc1.d/K15ohasd
2019-08-21 10:41:28: Creating a link "/etc/rc.d/rc1.d/K15ohasd" pointing to /etc/init.d/ohasd
2019-08-21 10:41:28: Removing "/etc/rc.d/rc2.d/K15ohasd"
2019-08-21 10:41:28: Removing file /etc/rc.d/rc2.d/K15ohasd
2019-08-21 10:41:28: Successfully removed file: /etc/rc.d/rc2.d/K15ohasd
2019-08-21 10:41:28: Creating a link "/etc/rc.d/rc2.d/K15ohasd" pointing to /etc/init.d/ohasd
2019-08-21 10:41:28: Removing "/etc/rc.d/rc4.d/K15ohasd"
2019-08-21 10:41:28: Removing file /etc/rc.d/rc4.d/K15ohasd
2019-08-21 10:41:28: Successfully removed file: /etc/rc.d/rc4.d/K15ohasd
2019-08-21 10:41:28: Creating a link "/etc/rc.d/rc4.d/K15ohasd" pointing to /etc/init.d/ohasd
2019-08-21 10:41:28: Removing "/etc/rc.d/rc6.d/K15ohasd"
2019-08-21 10:41:28: Removing file /etc/rc.d/rc6.d/K15ohasd
2019-08-21 10:41:28: Successfully removed file: /etc/rc.d/rc6.d/K15ohasd
2019-08-21 10:41:28: Creating a link "/etc/rc.d/rc6.d/K15ohasd" pointing to /etc/init.d/ohasd
2019-08-21 10:41:28: The file ohasd has been successfully linked to the RC directories
2019-08-21 10:41:28: Executing cmd: /bin/rpm -q sles-release
2019-08-21 10:41:28: Command output:
package sles-release is not installed
End Command output
SS
S_OHASD -state SUCCESS '
2019-08-21 10:41:28: Removing file /tmp/filea21cdK
2019-08-21 10:41:28: Successfully removed file: /tmp/filea21cdK
2019-08-21 10:41:28: /bin/su successfully executed

2019-08-21 10:41:28: Succeeded in writing the checkpoint:'ROOTCRS_OHASD' with status:SUCCESS
2019-08-21 10:41:28: CkptFile: /oracle/11204/grid_1/base/Clusterware/ckptGridHA_edippsdr.xml
2019-08-21 10:41:28: Sync the checkpoint file '/oracle/11204/grid_1/base/Clusterware/ckptGridHA_edippsdr.xml'
2019-08-21 10:41:28: Sync '/oracle/11204/grid_1/base/Clusterware/ckptGridHA_edippsdr.xml' to the physical disk
2019-08-21 10:41:28: Starting ohasd
2019-08-21 10:41:28: Executing cmd: /bin/rpm -qf /sbin/init
2019-08-21 10:41:28: Command output:

SysVinit-2.86-15.el5
End Command output
2019-08-21 10:41:28: itab entries=cssd|evmd|crsd|ohasd
2019-08-21 10:41:28: Executing /sbin/init q
2019-08-21 10:41:28: Executing cmd: /sbin/init q
2019-08-21 10:41:33: Created backup /etc/inittab.no_crs
2019-08-21 10:41:33: Appending to /etc/inittab.tmp:
2019-08-21 10:41:33: h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null

2019-08-21 10:41:33: Done updating /etc/inittab.tmp
2019-08-21 10:41:33: Saved /etc/inittab.crs
2019-08-21 10:41:33: Installed new /etc/inittab
2019-08-21 10:41:33: Executing /sbin/init q
2019-08-21 10:41:33: Executing cmd: /sbin/init q
2019-08-21 10:41:33: Executing cmd: /oracle/11204/grid_1/home/bin/crsctl start has
2019-08-21 10:41:34: Command output:

CRS-4640: Oracle High Availability Services is already active
CRS-4000: Command Start failed, or completed with errors.
End Command output
2019-08-21 10:41:34: Executing /etc/init.d/ohasd install
2019-08-21 10:41:34: Executing cmd: /etc/init.d/ohasd install
2019-08-21 10:41:34: ohasd is already active
2019-08-21 10:41:34: Started service 'ohasd'
2019-08-21 10:41:34: Checking ohasd
2019-08-21 10:41:34: Executing cmd: /oracle/11204/grid_1/home/bin/crsctl check has

因为本台服务器曾经是oracle10gRac的其中一个节点,改了一些参数,不知道是不是什么参数没设置好还是咋回事执行了超多次都卡在这....求大佬帮忙看看

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答

相关推荐