Install, Upgrade, Clone, Patch - EBS (MOSC)

MOSC Banner

question about suppressing perl script output

Trying to suppress some of the stty output that goes to the display when doing EBS cloning.

* without it

->echo ${appspwd} | perl $ORACLE_HOME/appsutil/clone/bin/adcfgclone.pl dbconfig $ORACLE_HOME/appsutil/$TARGET_PDB'_'`hostname -s`.xml >$LOG_FILE_HOME/adcfgclone.log

stty: standard input: Inappropriate ioctl for device

stty: standard input: Inappropriate ioctl for device

stty: standard input: Inappropriate ioctl for device

stty: standard input: Inappropriate ioctl for device


* with stderr redirected to stdout (2>&1) it now works as expected - no stty output errors

echo ${appspwd} | perl $ORACLE_HOME/appsutil/clone/bin/adcfgclone.pl dbconfig $ORACLE_HOME/appsutil/$TARGET_PDB'_'`hostname -s`.xml >$LOG_FILE_HOME/adcfgclone.log 2>&1 

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center