ORAchk Fails With "There are prompts in /opt/oracle/admin/.profile, Which Will Cause Issues in ORAchk Successful Execution" (Doc ID 2179516.1)

Last updated on SEPTEMBER 22, 2016

Applies to:

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

Symptoms

Orachk would receive error message while executing orachk command

$ ./orachk -a

 There are prompts in /opt/oracle/admin/.profile on Node1 which will cause issues in orachk successful execution. Please remove or comment all prompts in /opt/oracle/admin/.profile and run again

Output of .profile :

@Node1: /work/oracle/dba/orachk> cat /opt/oracle/admin/.profile
# Set up the terminal:
if [ "$TERM" = "" ]
then
eval ' /usr/ucb/tset -s -Q -m ':?hp' '
else
eval ' /usr/ucb/tset -s -Q '
fi
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
tabs

 

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