My Oracle Support Banner

datapatch -sanity_check on Solaris Sparc Fails with Error: "grep: illegal option -- e" (Doc ID 2991541.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.21.0.0.0 and later
Oracle Solaris on SPARC (64-bit)

Symptoms

datapatch -sanity_check fails with following error:

Log file for this invocation: /u01/app/oracle/homes/OraDB_Home1/cfgtoollogs/sqlpatch/sanity_checks_20231102_090614_11531/sanity_checks_20231102_090614_11531.logRunning checks

grep: illegal option -- e
Usage: grep [-c|-l|-q] -bhinsvw pattern file . . .grep: illegal option -- e
Usage: grep [-c|-l|-q] -bhinsvw pattern file . . .
grep: illegal option -- e
Usage: grep [-c|-l|-q] -bhinsvw pattern file . . .grep: illegal option -- e
Usage: grep [-c|-l|-q] -bhinsvw pattern file . . .
grep: illegal option -- e
Usage: grep [-c|-l|-q] -bhinsvw pattern file . . .

ERROR

-----------------------
grep: illegal option -- e

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
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.