Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory

phanidileep

Reviews(1)
byphanidileep, January 16, 2014
0 of 1 people found this review helpful
Hi, I am getting this error when testing for tomcat 5.5

./check_TomcatApplication.sh: line 4: syntax error near unexpected token `newline'
./check_TomcatApplication.sh: line 4: `'
Owner's reply

I am unsure but I think you may have not downloaded the script properly ? can you cat the script is it really a script or have you downloaded the github page ?

try wget https://raw.github.com/vahidhedayati/check_TomcatApplication/master/check_TomcatApplication.sh and attempt it again

If I do wget https://github.com/vahidhedayati/check_TomcatApplication/blob/master/check_TomcatApplication.sh

Then I attempt to execute it I get the same error ./check_TomcatApplication.sh: line 6: syntax error near unexpected token `newline'


But then what I have downloaded is a html page