ORA-00845: MEMORY_TARGET not supported on thi s system导致rac安装失败

[root@prod1 ~]# /u01/app/12.2.0/grid/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/12.2.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.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/12.2.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
  /u01/app/grid/crsdata/prod1/crsconfig/rootcrs_prod1_2017-12-12_10-25-32PM.log
2017/12/12 22:25:58 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2017/12/12 22:25:58 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2017/12/12 22:27:15 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2017/12/12 22:27:15 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2017/12/12 22:27:24 CLSRSC-363: User ignored prerequisites during installation
2017/12/12 22:27:24 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2017/12/12 22:27:26 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
2017/12/12 22:27:27 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'.
2017/12/12 22:27:34 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'.
2017/12/12 22:27:36 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'.
2017/12/12 22:27:36 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'.
2017/12/12 22:28:13 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
2017/12/12 22:28:22 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
2017/12/12 22:28:22 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2017/12/12 22:28:27 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2017/12/12 22:28:43 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2017/12/12 22:29:06 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2017/12/12 22:29:11 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'prod1'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'prod1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2017/12/12 22:29:50 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2017/12/12 22:29:56 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'prod1'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'prod1' 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 'prod1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'prod1'
CRS-2676: Start of 'ora.evmd' on 'prod1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'prod1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'prod1'
CRS-2676: Start of 'ora.gpnpd' on 'prod1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'prod1'
CRS-2672: Attempting to start 'ora.gipcd' on 'prod1'
CRS-2676: Start of 'ora.cssdmonitor' on 'prod1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'prod1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'prod1'
CRS-2672: Attempting to start 'ora.diskmon' on 'prod1'
CRS-2676: Start of 'ora.diskmon' on 'prod1' succeeded
CRS-2676: Start of 'ora.cssd' on 'prod1' succeeded

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

2017/12/12 22:31:08 CLSRSC-184: Configuration of ASM failed
2017/12/12 22:31:11 CLSRSC-258: Failed to configure and start ASM
Died at /u01/app/12.2.0/grid/crs/install/crsinstall.pm line 2091.
The command '/u01/app/12.2.0/grid/perl/bin/perl -I/u01/app/12.2.0/grid/perl/lib -I/u01/app/12.2.0/grid/crs/install /u01/app/12.2.0/grid/crs/install/rootcrs.pl ' execution failed

--ASM日志

WARNING: You are trying to use the MEMORY_TARGET feature. This feature requires the /dev/shm file system to be mounted for at least 1140850688 bytes. /dev/shm is either not mounted or is mounted with available space less than this size. Please fix this so that MEMORY_TARGET can work as expected. Current available is 956751872 and used is 0 bytes. Ensure that the mount point is /dev/shm for this directory.

看样子是shm太小

--调整shm

--原来可用900m
[root@prod1 ~]# df -h
Filesystem             Size  Used Avail Use% Mounted on
/dev/mapper/rhel-root   36G   19G   18G  52% /
devtmpfs               903M     0  903M   0% /dev
tmpfs                  913M     0  913M   0% /dev/shm
tmpfs                  913M  9.0M  904M   1% /run
tmpfs                  913M     0  913M   0% /sys/fs/cgroup
/dev/sda1               97M   97M   20K 100% /boot
tmpfs                  183M     0  183M   0% /run/user/0
/dev/sr0               3.8G  3.8G     0 100% /mnt/iso
--调整到2g
[root@prod1 ~]# mount -t tmpfs shmfs -o size=2g /dev/shm
[root@prod1 ~]# vi /etc/fstab
shm /dev/shm tmpfs size=2g 0 0

"/etc/fstab" 13L, 508C written
[root@prod1 ~]# mount shm
--查看调整后的shm
[root@prod1 ~]# df -h
Filesystem             Size  Used Avail Use% Mounted on
/dev/mapper/rhel-root   36G   19G   18G  52% /
devtmpfs               903M     0  903M   0% /dev
shm                    2.0G     0  2.0G   0% /dev/shm
tmpfs                  913M  9.0M  904M   1% /run
tmpfs                  913M     0  913M   0% /sys/fs/cgroup
/dev/sda1               97M   97M   20K 100% /boot
tmpfs                  183M     0  183M   0% /run/user/0
/dev/sr0               3.8G  3.8G     0 100% /mnt/iso



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值