OPatchauto Failed With Error Message "oracle.dbsysmodel.driver.sdk.productdriver.ProductDriverException: Execution failed for host rachost2 due to : com.oracle.cie.remote.RemoteConnectionException: Failed to connect to remote host rachost2"

(Doc ID 2343159.1)

Last updated on MAY 16, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

While installing Grid Infrastructure (GI) PSU 12.1.0.2.171017, opatchauto fails with the below error

/apps/oracle/grid/product/12.2.0.1/OPatch/opatchauto apply /mnt/pb_dba_share/grid_12.2/patches/p26737266_12.2.0.1.171017/26737266 -oh /apps/oracle/grid/product/12.2.0.1

OPatchauto session is initiated at Wed Dec 20 06:45:16 2017

System initialization log file is /apps/oracle/grid/product/12.2.0.1/cfgtoollogs/opatchautodb/systemconfig2017-12-20_06-45-29AM.log.

Session log file is /apps/oracle/grid/product/12.2.0.1/cfgtoollogs/opatchauto/opatchauto2017-12-20_06-45-57AM.log
The id for this session is S6DE
oracle.dbsysmodel.driver.sdk.productdriver.ProductDriverException: Execution failed for host rachost2 due to : com.oracle.cie.remote.RemoteConnectionException: Failed to connect to remote host rachost2
OPatchAuto failed.

OPatchauto session completed at Wed Dec 20 06:46:04 2017
Time taken to complete the session 0 minute, 48 seconds

opatchauto failed with error code 42

 opatchauto system config logfile shows the following -

