rootpre.sh
For AIX platform, there's an additional pre-installation check called rootpre.sh before installing Oracle database.
In some cases, you may see rootpre.sh errors look like this:
[root@primary01 /]# /u01/app/19.0.0/grid/clone/rootpre.sh
/u01/app/19.0.0/grid/clone/rootpre.sh output will be logged in /tmp/rootpre.out_17-11-08.14:58:03
Checking if group services should be configured....
Group "hagsuser" does not exist.
Creating required group for group services: hagsuser
Please add your Oracle userid to 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.
I guess the rootpre.sh smelled something about PowerHA (formerly HACMP) installed in the server, so it created a user group hagsuser for later use. But the problem is, we don't use HACMP for RAC database in our case.
Solution
To remove PowerHA, we can do it by smitty:
[root@primary01 /]# smitty install_remove
We'd like to remove all cluster related software, so we take the following steps.
- SOFTWARE name: Input cluster* in the first field.
- PREVIEW only: Use Tab to change the value from yes to no.
- Confirm: Press Enter twice to confirm the change.
It's as illustrated in the following screenshot:
Run rootpre.sh again.
[root@primary01 /]# /u01/app/19.0.0/grid/clone/rootpre.sh
/u01/app/19.0.0/grid/clone/rootpre.sh output will be logged in /tmp/rootpre.out_17-11-08.15:08:03
Checking if group services should be configured....
Nothing to configure.
It's back.