
OPatchAuto execution fails during the bootstrap phase with error code 255.
The failure prevents successful patching operations.
Symptom
Getting issue while running the Opatchauto on my Oracle Restart Envioment:
The OPatch process encountered an error: "bash: zip: command not found."
OPatchauto bootstrapping failed with the error code 255, and the following error message: "OPATCHAUTO-72083: Performing bootstrap operations failed. OPATCHAUTO-72083: The bootstrap execution failed because Failed to unzip files on path./<Directory>/19.27/37641958/37642901/files/perl.zipError::su: failed to execute /bin/bash: Resource temporarily unavailable."
OPatchauto session is initiated at Fri Apr 25 03:19:05 2025
OPATCHAUTO-72083: Performing bootstrap operations failed.
OPATCHAUTO-72083: The bootstrap execution failed because Failed to unzip files on path./<Directory>/19.27/37641958/37642901/files/perl.zipError::su: failed to execute /bin/bash: Resource temporarily unavailable
.
OPATCHAUTO-72083: Fix the reported problem and re-run opatchauto. In case of standalone SIDB installation and Grid is not installed re-run with -sidb option.
com.oracle.glcm.patch.auto.OPatchAutoException: OPATCHAUTO-72083: Performing bootstrap operations failed.
OPATCHAUTO-72083: The bootstrap execution failed because Failed to unzip files on path./<Directory>/19.27/37641958/37642901/files/perl.zipError::su: failed to execute /bin/bash: Resource temporarily unavailable
.
OPATCHAUTO-72083: Fix the reported problem and re-run opatchauto. In case of standalone SIDB installation and Grid is not installed re-run with -sidb option.
at com.oracle.glcm.patch.auto.db.util.BootstrapHandler.performBootstrapping(BootstrapHandler.java:542)
at com.oracle.glcm.patch.auto.db.util.BootstrapHandler.main(BootstrapHandler.java:98)
OPatchauto session completed at Fri Apr 25 03:19:10 2025
Time taken to complete the session 0 minute, 5 seconds
opatchauto bootstrapping failed with error code 255.
OPatchauto session is initiated at Fri Apr 25 03:21:27 2025
Cause
Based on the analysis, it came to know that on my system bash ,zip package was not installed
Also perl was not found on the location where opatch was searching.
Solution
To fix the OPatchAuto bootstrapping failure,Executed the below steps
- Installed the Bash and Zip Package
- Need to set the perl as per below
export PATH=$ORACLE_HOME/perl/bin:$PATH
export PERL5LIB=$ORACLE_HOME/perl/lib/5.14.1:$ORACLE_HOME/perl/lib/site_perl/<version>/x86_64-linux-thread-multi
export PATH=$ORACLE_HOME/perl/bin:$PATH
export PERL5LIB=$ORACLE_HOME/perl/lib

Leave a comment