Database - RAC/Scalability (MOSC)

MOSC Banner

tfa installation report 0403-057 syntax error

edited Apr 16, 2016 5:01AM in Database - RAC/Scalability (MOSC) 1 commentAnswered

when installing TFA on AIX, it reports 0403-057 Syntax error at discover_ora_stack.sh.

"Discovering Nodes and Oracle resources
/u01/app/grid/tfa/hydrodb1/tfa_home/bin/discover_ora_stack.sh[776]: 0403-057 Syntax error at line 776 : `(' is not expected. "


the content of this script at line 776 is :

function assign_scr_switches ()                                  <<<<<<==============   line 776
{
  crs_version_switch="crs activeversion"
  bash_scr="/bin/env bash"
  bash_path=""
  if [[ ! -f "/bin/bash" || ! -f "/bin/env" ]] ; then
    bash_scr=$(which bash)
  fi
  if [[ ! -f "/bin/bash" ]] ; then
    bash_path=$(dirname $bash_scr)
  fi
  bash_source="if [ -e \"/etc/profile\" ] ; then . /etc/profile >/dev/null 2>&1; fi; if [ -e \"\$HOME/.bash_profile\" ] ; then . \$HOME/.bash_profile >/dev/null 2>&1; elif [ -e \"\$HOME/.bash_login\" ] ; then . \$HOME/.bash_login >/dev/null 2>&1; elif [ -e \"\$HOME/.profile\" ] ; then . \$HOME/.profile >/dev/null 2>&1; fi;set +u"

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