CLSRSC-184 CLSRSC-258: Failed to configure and start ASM
2015-11-21 22:40
423 查看
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/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/27126919/viewspace-1843223/
相关文章推荐
- In eclipse: A child container failed during start and Failed to start components
- Setup failed to configure the server. Refer to the server error logs and setup error logs for more i
- Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could
- How to configure XDB for using ftp and http protocols with ASM [ID 357714.1]
- In eclipse: A child container failed during start and Failed to start components
- Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
- SpringBoot 2.0 报错: Failed to configure a DataSource: 'url' attribute is not specified and no embe......
- 【翻译自mos文章】Oracle Cluster failed to start with ASM instance getting ORA-00443 ---改动/etc/resolv.conf所致
- Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could
- Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could
- 11.2.0.3+ASM 安装报 ohasd failed to start
- org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
- Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could
- SpringBoot启动报错:Failed to auto-configure a DataSource: 'spring.datasource.url' is not specified and
- Dubbo消费者启动时:Failed to configure a DataSource: 'url' attribute is not specified and no em
- 新建springboot项目启动出错 Failed to configure a DataSource: 'url' attribute is not specified and no embedde
- springBoot搭建时遇到的坑之Failed to configure a DataSource: 'url' attribute is not specified and no embedded
- How to configure XDB for using ftp and http protocols with ASM [ID 357714.1]
- IDEA错误:Failed to start end point associated with ProtocolHandler [http-nio-9999] java.net.BindException: Address already in use: bind
- ubuntu下修改mysql默认字符编码出现的Job failed to start的解决方法