执行root.sh报错:CLSRSC-196: ACFS driver install action

oracle 19c已经发布了快一年了,在AIX和Linux上面安装的次数也不少了,安装的方法也层出不穷,最常用的就是图形化了,可以避免静默安装发现不了的问题。今天帮助一位朋友安装oracle 19c rac,在执行root.sh的时候,报错了。下面就详细分析下:
执行root.sh,屏幕打印日志,显示在安装acfs的时候,报错failed了,

前台日志只是显示failed,并没有具体的报错信息,我们在相关路径下面查找root.sh的日志,路径在前台日志重有显示,为/u01/app/grid/crsdata/主机名/crsconfig/rootcrs_主机名_日期.log。直接搜索failed,我们可以看到相关报错为:

通过这个报错信息我们大概可以看出,是由于ACFS在安装的过程中发现了以前的版本,在uninstall的过程报错,又无法安装新的acfs,所以导致安装失败。
查看mos,发现有篇文章和这种情况相似,只是版本不同:AIX: ROOT.SH FAILS WITH CLSRSC-196: ACFS DRIVER INSTALL ACTIONS FAILED (Doc ID 1929899.1)。
经询问,此平台为AIX,之前安装的12.2.0.2,安装19c没有机器,所以rm -rf $GRID_HOME,直接删除相关目录来进行卸载,没有使用正常的卸载命令。可能导致文件有残留,从而导致失败。按照mos的解决方案:
Manually remove the driver files as root user:

  1. Copy the following files from <12.1 GRID_HOME>/usm/install/cmds/bin to /usr/lib/methods/, overwriting the existing ones:

#cd <12.1 GRID_HOME>/usm/install/cmds/bin
#cp cfgacfsctl.bin cfgadvmctl.bin cfgadvmvol.bin defacfsctl.bin defadvmctl.bin ucfgacfsctl.bin ucfgadvmctl.bin ucfgadvmvol.bin udefacfsctl.bin udefadvmctl.bin /usr/lib/methods/

  1. Modify the following files: /usr/lib/methods/ucfgacfsctl, /usr/lib/methods/ucfgadvmctl, /usr/lib/methods/udefacfsctl, /usr/lib/methods/udefadvmctl, change "ORA_CRS_HOME=" from old 11.2 GRID_HOME to 12.1 GRID_HOME
  2. Run the following commands to complete deinstallation of old ACFS version:

#/usr/lib/methods/ucfgacfsctl -l ofsctl (Continue if error states "failed to look up ODM CuDv object class" or "device is already unconfigured")
#/usr/lib/methods/ucfgadvmctl -l advmctl (Continue if error states "failed to look up ODM CuDv object class" or "device is already unconfigured")
#/usr/lib/methods/udefacfsctl -l ofsctl (Continue if error states "failed to look up ODM CuDv object class")
#/usr/lib/methods/udefadvmctl -l advmctl (Continue if error states "failed to look up ODM CuDv object class")
#/usr/sbin/rmauth -h oracle
#rmrole oracle_devmgmt
#setkst
#rm /usr/lib/drivers/oracle
#rm /usr/lib/methods/
advm /usr/lib/methods/acfs
#rm -rf /sbin/helpers/acfs
#rm /usr/sbin/acfsutil
/usr/sbin/advmutil
#rm /sbin/acfsutil
/sbin/advmutil*

执行具体情况如下:

通过和第一张图片对比可知:libhasgen12.so. 这里显示的是缺少12的版本,应该是找以前安装过oracle 12c rac的残留版本。卸载的时候,libhasgen19.so 找的又19版本.所以这里可以以版本来区分。root.sh执行安装acfs的时候,调用到12c的版本了,但是12c的已经删除,所以报错找不到,应该是重新安装的时候找19的版本。
重新执行root.sh报错解决。
所以以后卸载oracle,一定要按照官方推荐的卸载方法。具体参考下面几篇文章
1、How to Add Node/Instance orRemove Node/Instance in 10gr2, 11gr1, 11gr2 and 12c Oracle Clusterware and RAC(文档 ID 1332451.1)

2、How to Remove/Delete a Node FromGrid Infrastructure Clusterware When the Node Has Failed (文档 ID 1262925.1)

3、https://docs.oracle.com/cd/E14795_01/doc/rac.112/e10717/adddelclusterware.htm#CHDFIAIE

4、https://docs.oracle.com/cd/E18283_01/rac.112/e16795/adddelunix.htm#BEICADHD

5、https://docs.oracle.com/cd/E18283_01/rac.112/e16794/adddelclusterware.htm#CWADD90992

6、http://docs.oracle.com/cd/E11882_01/rac.112/e41959/adddelclusterware.htm#CWADD90992

原文地址:https://blog.51cto.com/zhuozhuo/2464563

时间: 2024-11-05 21:51:17

执行root.sh报错:CLSRSC-196: ACFS driver install action的相关文章

安装11.2.0.3 RAC grid 执行root.sh报错

安装11.2.0.3 RAC grid 执行root.sh报错   root wallet   root wallet cert   root cert export   peer wallet   profile reader wallet   pa wallet   peer wallet keys   pa wallet keys   peer cert request   pa cert request   peer cert   pa cert   peer root cert TP

Sphinx/Coreseek 4.1 执行 buildconf.sh 报错,无法生成configure文件

参考的网址: http://blog.csdn.net/jcjc918/article/details/39032689 错误现象: 执行 buildconf.sh 报错,无法生成configure文件 报错的代码 automake: warnings are treated as errors /usr/share/automake-1.13/am/library.am: warning: 'libstemmer.a': linking libraries using a non-POSIX

Redhat 6.4安装ORACLE11R2 ,运行root.sh报错:“libcap.so.1:cannot open shared object file”

1.系统环境: Redhat 6.4 企业版 Oracle11.2.0.2 RAC+ASM 2.报错信息:/oracle/app/11.2.0/grid/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory 3.问题的可能性: ①缺少系统补丁包"libcap"补丁包  # rpm -qa|gr

Oracle 12C RAC安装grid时root.sh报错ORA-00845

Oracle 12C RAC安装grid时root.sh在二节点报错: CRS-2676: Start of 'ora.cssd' on 'prodb2' succeeded CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'prodb2' CRS-2672: Attempting to start 'ora.ctssd' on 'prodb2' CRS-2676: Start of 'ora.ctssd' on

Oracle Rac root.sh报错 Failed to create keys in the OLR, rc = 127 libcap.so.1

环境交待: Linux 6.3 Oracle Rac 11.2.0.4 [[email protected] grid]# /u01/app/11.2.0/grid/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME=  /u01/app/11.2.0/grid Enter the f

【转】 JMeter学习(二十四)linux启动jmeter,执行./jmeter.sh报错解决方法

1.l-bash: ./jmeter.sh: Permission denied解决办法:jmeter.sh的执行权限改改,是权限不够chmod 777 jmeter.sh 2.An error occurred:No X11 DISPLAY variable was set, but this program performed an operation which requires it.步骤一:Linux负载机环境下,切换到root用户,运行以下命令安装X11,该linux机器需能访问外网

记几个rac安装执行root.sh的报错

这次在客户现场进行安装,由于实现并没有和硬件的人协调好,导致安装过程中环境出现各种问题,在这一次安装中基本上见到了所有报错,还包括主机频繁重启,以及配置信息丢失等问题, 以下为在安装rac的过程中,执行root.sh脚本报错的三个问题: /u01/11.2.0/grid/bin/srvctl start nodeapps -n RAC01 ... failed FirstNode configuration failed at  /u01/11.2.0/grid/crs/install/crsc

aix7.1安装12c执行root.sh无法启动ohasd服务案例

一.安装环境 操作系统版本:IBM AIX 7100-03-05-1524 ORACLE版本:ORACLE DATABASE 12C 12.1.0.2.0-64BIT RAC 二.安装报错 该环境安装的为12c RAC,在节点一执行root.sh脚本时,出现如下信息: 2018/03/29 17:11:43 CLSRSC-330: ADDing clusterware entries to file '/etc/inittab' 2018/03/29 17:13:49 CLSRSC-214: F

远程连接mysql root账号报错:2003-can&#39;t connect to MYSQL serve

1.远程连接Linux系统,登录数据库:mysql -uroot -p(密码) 2.修改root账号的设置: GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION; 其中'root'为mysql用户名,'123456'为root账户密码,修改其他用户修改对应的参数即可. 3.执行 flush privileges;命令立即生效 4. 使用exit命令退出MySQL 然后打开vim  /