Tuesday, 28 February 2017

CLSRSC-184: Configuration of ASM failed


[root@racpub151 app]# /u01/app/12.1.0/grid/root.sh

Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/12.1.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
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: /u01/app/12.1.0/grid/crs/install/crsconfig_params
2017/02/28 17:27:09 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.

2017/02/28 17:27:45 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.

2017/02/28 17:27:47 CLSRSC-363: User ignored prerequisites during installation

OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
2017/02/28 17:28:43 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.conf'

CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2672: Attempting to start 'ora.evmd' on 'racpub151'
CRS-2672: Attempting to start 'ora.mdnsd' on 'racpub151'
CRS-2676: Start of 'ora.evmd' on 'racpub151' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'racpub151'
CRS-2676: Start of 'ora.gpnpd' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'racpub151'
CRS-2672: Attempting to start 'ora.gipcd' on 'racpub151'
CRS-2676: Start of 'ora.cssdmonitor' on 'racpub151' succeeded
CRS-2676: Start of 'ora.gipcd' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'racpub151'
CRS-2672: Attempting to start 'ora.diskmon' on 'racpub151'
CRS-2676: Start of 'ora.diskmon' on 'racpub151' succeeded
CRS-2676: Start of 'ora.cssd' on 'racpub151' succeeded

ASM failed to start. Check /u01/app/grid/cfgtoollogs/asmca/asmca-170228PM053122.log for details.

2017/02/28 17:32:08 CLSRSC-184: Configuration of ASM failed

2017/02/28 17:32:09 CLSRSC-258: Failed to configure and start ASM

Died at /u01/app/12.1.0/grid/crs/install/crsinstall.pm line 2017.
The command '/u01/app/12.1.0/grid/perl/bin/perl -I/u01/app/12.1.0/grid/perl/lib -I/u01/app/12.1.0/grid/crs/install /u01/app/12.1.0/grid/crs/install/rootcrs.pl ' execution failed

================================
Solution:-
================================

[root@racpub151 app]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              29G  9.9G   18G  36% /
tmpfs                 751M  260K  751M   1% /dev/shm
/dev/sda2              15G  679M   14G   5% /tmp
/dev/sda5              52G  9.2G   40G  19% /u01
.host:/               466G  280G  186G  61% /mnt/hgfs
/dev/sr0              3.5G  3.5G     0 100% /media/OL6.4 x86_64 Disc 1 20130225


[root@racpub151 app]# umount /dev/shm
umount: /dev/shm: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))


[root@racpub151 app]# fuser -km /dev/shm
/dev/shm:             3696m  3714m  3769m  3807m

[root@racpub151 app]# umount /dev/shm

[root@racpub151 app]# vi /etc/fstab
#
# /etc/fstab
# Created by anaconda on Sun Nov  8 16:01:55 2015
#
# Accessible filesystems, by reference, are maintained under ‘/dev/disk’
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=50921d9d-11bf-46f6-815e-65bf11cd734e /                       ext4    defaults        1 1
UUID=2e531048-7ae9-4c4a-b5b9-228e0420d958 /oracle                 ext4    defaults        1 2
UUID=05fc1c47-9f9f-4525-941a-7a5b54abc261 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults,size=3G        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0


[root@racpub151 app]# mount /dev/shm

[root@racpub151 app]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              29G  9.9G   18G  36% /
/dev/sda2              15G  679M   14G   5% /tmp
/dev/sda5              52G  9.2G   40G  19% /u01
.host:/               466G  280G  186G  61% /mnt/hgfs
/dev/sr0              3.5G  3.5G     0 100% /media/OL6.4 x86_64 Disc 1 20130225
tmpfs                 3.0G     0  3.0G   0% /dev/shm


RUN The script again:-


[root@racpub151 app]# /u01/app/12.1.0/grid/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/12.1.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

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: /u01/app/12.1.0/grid/crs/install/crsconfig_params
2017/02/28 18:09:24 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.

2017/02/28 18:09:25 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.

