该文章是在AIX7.2上安装RAC 19.3时,执行 root.sh 时遇到的问题

1.执行root.sh报错:

Please confirm your Oracle Clusterware Userid is a member of the group: hagsuser
Configuring HACMP group services socket for possible use by Oracle.
Could not locate group services socket.
Ensure that the group services subsystem is active.
Aborting pre-installation procedure. Installations of Oracle may fail.

2.查看详细日志

2023-02-27 15:11:56: Executing ‘rootpre.sh’ …
2023-02-27 15:11:56: Executing cmd: /u01/app/19.3.0/grid/clone/rootpre.sh
2023-02-27 15:11:56: Command output:
/u01/app/19.3.0/grid/clone/rootpre.sh output will be logged in /u01/app/19.3.0/grid/install/root_fzzlc-db01_2023-02-27_15-11-54.log

Checking if group services should be configured…
Please confirm your Oracle Clusterware Userid is a member of the group: hagsuser
Configuring HACMP group services socket for possible use by Oracle.
Could not locate group services socket.
Ensure that the group services subsystem is active.
Aborting pre-installation procedure. Installations of Oracle may fail.
End Command output
2023-02-27 15:11:56: The command '/u01/app/19.3.0/grid/clone/rootpre.sh ’ execution failed.
2023-02-27 15:11:56: Executing cmd: /u01/app/19.3.0/grid/bin/clsecho -p has -f clsrsc -m 180 ‘rootpre.sh’
2023-02-27 15:11:56: Executing cmd: /u01/app/19.3.0/grid/bin/clsecho -p has -f clsrsc -m 180 ‘rootpre.sh’
2023-02-27 15:11:57: Command output:
CLSRSC-180: An error occurred while executing the command ‘rootpre.sh’
End Command output
2023-02-27 15:11:57: CLSRSC-180: An error occurred while executing the command ‘rootpre.sh’
2023-02-27 15:11:57: ###### Begin DIE Stack Trace ######
2023-02-27 15:11:57: Package File Line Calling
2023-02-27 15:11:57: --------------- -------------------- ---- ----------
2023-02-27 15:11:57: 1: main rootcrs.pl 355 crsutils::dietrap
2023-02-27 15:11:57: 2: crsutils crsutils.pm 17489 main::ANON
2023-02-27 15:11:57: 3: crsutils crsutils.pm 3472 crsutils::runRootPre
2023-02-27 15:11:57: 4: crsinstall crsinstall.pm 749 crsutils::setup_env
2023-02-27 15:11:57: 5: crsinstall crsinstall.pm 1184 crsinstall::crs_install_init
2023-02-27 15:11:57: 6: crsinstall crsinstall.pm 446 crsinstall::CRSInstall
2023-02-27 15:11:57: 7: main rootcrs.pl 552 crsinstall::new
2023-02-27 15:11:57: checkpoint has failed

3.解决方案

mv $ORACLE_HOME/clone/rootpre.sh /tmp

--再次执行root.sh即可通过
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