crsctl Error: CLSU-00100 CLSU-00101 CLSU-00103 CLSU-00104 "cant open scr home dir scls_scr_getval" as Hostname was Changed

[root@virtdbms2 ~]# /opt/grid/product/11.2.0.3/bin/crsctl start has

CLSU-00100: Operating System function: opendir failed with error data: 2

CLSU-00101: Operating System error message: No such file or directory

CLSU-00103: error location: scrsearch1

CLSU-00104: additional error information: cant open scr home dir scls_scr_getval

CRS-4000: Command Start failed, or completed with errors.

Cause:

Hostname was changed, in this case it was changed to localhost

Solution:

Option 1:

Change the hostname back.

On Linux, either change the hostname in /etc/sysconfig/network or change it in the command prompt using "hostname" command

Option 2:

[root@virtdbms2 ~]# /opt/grid/product/11.2.0.3/crs/install/roothas.pl -deconfig -force

Using configuration parameter file: /opt/grid/product/11.2.0.3/crs/install/crsconfig_params

CRS-4639: Could not contact Oracle High Availability Services

CRS-4000: Command Stop failed, or completed with errors.

CRS-4639: Could not contact Oracle High Availability Services

CRS-4000: Command Delete failed, or completed with errors.

CLSU-00100: Operating System function: opendir failed with error data: 2

CLSU-00101: Operating System error message: No such file or directory

CLSU-00103: error location: scrsearch1

CLSU-00104: additional error information: cant open scr home dir scls_scr_getval

CRS-4544: Unable to connect to OHAS

CRS-4000: Command Stop failed, or completed with errors.

Successfully deconfigured Oracle Restart stack

[root@virtdbms2 ~]# /opt/grid/product/11.2.0.3/root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME= /opt/grid/product/11.2.0.3

Enter the full pathname of the local bin directory: [/usr/local/bin]:

The contents of "dbhome" have not changed. No need to overwrite.

The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)

[n]: y

Copying oraenv to /usr/local/bin ...

The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)

[n]: y

Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Using configuration parameter file: /opt/grid/product/11.2.0.3/crs/install/crsconfig_params

LOCAL ADD MODE

Creating OCR keys for user 'grid', privgrp 'oinstall'..

Operation successful.

LOCAL ONLY MODE

Successfully accumulated necessary OCR keys.

Creating OCR keys for user 'root', privgrp 'root'..

Operation successful.

CRS-4664: Node virtdbms2 successfully pinned.

Adding Clusterware entries to inittab

virtdbms2 2017/06/12 10:54:49 /opt/grid/product/11.2.0.3/cdata/virtdbms2/backup_20170612_105449.olr

Successfully configured Oracle Grid Infrastructure for a Standalone Server

[root@virtdbms2 ~]# /opt/grid/product/11.2.0.3/bin/crsctl check has

CRS-4638: Oracle High Availability Services is online

[grid@virtdbms2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 11.2.0.3.0 Production on Mon Jun 12 10:57:08 2017

Copyright (c) 1982, 2011, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup;

ORA-01078: failure in processing system parameters

ORA-29701: unable to connect to Cluster Synchronization Service

[grid@virtdbms2 ~]$ /opt/grid/product/11.2.0.3/bin/crsctl start resource ora.cssd

CRS-2672: Attempting to start 'ora.cssd' on 'virtdbms2'

CRS-2672: Attempting to start 'ora.diskmon' on 'virtdbms2'

CRS-2676: Start of 'ora.diskmon' on 'virtdbms2' succeeded

CRS-2676: Start of 'ora.cssd' on 'virtdbms2' succeeded

[grid@virtdbms2 ~]$ /opt/grid/product/11.2.0.3/bin/crs_stat -t

Name Type Target State Host

------------------------------------------------------------

ora.cssd ora.cssd.type ONLINE ONLINE virtdbms2

ora.diskmon ora....on.type OFFLINE OFFLINE

ora.evmd ora.evm.type ONLINE ONLINE virtdbms2

ora.ons ora.ons.type OFFLINE OFFLINE

[grid@virtdbms2 ~]$ sqlplus / as sysasm

SQL*Plus: Release 11.2.0.3.0 Production on Mon Jun 12 10:59:36 2017

Copyright (c) 1982, 2011, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup;

ORA-00099: warning: no parameter file specified for ASM instance

ASM instance started

Total System Global Area 283930624 bytes

Fixed Size 2227664 bytes

Variable Size 256537136 bytes

ASM Cache 25165824 bytes

ORA-15110: no diskgroups mounted

Oracle Support Doc ID 1551791.1