Oracle Software Installation Bugs

For many years, Oracle software quality has improved every year.  Bugs were resolved and did not reappear. New bugs were rare and hard to find.  However, it seems to me that they have regressed in the last few versions of Oracle.  Some very simple errors have appeared in their software, in both the grid infrastructure and in the database software.

I have been in the process of putting together an Oracle 19c Cluster on VMware workstation for the purpose of a blog on Golden Gate.  It has been a struggle.  The first problem I ran into was in running the script:

2019/07/29 15:31:31 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2019/07/29 15:31:35 CLSRSC-594: Executing installation step 9 of 19: ‘ConfigOLR’.
2019/07/29 15:31:57 CLSRSC-594: Executing installation step 10 of 19: ‘ConfigCHMOS’.
2019/07/29 15:31:57 CLSRSC-594: Executing installation step 11 of 19: ‘CreateOHASD’.
2019/07/29 15:32:07 CLSRSC-594: Executing installation step 12 of 19: ‘ConfigOHASD’.
2019/07/29 15:32:08 CLSRSC-330: Adding Clusterware entries to file ‘oracle-ohasd.service’
2019/07/29 15:32:57 CLSRSC-594: Executing installation step 13 of 19: ‘InstallAFD’.
2019/07/29 15:33:10 CLSRSC-594: Executing installation step 14 of 19: ‘InstallACFS’.
2019/07/29 15:33:23 CLSRSC-594: Executing installation step 15 of 19: ‘InstallKA’.
2019/07/29 15:33:35 CLSRSC-594: Executing installation step 16 of 19: ‘InitConfig’.
2019/07/29 15:33:40 CLSRSC-119: Start of the exclusive mode cluster failed
Died at /u01/app/19.3.0/grid/crs/install/ line 2439.

Died at line 2439.  Really?  No error message, nothing.  It just died.  This one took quite a bit of research, and finally I discovered the problem.  My cluster name was ggclust1-cluster.  See the problem?  It took me a while too.  The cluster name was 16 characters, and I entered the name in the installer conversation. But the maximum size of a cluster name is 15 characters. 

Next, while running DBCA to create a new database, the DBCA process terminated with ‘Recovery manager failed to restore datafiles’.  In the alert log of the database that was supposed to be created, there was this:

WARNING: failed to register ASMB with ASM instance
Errors in file /u01/app/oracle/diag/rdbms/ggdemo1/ggdemo11/trace/ggdemo11_asmb_98417.trc:
ORA-01017: invalid username/password; logon denied

DBCA had never prompted me for a password.  This one took some research, but finally I found it.  The problem was that Oracle was not in the oinstall group.  If you installed the Oracle preinstall package, it should have put Oracle in the oinstall group, and if you run id oracle, it will show oracle in the oinstall group.

However, if you run the command ‘grep oracle /etc/group’:


oracle does not show up in the oinstall group.  This looks like a problem with both DBCA and the Oracle preinstall package.  The fix is to manually add oracle to the oinstall group.  DBCA could also be modified to prompt for the ASM username/password, but that would require a change from Oracle.  

usermod -g oinstall -G oinstall,dba oracle

These are two problems you are likely to run into on a fresh installation of Oracle 19c. 

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: