Thursday, April 4, 2019

UtilSession failed: To run in silent mode, OPatch requires a response file for Oracle Configuration Manager (OCM)


 [oracle@ODIGettingStarted ~]$ $ORACLE_HOME/ccr/bin/setupCCR –s –d
An unrecoverable network configuration error was encountered.
peer not authenticated

Unable to establish a network connection to Oracle. Specify the URL for an
Oracle Support Hub in this format:
    http[s]://<OracleSupportHubHost>:<OracleSupportHubPort>
If you do not wish to configure OCM through an Oracle Support Hub, enter NONE
Oracle Support Hub URL: NONE

Unable to establish a network connection to Oracle. If your systems require a
proxy server for outbound Internet connections, enter the proxy server details
in this format:
    [<proxy-user>@]<proxy-host>[:<proxy-port>]
If you want to remain uninformed of critical security issues in your
configuration, enter NONE
Proxy specification: NONE


** Installing base package **
Deploying core - Version 10.3.8.1.0
Deploying engines - Version 10.3.8.1.0
Deploying metricdata - Version 10.3.7.0.0
Deploying rda - Version 4.31.13.3.7
Deploying rdacelin - Version 4.31.13.3.7
Deploying scripts - Version 10.3.8.1.0

Oracle Configuration Manager has been configured in disconnected mode. If the
target ORACLE_HOME is running a database, please refer to the
"Post-installation Database Configuration" section of the OCM Installation
and Administration Guide
(http://www.oracle.com/technology/documentation/ocm.html) to complete the
installation.

View configuration data reports and access valuable configuration best
practices by going to My Oracle Support.
[oracle@ODIGettingStarted bin]$


Example:
[oracle@ODIGettingStarted ~]$ cd /home/oracle/Downloads
[oracle@ODIGettingStarted Downloads]$ unzip p20551790_112040_Linux-x86-64.zip
Archive:  p20551790_112040_Linux-x86-64.zip
   creating: 20551790/
   creating: 20551790/files/
   creating: 20551790/files/lib/
   creating: 20551790/files/lib/libplp11_pic.a/
  inflating: 20551790/files/lib/libplp11_pic.a/piht_pic.o 
   creating: 20551790/files/lib/libplp11.a/
  inflating: 20551790/files/lib/libplp11.a/piht.o 
   creating: 20551790/files/lib/libgeneric11.a/
  inflating: 20551790/files/lib/libgeneric11.a/nhpn.o 
  inflating: 20551790/files/lib/libgeneric11.a/nbio.o 
  inflating: 20551790/README.txt    
   creating: 20551790/etc/
   creating: 20551790/etc/config/
  inflating: 20551790/etc/config/actions.xml 
  inflating: 20551790/etc/config/deploy.xml 
  inflating: 20551790/etc/config/inventory.xml 
   creating: 20551790/etc/xml/
  inflating: 20551790/etc/xml/GenericActions.xml 
  inflating: 20551790/etc/xml/ShiphomeDirectoryStructure.xml 
[oracle@ODIGettingStarted Downloads]$ ls -ltr
total 280744
drwxrwxr-x.  4 oracle oracle      4096 Apr  3  2015 20551790
-rw-rw-r--.  1 oracle oracle     82137 Apr  4 10:18 p20551790_112040_Linux-x86-64.zip
[oracle@ODIGettingStarted Downloads]$ cd 20551790
[oracle@ODIGettingStarted 20551790]$ ls -ltr
total 16
-rw-rw-r--. 1 oracle oracle 6222 Apr  3  2015 README.txt
drwxr-xr-x. 3 oracle oracle 4096 Apr  3  2015 files
drwxr-xr-x. 4 oracle oracle 4096 Apr  3  2015 etc
[oracle@ODIGettingStarted 20551790]$ $ORACLE_HOME/OPatch/opatch version
OPatch Version: 11.2.0.3.20

OPatch succeeded.
[oracle@ODIGettingStarted 20551790]$ $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 11.2.0.3.20
Copyright (c) 2019, Oracle Corporation.  All rights reserved.

PREREQ session

Oracle Home       : /u01/app/oracle/product/11.2.0/orcl
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11.2.0/orcl/oraInst.loc
OPatch version    : 11.2.0.3.20
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/orcl/cfgtoollogs/opatch/opatch2019-04-04_10-24-48AM_1.log

Invoking prereq "checkconflictagainstohwithdetail"

Prereq "checkConflictAgainstOHWithDetail" passed.

OPatch succeeded.
[oracle@ODIGettingStarted 20551790]$ $ORACLE_HOME/OPatch/opatch prereq CheckActiveFilesAndExecutables -ph ./
Oracle Interim Patch Installer version 11.2.0.3.20
Copyright (c) 2019, Oracle Corporation.  All rights reserved.

PREREQ session

Oracle Home       : /u01/app/oracle/product/11.2.0/orcl
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11.2.0/orcl/oraInst.loc
OPatch version    : 11.2.0.3.20
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/orcl/cfgtoollogs/opatch/opatch2019-04-04_10-25-06AM_1.log

Invoking prereq "checkactivefilesandexecutables"

Prereq "checkActiveFilesAndExecutables" for patch 20551790 passed.

OPatch succeeded.
[oracle@ODIGettingStarted 20551790]$ $ORACLE_HOME/OPatch/opatch apply
Oracle Interim Patch Installer version 11.2.0.3.20
Copyright (c) 2019, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/11.2.0/orcl
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11.2.0/orcl/oraInst.loc
OPatch version    : 11.2.0.3.20
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/orcl/cfgtoollogs/opatch/opatch2019-04-04_10-25-24AM_1.log

Verifying environment and performing prerequisite checks...

--------------------------------------------------------------------------------
Start OOP by Prereq process.
Launch OOP...

Oracle Interim Patch Installer version 11.2.0.3.20
Copyright (c) 2019, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/11.2.0/orcl
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11.2.0/orcl/oraInst.loc
OPatch version    : 11.2.0.3.20
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/orcl/cfgtoollogs/opatch/opatch2019-04-04_10-25-33AM_1.log

Verifying environment and performing prerequisite checks...
UtilSession failed:
To run in silent mode, OPatch requires a response file for Oracle Configuration Manager (OCM).
Please run "/tmp/oracle-home-1554387928976335/OPatch/ocm/bin/emocmrsp" to generate an OCM response file. The generated response file
can be reused on different platforms and in multiple OPatch silent installs.

To regenerate an OCM response file, Please rerun "/tmp/oracle-home-1554387928976335/OPatch/ocm/bin/emocmrsp".

Log file location: /u01/app/oracle/product/11.2.0/orcl/cfgtoollogs/opatch/opatch2019-04-04_10-25-33AM_1.log

OPatch failed with error code 73
[oracle@ODIGettingStarted 20551790]$ $ORACLE_HOME/ccr/bin/setupCCR –s –d
An unrecoverable network configuration error was encountered.
peer not authenticated

Unable to establish a network connection to Oracle. Specify the URL for an
Oracle Support Hub in this format:
    http[s]://<OracleSupportHubHost>:<OracleSupportHubPort>
If you do not wish to configure OCM through an Oracle Support Hub, enter NONE
Oracle Support Hub URL: NONE

Unable to establish a network connection to Oracle. If your systems require a
proxy server for outbound Internet connections, enter the proxy server details
in this format:
    [<proxy-user>@]<proxy-host>[:<proxy-port>]
If you want to remain uninformed of critical security issues in your
configuration, enter NONE
Proxy specification: NONE


** Installing base package **
Deploying core - Version 10.3.8.1.0
Deploying engines - Version 10.3.8.1.0
Deploying metricdata - Version 10.3.7.0.0
Deploying rda - Version 4.31.13.3.7
Deploying rdacelin - Version 4.31.13.3.7
Deploying scripts - Version 10.3.8.1.0

Oracle Configuration Manager has been configured in disconnected mode. If the
target ORACLE_HOME is running a database, please refer to the
"Post-installation Database Configuration" section of the OCM Installation
and Administration Guide
(http://www.oracle.com/technology/documentation/ocm.html) to complete the
installation.

View configuration data reports and access valuable configuration best
practices by going to My Oracle Support.
[oracle@ODIGettingStarted 20551790]$ $ORACLE_HOME/OPatch/opatch apply
Oracle Interim Patch Installer version 11.2.0.3.20
Copyright (c) 2019, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/11.2.0/orcl
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11.2.0/orcl/oraInst.loc
OPatch version    : 11.2.0.3.20
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/orcl/cfgtoollogs/opatch/opatch2019-04-04_10-39-16AM_1.log

Verifying environment and performing prerequisite checks...

--------------------------------------------------------------------------------
Start OOP by Prereq process.
Launch OOP...

Oracle Interim Patch Installer version 11.2.0.3.20
Copyright (c) 2019, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/11.2.0/orcl
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11.2.0/orcl/oraInst.loc
OPatch version    : 11.2.0.3.20
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/orcl/cfgtoollogs/opatch/opatch2019-04-04_10-39-25AM_1.log

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   20551790 

Do you want to proceed? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/11.2.0/orcl')


Is the local system ready for patching? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
Backing up files...
Applying interim patch '20551790' to OH '/u01/app/oracle/product/11.2.0/orcl'

Patching component oracle.rdbms.rsf, 11.2.0.4.0...

Patching component oracle.rdbms, 11.2.0.4.0...
Patch 20551790 successfully applied.
Log file location: /u01/app/oracle/product/11.2.0/orcl/cfgtoollogs/opatch/opatch2019-04-04_10-39-25AM_1.log

OPatch succeeded.

[oracle@ODIGettingStarted 20551790]$ $ORACLE_HOME/OPatch/opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.20
Copyright (c) 2019, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/11.2.0/orcl
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11.2.0/orcl/oraInst.loc
OPatch version    : 11.2.0.3.20
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/orcl/cfgtoollogs/opatch/opatch2019-04-04_10-44-06AM_1.log

Lsinventory Output file location : /u01/app/oracle/product/11.2.0/orcl/cfgtoollogs/opatch/lsinv/lsinventory2019-04-04_10-44-06AM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: localhost
ARU platform id: 226
ARU platform description:: Linux x86-64

Installed Top-level Products (1):

Oracle Database 11g                                                  11.2.0.4.0
There are 1 products installed in this Oracle Home.


Interim patches (1) :

Patch  20551790     : applied on Thu Apr 04 10:39:41 EDT 2019
Unique Patch ID:  18776195
   Created on 3 Apr 2015, 01:19:56 hrs PST8PDT
   Bugs fixed:
     20551790



--------------------------------------------------------------------------------

OPatch succeeded.

No comments:

Post a Comment