Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Parameter parsing of opatch command

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

[oracle@slient ~] $opatch

Oracle Interim Patch Installer version 11.2.0.3.4

Copyright (c) 2012, Oracle Corporation. All rights reserved.

Syntax Error... No command specified.

Usage: opatch [- help] [- report] [command]

Command: = apply

Lsinventory

Lspatches

Napply

Nrollback

Rollback

Query

Version

Prereq

Util

: =-help Displays the help message for the command.

-report Print the actions without executing.

Example:

'opatch-help'

'opatch-help-fmw'

'opatch auto-help'

'opatch apply-help'

'opatch lsinventory-help'

'opatch lspatches-help'

'opatch napply-help'

'opatch nrollback-help'

'opatch rollback-help'

'opatch prereq-help'

'opatch util-help'

OPatch failed with error code 14

[oracle@slient ~] $

[oracle@slient ~] $opatch auto-help

Usage:

:

: opatch auto-h # to see this message

:

: This command must be run as root user and needs Opatch version

: 10.2.0.4.7 or above.

: Case 1-On each node of the CRS cluster in case of Non Shared CRS Home.

: Case 2-On any one node of the CRS cluster is case of Shared CRS home.

:

:

: PARAMETERS

:

: Patch Location

: Path to the location for the patch. If the patch

: location is not specified, then the current directory

: is taken as the patch location

: OPTIONS

:

:-rollback The patch will be rolled back, not applied

:

:

:-oh comma seperated list of Oracle homes to patch

: The default is all applicable Oracle Homes.

: use this option to patch RDBMS homes where

: no database is registered.

:

:-och Path of Oracle Clusterware home.

: use this option to patch only clusterware home

: with stack down.Do not use this option with CRS

: stack up. This only patches the Clusterware home

:

:

: Suggested mode of operation:

:

: # 1. Apply the patch with the unzipped patch location

: This applies the patch to all applicable homes on the machine

:

: opatch auto

:

: # 2. Rollback the patch.

: This rolls back the patch from all the applicable homes on the machine

:

: opatch auto-rollback

:

: # 3. Apply the patch with-oh option

: This option allows to apply patch on selective list of oracle homes

:

: opatch auto-oh / ora/oh2,/ora/oh3,/ora/oh4

:

: # 4. Apply the patch with-och option

: This option is used to only patch the CRS home when

: Clusterware stack is down.

:

: opatch auto-och / ora/ora_crs_home

:

[oracle@slient ~] $

[oracle@slient ~] $opatch apply-help

Oracle Interim Patch Installer version 11.2.0.3.4

Copyright (c) 2012, Oracle Corporation. All rights reserved.

DESCRIPTION

This operation applies an interim patch to an ORACLE_HOME from

The current directory. The patch location can specified using

The parameter patch_location.

SYNTAX

Opatch apply [- connectString]

[- delay] [- force] [- force_conflict]

[- init [- opatch_init_end]]

[- invPtrLoc]

[- jre] [- local] [- local_node]

[- minimize_downtime] [- no_bug_superset] [- no_inventory]

[- no_relink] [- no_sysmod] [- ocmrf]

[- oh]

[- post [- opatch_post_end]]

[- pre [- opatch_pre_end]]

[- profile_mask]

[- property_file]

[- ptlConnect]

[- ptlPassword]

[- ptlSchema]

[- remote_nodes]

[- retry

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report