'The Errno is 8 : Exec Format Error' When Running External Health Check Script in Oracle Traffic Director

(Doc ID 2320845.1)

Last updated on OCTOBER 25, 2017

Applies to:

Oracle Traffic Director - Version 11.1.1.9.0 to 12.2.1.0.0 [Release 11gR1]
Information in this document applies to any platform.

Symptoms

External Health Check Command Fails with:

 


Same script ran fine from command line:

#/bin/bash
# Pick up host/port info
while test $# -gt 0
do
  case "$1" in
    -h)
      host=$2
      shift
      ;;
    -p)
      port=$2
      ;;
  esac
  shift
done

curl -i -k -x '' https://$host:$port/testJsp | grep "HTTP/1.1 200"
RESULT=$?
exit $RESULT

# ./testScript.sh

 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1711  100  1711    0     0   9857      0 --:--:-- --:--:-- --:--:-- 40738
HTTP/1.1 200 OK

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