ORA-00445: background process "LGWR" did not start after 120 seconds in rac安装

[root@prod1 ~]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[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]: 
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.
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-47-28PM.log
2017/12/12 22:47:32 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2017/12/12 22:47:32 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2017/12/12 22:48:12 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2017/12/12 22:48:12 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2017/12/12 22:48:17 CLSRSC-363: User ignored prerequisites during installation
2017/12/12 22:48:17 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2017/12/12 22:48:19 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
2017/12/12 22:48:20 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'.
2017/12/12 22:48:27 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'.
2017/12/12 22:48:28 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'.
2017/12/12 22:48:28 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'.
2017/12/12 22:49:06 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
2017/12/12 22:49:16 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
2017/12/12 22:49:16 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2017/12/12 22:49:21 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2017/12/12 22:49:37 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2017/12/12 22:49:59 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2017/12/12 22:50:04 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:50:37 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2017/12/12 22:50:42 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.mdnsd' on 'prod1' succeeded
CRS-2676: Start of 'ora.evmd' 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-171212PM105123.log for details.

2017/12/12 23:00:17 CLSRSC-184: Configuration of ASM failed
2017/12/12 23:00:35 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

--根据root.sh报错信息查看asm实例日志

DBW0 started with pid=20, OS id=41038 
2017-12-12T22:52:12.009305+08:00
Starting background process LGWR
2017-12-12T22:56:56.688818+08:00
Warning: VKTM detected a forward time drift. 
2017-12-12T22:57:00.454060+08:00
Please see the VKTM trace file for more details:
/u01/app/grid/diag/asm/+asm/+ASM1/trace/+ASM1_vktm_40997.trc
2017-12-12T22:58:36.583271+08:00
Errors in file /u01/app/grid/diag/asm/+asm/+ASM1/trace/+ASM1_ora_40902.trc  (incident=961):
ORA-00445: background process "LGWR" did not start after 120 seconds
2017-12-12T22:58:44.600925+08:00
Incident details in: /u01/app/grid/diag/asm/+asm/+ASM1/incident/incdir_961/+ASM1_ora_40902_i961.trc
2017-12-12T22:59:43.574661+08:00
USER (ospid: 40902): terminating the instance due to error 445
--看了下这个怀疑是内核参数没设

http://www.talkwithtrend.com/Article/178301

--设置内核参数

[root@prod1 ~]# vi /etc/sysctl.conf
# System default settings live in /usr/lib/sysctl.d/00-system.conf.
# To override those settings, enter new settings here, or in an /etc/sysctl.d/<name>.conf file
#
# For more information, see sysctl.conf(5) and sysctl.d(5).
fs.file-max = 6815744

fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmall = 1073741824
kernel.shmmax = 4398046511104
kernel.panic_on_oops = 1
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.default.rp_filter = 2
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500  
~
~
~
~
~
~
~
"/etc/sysctl.conf" 20L, 684C written
[root@prod1 ~]# sysctl -p
fs.file-max = 6815744
fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmall = 1073741824
kernel.shmmax = 4398046511104
kernel.panic_on_oops = 1
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.default.rp_filter = 2
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
看了以后安装还是不能省步骤。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值