Linux Commands copied from documentation will not run

(Doc ID 2352518.1)

Last updated on JANUARY 25, 2018

Applies to:

Oracle WebCenter Content - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Symptoms

As part of migrating middleware to a new server, the pasteBinary.sh script is being run.

However, the script is failing to execute.

The command:

./pasteBinary.sh –javaHome /oraclemount/doracle/app/oracle/jdk/jre –archiveLoc /oraclemount/doracle_mw_clone.jar –targetMWHomeLoc /oraclemount/doracle/app/oracle/middleware/11.1.1

Simply returns the --help data for the command, suggesting that the script isn't running due to bad syntax, etc....as opposed to a defined error on the system

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