My Oracle Support Banner

Opatch - Cannot Locate JDK , srvctl Segmentation fault (Doc ID 2954751.1)

Last updated on JULY 21, 2023

Applies to:

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

Symptoms

* opatch command java errors

opatch prereq CheckConflictAgainstOHWithDetail -ph ./
/u01/app/oracle/product/19.0.0.0/dbhome_1/OPatch/opatch: line 839: [: too many arguments
/u01/app/oracle/product/19.0.0.0/dbhome_1/OPatch/opatch: line 839: [: too many arguments
Java (1.7) could not be located. OPatch cannot proceed!
OPatch returns with error code = 1

* srvctl erros Segmentation fault

$ srvctl status database -d MYDB
/u01/app/oracle/product/19.0.0.0/dbhome_1/bin/srvctl: line 332: 186991 Segmentation fault ${JRE} ${JRE_OPTIONS} -DORACLE_HOME=${ORACLE_HOME} -classpath ${CLASSPATH} ${SRVM_PROPERTY_DEFS} oracle.ops.opsctl.OPSCTLDriver "$@"

 

* java command errors "Segmentation fault'

$ /u01/app/oracle/product/19.0.0.0/dbhome_1/jdk/jre/bin/java -version
Segmentation fault

 

Changes

 Imperva install/condfigure

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.