Introduction:-
In this article, we will discuss how to resolve Adop Fails With Error: ssh is not enabled for the following nodes. Use the txkRunSSHSetup.pl command to enable SSH:
How do you restart a failed patch in R12 2?
Getting the error Adop Fails With Error: ssh is not enabled while applying a patch . After fix ssh is not enabled error, we can simple restart failed patching using option restart=yes.
$adop phase=apply restart=yes
adop phase=prepare
Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:
Validating credentials.
Initializing.
Run Edition context : /data05/EBS_FS_12.2.5/fs1/inst/apps/PHASE1_***test/appl/admin/PHASE1_***test.xml
Patch edition context: /data05/EBS_FS_12.2.5/fs2/inst/apps/PHASE1_***test/appl/admin/PHASE1_***test.xml
Patch file system free space: 284.47 GB
Validating system setup.
Node registry is valid.
Log: /data05/EBS_FS_12.2.5/fs1/inst/apps/PHASE1_***test/logs/appl/rgf/TXK/verifyssh.log
Output: /data05/EBS_FS_12.2.5/fs1/inst/apps/PHASE1_***test/logs/appl/rgf/TXK/out.xml
ssh is not enabled for the following nodes
- - - - - - - - - - - - - - - - - - - - - -
erpbackup
[UNEXPECTED]ssh is not enabled.
[UNEXPECTED]Available options are as follows.
[UNEXPECTED]- To enable ssh, run the following command:
perl /data05/EBS_FS_12.2.5/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkRunSSHSetup.pl enablessh
-contextfile=/data05/EBS_FS_12.2.5/fs1/inst/apps/PHASE1_***test/appl/admin/PHASE1_***test.xml
-hosts=***test,erpbackup
Then try the adop command again.
[UNEXPECTED]- Otherwise, with ssh disabled you must run adop on each node:
On the admin node, run: adop phase=<desired phase> allnodes=no action=db
On the other nodes, run: adop phase=<desired phase> allndoes=no action=nodb
[UNEXPECTED]Error verifying ssh setup.
[STATEMENT] Please run adopscanlog utility, using the command
"adopscanlog -latest=yes"
to get the list of the log files along with snippet of the error message corresponding to each log file.
adop exiting with status = 2 (Fail)
Use the txkRunSSHSetup.pl command to enable SSH:
[[email protected] ~]$ perl /data05/EBS_FS_12.2.5/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkRunSSHSetup.pl enablessh
> -contextfile=/data05/EBS_FS_12.2.5/fs1/inst/apps/PHASE1_***test/appl/admin/PHASE1_***test.xml
> -hosts=***test,erpbackup
Enter SSH User password for the OS user applmgr:
Log: /data05/EBS_FS_12.2.5/fs1/inst/apps/PHASE1_***test/logs/appl/rgf/TXK/enablessh.log
SSH equivalence setup successful.
Related/References:-