2017-12-20 06:46:02,817 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Dec 20, 2017 6:46:02 AM com.oracle.helper.remote.UserEquivalenceCommandHandler createHostObj
2017-12-20 06:46:02,818 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - INFO: ssh connection key: /home/orcrs/.ssh/id_rsa
2017-12-20 06:46:02,825 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Dec 20, 2017 6:46:02 AM com.oracle.helper.remote.RemoteCommandExecutor run
2017-12-20 06:46:02,825 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - INFO: creating handler for host : rachost2
2017-12-20 06:46:02,856 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Dec 20, 2017 6:46:02 AM com.oracle.helper.remote.RemoteCommandExecutor run
2017-12-20 06:46:02,856 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - INFO: Verifying the connection...
2017-12-20 06:46:03,527 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - com.oracle.cie.remote.RemoteConnectionException: Failed to connect to remote host rachost2
2017-12-20 06:46:03,527 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - at com.oracle.cie.remote.SshUserEquivalenceConnHandlerImpl.connect(SshUserEquivalenceConnHandlerImpl.java:59)
2017-12-20 06:46:03,527 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - at com.oracle.helper.remote.RemoteCommandExecutor.run(RemoteCommandExecutor.java:81)
2017-12-20 06:46:03,528 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - at java.lang.Thread.run(Thread.java:745)
2017-12-20 06:46:03,528 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Caused by: com.jcraft.jsch.JSchException: Algorithm negotiation fail
2017-12-20 06:46:03,528 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - at com.jcraft.jsch.Session.receive_kexinit(Session.java:583)
2017-12-20 06:46:03,528 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - at com.jcraft.jsch.Session.connect(Session.java:320)
2017-12-20 06:46:03,529 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - at com.jcraft.jsch.Session.connect(Session.java:183)
2017-12-20 06:46:03,529 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - at com.oracle.cie.remote.SshUserEquivalenceConnHandlerImpl.connect(SshUserEquivalenceConnHandlerImpl.java:56)
2017-12-20 06:46:03,529 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - ... 2 more
2017-12-20 06:46:03,529 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Dec 20, 2017 6:46:03 AM com.oracle.helper.remote.RemoteCommandExecutor run
2017-12-20 06:46:03,529 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - WARNING: Exception while connecting to remote host rachost2 : Failed to connect to remote host rachost2
2017-12-20 06:46:03,532 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Dec 20, 2017 6:46:03 AM com.oracle.helper.remote.UserEquivalenceCommandHandler$UserEquiCommandListener notifyResult
2017-12-20 06:46:03,533 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - INFO: Received command execution result for host rachost2
2017-12-20 06:46:03,535 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Dec 20, 2017 6:46:03 AM oracle.dbsysmodel.driver.sdk.productdriver.remote.HostDataCollector notifyResult
2017-12-20 06:46:03,536 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - INFO: Consolidating result from host : rachost2
2017-12-20 06:46:03,537 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Dec 20, 2017 6:46:03 AM oracle.dbsysmodel.driver.sdk.productdriver.remote.HostDataCollector notifyResult
2017-12-20 06:46:03,537 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - INFO: Connection failed for host rachost2 due to : Failed to connect to remote host rachost2
2017-12-20 06:46:03,552 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Dec 20, 2017 6:46:03 AM oracle.dbsysmodel.driver.sdk.productdriver.remote.HostDataCollector identifyValidNodes
2017-12-20 06:46:03,553 INFO [26] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - INFO: Remote node list for home /apps/oracle/grid/product/12.2.0.1 : []
2017-12-20 06:46:03,605 INFO [1] oracle.dbsysmodel.driver.sdk.util.OsysUtility - Error message :::
2017-12-20 06:46:03,605 INFO [1] oracle.dbsysmodel.driver.sdk.util.OsysUtility - Output message :::
2017-12-20 06:46:03,623 INFO [1] com.oracle.glcm.patch.auto.db.integration.model.productsupport.DBBaseProductSupport - Space available after session: 27465 MB
2017-12-20 06:46:04,799 SEVERE [1] com.oracle.glcm.patch.auto.OPatchAuto - OPatchAuto failed.
com.oracle.glcm.patch.auto.OPatchAutoException: oracle.dbsysmodel.driver.sdk.productdriver.ProductDriverException: Execution failed for host rachost2 due to : com.oracle.cie.remote.RemoteConnectionException: Failed to connect to remote host rachost2
at com.oracle.glcm.patch.auto.OPatchAuto.prepareOrchestration(OPatchAuto.java:775)
at com.oracle.glcm.patch.auto.OPatchAuto.orchestrate(OPatchAuto.java:397)
at com.oracle.glcm.patch.auto.OPatchAuto.orchestrate(OPatchAuto.java:344)
at com.oracle.glcm.patch.auto.OPatchAuto.main(OPatchAuto.java:212)
Caused by: oracle.dbsysmodel.driver.sdk.productdriver.ProductDriverException: Execution failed for host rachost2 due to : com.oracle.cie.remote.RemoteConnectionException: Failed to connect to remote host rachost2
at oracle.dbsysmodel.driver.sdk.productdriver.OUIDriver.checkForException(OUIDriver.java:803)
at oracle.dbsysmodel.driver.sdk.productdriver.OUIDriver.handleExceptions(OUIDriver.java:786)
at oracle.dbsysmodel.driver.sdk.productdriver.OUIDriver.fetchRemoteHostData(OUIDriver.java:756)
at oracle.dbsysmodel.driver.sdk.productdriver.OUIDriver.fetchRemoteNodeData(OUIDriver.java:696)
at com.oracle.glcm.patch.auto.db.integration.model.productsupport.topology.DBPatchingHelper.fetchPreInitiatedNodes(DBPatchingHelper.java:890)
at com.oracle.glcm.patch.auto.db.product.validation.validators.RemoteGIStatusValidation.isFirstNodeOfPatching(RemoteGIStatusValidation.java:276)
at com.oracle.glcm.patch.auto.db.product.validation.validators.RemoteGIStatusValidation.validate(RemoteGIStatusValidation.java:187)
at com.oracle.glcm.patch.auto.db.product.validation.DBValidationController.invoke(DBValidationController.java:87)
at com.oracle.glcm.patch.auto.db.integration.model.productsupport.topology.CRSTopologyBuilder.validate(CRSTopologyBuilder.java:407)
at com.oracle.glcm.patch.auto.db.integration.model.productsupport.topology.AbstractTopologyBuilder.buildTopology(AbstractTopologyBuilder.java:117)
at com.oracle.glcm.patch.auto.db.integration.model.productsupport.topology.CRSTopologyBuilder.buildTopology(CRSTopologyBuilder.java:112)
at com.oracle.glcm.patch.auto.db.integration.model.productsupport.DBBaseProductSupport.loadTopology(DBBaseProductSupport.java:186)
at com.oracle.glcm.patch.auto.db.integration.model.productsupport.DBProductSupport.loadTopology(DBProductSupport.java:69)
at com.oracle.glcm.patch.auto.OPatchAuto.loadTopology(OPatchAuto.java:1732)
at com.oracle.glcm.patch.auto.OPatchAuto.prepareOrchestration(OPatchAuto.java:730)
... 3 more
2017-12-20 06:46:04,802 INFO [1] com.oracle.cie.common.util.reporting.CommonReporter - Reporting console output : Message{id='null', message='oracle.dbsysmodel.driver.sdk.productdriver.ProductDriverException: Execution failed for host rachost2 due to : com.oracle.cie.remote.RemoteConnectionException: Failed to connect to remote host rachost2'}
2017-12-20 06:46:04,802 INFO [1] com.oracle.cie.common.util.reporting.CommonReporter - Reporting console output : Message{id='null', message='OPatchAuto failed.'}
[ 07:01:08 +ASM1@rachost1 ~ ]$

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms