- 最后登录
- 2016-9-23
- 在线时间
- 16 小时
- 威望
- 0
- 金钱
- 79
- 注册时间
- 2013-3-13
- 阅读权限
- 10
- 帖子
- 34
- 精华
- 0
- 积分
- 0
- UID
- 968
|
1#
发表于 2014-3-18 18:48:36
|
查看: 6792 |
回复: 4
是使用root用户安装的,执行的下面的命令
/u01/app/grid/OPatch/opatch auto /u01/soft/up -ocmrf /home/grid/ocm.rsp
日志如下
[grid@aqgldb1 ~]$ tail -f /u01/app/grid/cfgtoollogs/opatchauto2014-03-18_18-39-14.log
2014-03-18 18:39:35: Opening file /etc/oracle/ocr.loc
2014-03-18 18:39:35: Value (FALSE) is set for key=local_only
2014-03-18 18:39:35: Home type of /u01/app/grid is CRS
2014-03-18 18:39:35: Unlock crshome...
2014-03-18 18:39:35: crshome passed is
2014-03-18 18:39:35: Exclude file used is /u01/app/grid/OPatch/crs/installPatch.excl
2014-03-18 18:39:35: Home location in olr.loc is /u01/app/grid
2014-03-18 18:39:35: unlock crs home is /u01/app/grid
2014-03-18 18:39:35: Executing /u01/app/grid/bin/crsctl stop crs -f
2014-03-18 18:39:35: Executing cmd: /u01/app/grid/bin/crsctl stop crs -f
2014-03-18 18:41:34: Command output:
> CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'aqgldb1'
> CRS-2673: Attempting to stop 'ora.crsd' on 'aqgldb1'
> CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'aqgldb1'
> CRS-2673: Attempting to stop 'ora.DATA.dg' on 'aqgldb1'
> CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'aqgldb1'
> CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'aqgldb1' succeeded
> CRS-2673: Attempting to stop 'ora.aqgldb1.vip' on 'aqgldb1'
> CRS-2677: Stop of 'ora.aqgldb1.vip' on 'aqgldb1' succeeded
> CRS-2672: Attempting to start 'ora.aqgldb1.vip' on 'aqgldb2'
> CRS-2676: Start of 'ora.aqgldb1.vip' on 'aqgldb2' succeeded
> CRS-2677: Stop of 'ora.DATA.dg' on 'aqgldb1' succeeded
> CRS-2673: Attempting to stop 'ora.asm' on 'aqgldb1'
> CRS-2677: Stop of 'ora.asm' on 'aqgldb1' succeeded
> CRS-2673: Attempting to stop 'ora.ons' on 'aqgldb1'
> CRS-2677: Stop of 'ora.ons' on 'aqgldb1' succeeded
> CRS-2673: Attempting to stop 'ora.net1.network' on 'aqgldb1'
> CRS-2677: Stop of 'ora.net1.network' on 'aqgldb1' succeeded
> CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'aqgldb1' has completed
> CRS-2677: Stop of 'ora.crsd' on 'aqgldb1' succeeded
> CRS-2673: Attempting to stop 'ora.crf' on 'aqgldb1'
> CRS-2673: Attempting to stop 'ora.ctssd' on 'aqgldb1'
> CRS-2673: Attempting to stop 'ora.evmd' on 'aqgldb1'
> CRS-2673: Attempting to stop 'ora.asm' on 'aqgldb1'
> CRS-2673: Attempting to stop 'ora.mdnsd' on 'aqgldb1'
> CRS-2677: Stop of 'ora.crf' on 'aqgldb1' succeeded
> CRS-2677: Stop of 'ora.evmd' on 'aqgldb1' succeeded
> CRS-2677: Stop of 'ora.mdnsd' on 'aqgldb1' succeeded
> CRS-2677: Stop of 'ora.asm' on 'aqgldb1' succeeded
> CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'aqgldb1'
> CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'aqgldb1' succeeded
> CRS-2677: Stop of 'ora.ctssd' on 'aqgldb1' succeeded
> CRS-2673: Attempting to stop 'ora.cssd' on 'aqgldb1'
> CRS-2677: Stop of 'ora.cssd' on 'aqgldb1' succeeded
> CRS-2673: Attempting to stop 'ora.gipcd' on 'aqgldb1'
> CRS-2677: Stop of 'ora.gipcd' on 'aqgldb1' succeeded
> CRS-2673: Attempting to stop 'ora.gpnpd' on 'aqgldb1'
> CRS-2677: Stop of 'ora.gpnpd' on 'aqgldb1' succeeded
> CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'aqgldb1' has completed
> CRS-4133: Oracle High Availability Services has been stopped.
>End Command output
2014-03-18 18:41:34: /u01/app/grid/bin/crsctl stop crs -f
2014-03-18 18:41:34: Executing cmd: /u01/app/grid/bin/crsctl check cluster -n aqgldb1
2014-03-18 18:41:36: Command output:
> CRS-4639: Could not contact Oracle High Availability Services
> CRS-4000: Command Check failed, or completed with errors.
>End Command output
2014-03-18 18:41:36: Executing cmd: /u01/app/grid/bin/crsctl check has
2014-03-18 18:41:38: Command output:
> CRS-4639: Could not contact Oracle High Availability Services
>End Command output
2014-03-18 18:41:38: The CRS home passed in is /u01/app/grid
2014-03-18 18:43:38: Waiting for complete CRS stack to stop
2014-03-18 18:43:38: CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'aqgldb1'
CRS-2673: Attempting to stop 'ora.crsd' on 'aqgldb1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'aqgldb1'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'aqgldb1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'aqgldb1'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'aqgldb1' succeeded
CRS-2673: Attempting to stop 'ora.aqgldb1.vip' on 'aqgldb1'
CRS-2677: Stop of 'ora.aqgldb1.vip' on 'aqgldb1' succeeded
CRS-2672: Attempting to start 'ora.aqgldb1.vip' on 'aqgldb2'
CRS-2676: Start of 'ora.aqgldb1.vip' on 'aqgldb2' succeeded
CRS-2677: Stop of 'ora.DATA.dg' on 'aqgldb1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'aqgldb1'
CRS-2677: Stop of 'ora.asm' on 'aqgldb1' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'aqgldb1'
CRS-2677: Stop of 'ora.ons' on 'aqgldb1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'aqgldb1'
CRS-2677: Stop of 'ora.net1.network' on 'aqgldb1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'aqgldb1' has completed
CRS-2677: Stop of 'ora.crsd' on 'aqgldb1' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'aqgldb1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'aqgldb1'
CRS-2673: Attempting to stop 'ora.evmd' on 'aqgldb1'
CRS-2673: Attempting to stop 'ora.asm' on 'aqgldb1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'aqgldb1'
CRS-2677: Stop of 'ora.crf' on 'aqgldb1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'aqgldb1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'aqgldb1' succeeded
CRS-2677: Stop of 'ora.asm' on 'aqgldb1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'aqgldb1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'aqgldb1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'aqgldb1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'aqgldb1'
CRS-2677: Stop of 'ora.cssd' on 'aqgldb1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'aqgldb1'
CRS-2677: Stop of 'ora.gipcd' on 'aqgldb1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'aqgldb1'
CRS-2677: Stop of 'ora.gpnpd' on 'aqgldb1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'aqgldb1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully unlock /u01/app/grid
2014-03-18 18:43:38: Invoking removeproc to clean oracle client procs
2014-03-18 18:43:38: Executing cmd: /sbin/fuser -k /u01/app/grid/bin/crsctl.bin
2014-03-18 18:43:38: fuser command output for /u01/app/grid/bin/crsctl.bin is
2014-03-18 18:43:38: Oracle user for /u01/app/grid is grid
2014-03-18 18:43:38: Opening file /etc/oracle/ocr.loc
2014-03-18 18:43:38: Value (FALSE) is set for key=local_only
2014-03-18 18:43:38: Running as user grid: /u01/app/grid/OPatch/opatch prereq CheckApplicable -ph /u01/soft/up/17592127 -oh /u01/app/grid
2014-03-18 18:43:38: s_run_as_user2: Running /bin/su grid -c ' /u01/app/grid/OPatch/opatch prereq CheckApplicable -ph /u01/soft/up/17592127 -oh /u01/app/grid '
2014-03-18 18:43:40: Removing file /tmp/file9RRAHI
2014-03-18 18:43:40: Successfully removed file: /tmp/file9RRAHI
2014-03-18 18:43:40: /bin/su successfully executed
2014-03-18 18:43:40: Error : The opatch Applicable check failed. The patch /u01/soft/up/17592127 is not applicable to /u01/app/grid
2014-03-18 18:43:40: Running as user grid: /u01/app/grid/OPatch/opatch prereq CheckApplicable -ph /u01/soft/up/17540582 -oh /u01/app/grid
|
|