PCG Patch "16896587" Result In Error "SP2-0042: unknown command "!/bin/sh" - rest of line ignored" (Doc ID 2083342.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Preventive Controls Governor - Version 7.3.1 to 7.3.1 [Release 7]
Information in this document applies to any platform.

Symptoms

On : 7.3.3 version, Patch Application Issues

When attempting to run pcg_r122_patch.sh which is part of PCG patch16896587,
the following error occurs.

ERROR
-----------------------
SP2-0042: unknown command "!/bin/sh" - rest of line ignored.
SP2-0734: unknown command beginning "PROCEED='F..." - rest of line ignored.
SP2-0734: unknown command beginning "while [ ! ..." - rest of line ignored.
SP2-0042: unknown command "do" - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run pcg_r122_patch.sh which is part of PCG patch16896587
2. Results into reported error.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot apply PCG patch16896587.

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