CLSRSC-184 CLSRSC-258: Failed to configure and start ASM

shytodear發表於2015-11-21


1.在配置Oracle DB 12c RAC的過程中,在Grid執行指令碼root.sh的時候,你可能會遇到如題所示的報錯
[root@rac1 ~]# /oracle/app/12.1.0.2/grid/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /oracle/app/12.1.0.2/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: /oracle/app/12.1.0.2/grid/crs/install/crsconfig_params
2015/11/21 22:03:46 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.

2015/11/21 22:04:12 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.

2015/11/21 22:04:13 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
2015/11/21 22:05:05 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 'rac1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2676: Start of 'ora.evmd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded


ASM failed to start. Check /oracle/app/grid/cfgtoollogs/asmca/asmca-151121PM100657.log for details.


2015/11/21 22:07:48 CLSRSC-184: Configuration of ASM failed


2015/11/21 22:07:49 CLSRSC-258: Failed to configure and start ASM


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


2.解決辦法:
擴大/dev/shm的大小:
[root@rac1 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              30G  5.2G   24G  19% /
tmpfs                1004M  204K 1004M   1% /dev/shm
/dev/sdb1              41G   14G   25G  37% /oracle
[root@rac1 ~]# 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@rac1 ~]# fuser -km /dev/shm
/dev/shm:             5090m  5125m  5172m
[root@rac1 ~]# umount /dev/shm
[root@rac1 ~]# 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@rac1 ~]# mount /dev/shm
[root@rac1 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              30G  5.2G   24G  19% /
/dev/sdb1              41G   14G   25G  37% /oracle
tmpfs                 3.0G     0  3.0G   0% /dev/shm




3.重新執行root.sh指令碼,成功。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27126919/viewspace-1843223/,如需轉載,請註明出處,否則將追究法律責任。

相關文章