Forum Discussion
Dbow_21284
Jul 13, 2009Nimbostratus
Ok BAM ... its failing.
++ echo 10.10.185.39
++ sed s/::ffff://
+ IP=10.10.185.39
+ $'\r'
: command not foundTLM_Auth_Intranet: line 3:
+ PORT=80
+ $'\r'
: command not foundTLM_Auth_Intranet: line 5:
++ basename /usr/bin/monitors/NTLM_Auth_Intranet
+ PIDFILE=/var/run/NTLM_Auth_Intranet._.pid
+ $'\r'
: command not foundTLM_Auth_Intranet: line 6:
'usr/bin/monitors/NTLM_Auth_Intranet: line 11: syntax error near unexpected token `
'usr/bin/monitors/NTLM_Auth_Intranet: line 11: `fi
It looks like its failing on these lines:
LINE 3= IP=`echo ${1} | sed 's/::ffff://'`
LINE 5= PORT=${2}
LINE 6= PIDFILE="/var/run/`basename ${0}`.${IP}_${PORT}.pid"
Could this be a version thing? I have 9.4.2.
I definitely have the host headers right too and definitely the script name (case that is) is working as it opened the script.
Hmmmmmmmmmmmm.