Skip to content
Home » Oracle » How to Resolve rootpre.sh Error: Aborting pre-installation procedure. Installations of Oracle may fail.

How to Resolve rootpre.sh Error: Aborting pre-installation procedure. Installations of Oracle may fail.

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.

  1. SOFTWARE name: Input cluster* in the first field.
  2. PREVIEW only: Use Tab to change the value from yes to no.
  3. Confirm: Press Enter twice to confirm the change.

It's as illustrated in the following screenshot:

AIX - smitty install_remove - PowerHA
AIX - smitty install_remove - PowerHA

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.

Leave a Reply

Your email address will not be published. Required fields are marked *