2017/02/28 18:09:27 CLSRSC-363: User ignored prerequisites during installation

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'racpub151'
CRS-2673: Attempting to stop 'ora.ctssd' on 'racpub151'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'racpub151'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'racpub151'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'racpub151'
CRS-2677: Stop of 'ora.drivers.acfs' on 'racpub151' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'racpub151' succeeded
CRS-2673: Attempting to stop 'ora.evmd' on 'racpub151'
CRS-2677: Stop of 'ora.gpnpd' on 'racpub151' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'racpub151' succeeded
CRS-2677: Stop of 'ora.evmd' on 'racpub151' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'racpub151'
CRS-2677: Stop of 'ora.cssd' on 'racpub151' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'racpub151'
CRS-2677: Stop of 'ora.gipcd' on 'racpub151' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'racpub151' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2672: Attempting to start 'ora.evmd' on 'racpub151'
CRS-2672: Attempting to start 'ora.mdnsd' on 'racpub151'
CRS-2676: Start of 'ora.mdnsd' on 'racpub151' succeeded
CRS-2676: Start of 'ora.evmd' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'racpub151'
CRS-2676: Start of 'ora.gpnpd' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'racpub151'
CRS-2672: Attempting to start 'ora.gipcd' on 'racpub151'
CRS-2676: Start of 'ora.cssdmonitor' on 'racpub151' succeeded
CRS-2676: Start of 'ora.gipcd' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'racpub151'
CRS-2672: Attempting to start 'ora.diskmon' on 'racpub151'
CRS-2676: Start of 'ora.diskmon' on 'racpub151' succeeded
CRS-2676: Start of 'ora.cssd' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'racpub151'
CRS-2672: Attempting to start 'ora.ctssd' on 'racpub151'
CRS-2676: Start of 'ora.ctssd' on 'racpub151' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'racpub151'
CRS-2676: Start of 'ora.asm' on 'racpub151' succeeded

ASM created and started successfully.

Disk Group CRS created successfully.

CRS-2672: Attempting to start 'ora.crf' on 'racpub151'
CRS-2672: Attempting to start 'ora.storage' on 'racpub151'
CRS-2676: Start of 'ora.storage' on 'racpub151' succeeded
CRS-2676: Start of 'ora.crf' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'racpub151'
CRS-2676: Start of 'ora.crsd' on 'racpub151' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 2c8aa82e3bac4f9bbf2802c7ca16e00d.
Successfully replaced voting disk group with +CRS.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   2c8aa82e3bac4f9bbf2802c7ca16e00d (ORCL:CRS) [CRS]
Located 1 voting disk(s).
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'racpub151'
CRS-2673: Attempting to stop 'ora.crsd' on 'racpub151'
CRS-2677: Stop of 'ora.crsd' on 'racpub151' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'racpub151'
CRS-2673: Attempting to stop 'ora.evmd' on 'racpub151'
CRS-2673: Attempting to stop 'ora.storage' on 'racpub151'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'racpub151'
CRS-2673: Attempting to stop 'ora.crf' on 'racpub151'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'racpub151'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'racpub151'
CRS-2677: Stop of 'ora.storage' on 'racpub151' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'racpub151'
CRS-2677: Stop of 'ora.drivers.acfs' on 'racpub151' succeeded
CRS-2677: Stop of 'ora.crf' on 'racpub151' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'racpub151' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'racpub151' succeeded
CRS-2677: Stop of 'ora.evmd' on 'racpub151' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'racpub151' succeeded
CRS-2677: Stop of 'ora.asm' on 'racpub151' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'racpub151'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'racpub151' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'racpub151'
CRS-2677: Stop of 'ora.cssd' on 'racpub151' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'racpub151'
CRS-2677: Stop of 'ora.gipcd' on 'racpub151' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'racpub151' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.mdnsd' on 'racpub151'
CRS-2672: Attempting to start 'ora.evmd' on 'racpub151'
CRS-2676: Start of 'ora.mdnsd' on 'racpub151' succeeded
CRS-2676: Start of 'ora.evmd' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'racpub151'
CRS-2676: Start of 'ora.gpnpd' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'racpub151'
CRS-2676: Start of 'ora.gipcd' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'racpub151'
CRS-2676: Start of 'ora.cssdmonitor' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'racpub151'
CRS-2672: Attempting to start 'ora.diskmon' on 'racpub151'
CRS-2676: Start of 'ora.diskmon' on 'racpub151' succeeded
CRS-2676: Start of 'ora.cssd' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'racpub151'
CRS-2672: Attempting to start 'ora.ctssd' on 'racpub151'
CRS-2676: Start of 'ora.ctssd' on 'racpub151' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'racpub151'
CRS-2676: Start of 'ora.asm' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'racpub151'
CRS-2676: Start of 'ora.storage' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.crf' on 'racpub151'
CRS-2676: Start of 'ora.crf' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'racpub151'
CRS-2676: Start of 'ora.crsd' on 'racpub151' succeeded
CRS-6023: Starting Oracle Cluster Ready Services-managed resources
CRS-6017: Processing resource auto-start for servers: racpub151
CRS-6016: Resource auto-start has completed for server racpub151
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2017/02/28 18:19:19 CLSRSC-343: Successfully started Oracle Clusterware stack

CRS-2672: Attempting to start 'ora.asm' on 'racpub151'
CRS-2676: Start of 'ora.asm' on 'racpub151' succeeded
CRS-2672: Attempting to start 'ora.CRS.dg' on 'racpub151'
CRS-2676: Start of 'ora.CRS.dg' on 'racpub151' succeeded

2017/02/28 18:23:32 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded





No comments:

Post a Comment