Controller (SaaS, On Premise)

Showing results for 
Search instead for 
Did you mean: 

Syntax Error During Installation




I just registered for a trial version of Pro. When I run the script, I get the following:


[me@appdyn01 ~]$ sudo ./
./ line 2: syntax error near unexpected token `<'
./ line 2: `<script type="text/javascript" src=">'

[me@appdyn01 ~]$ cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core)


Is anyone else having this issue? I thought the license might have to be in the same directory so I put it there, but I'm getting the same thing.

Syntax Error During Installation
AppDynamics Team



We understand you are trying to install enterprise console. 



./ line 2: syntax error near unexpected token `<'

It looks like the file is corrupted. Can you please download it again and let us know if you are still having the same issue.

You can check the checksum of the downloaded file and see if it matches with the checksum of the file available on download site. 
$ md5sum


Please follow below docs for more information.



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

I figured out the issue.

If I do



wget --http-username=<myusername> --http-password=<mypassword>


the content of is this:

<script type="text/javascript" src="$
<script type="text/javascript" src="$

<form id="saml-login-form" style="display:none;">
    <input type='hidden' name='csrfmiddlewaretoken' value='WhRxxNNQDNQlh5oX3ldzLYWq5ZWXQGbKfRyhSQMkcrmpamS90zJQvEgIfOAPNwXB' $
    <input type="hidden" name="login-url" value="">

    <button type="submit" class="btn btn_org">Log In</button>



I figured out that when I click the "Download Enterprise Console here:" link from

the actual download link redirected to


I downloaded it to my local machine and then copied it to my VM, and now it's working.