Controller (SaaS, On Premise)

cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax Error During Installation

SOLVED

Syntax Error During Installation

Hi,

 

I just registered for a trial version of Pro. When I run the platform-setup-x64-linux.sh script, I get the following:

 

[me@appdyn01 ~]$ sudo ./platform-setup-x64-linux-4.4.2.7140.sh
./platform-setup-x64-linux-4.4.2.7140.sh: line 2: syntax error near unexpected token `<'
./platform-setup-x64-linux-4.4.2.7140.sh: line 2: `<script type="text/javascript" src="https://appd-aperture-prod.s3-us-west-2.amazonaws.com:443/js/library/jquery-2.1.4.min.js?Signature=v...>'


[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
2 REPLIES 2
Employee

Re: Syntax Error During Installation

Hi,

 

We understand you are trying to install enterprise console. 

 

 

./platform-setup-x64-linux-4.4.2.7140.sh: 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 controller_64bit_linux.sh

 

Please follow below docs for more information.

https://docs.appdynamics.com/display/PRO44/Install+the+Enterprise+Console


Thanks,

Yogesh



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

Re: Syntax Error During Installation

I figured out the issue.

If I do

wget https://download.appdynamics.com/download/prox/download-file/enterprise-console/4.4.2.7140/platform-setup-x64-linux-4.4.2.7140.sh

or

wget --http-username=<myusername> --http-password=<mypassword> https://download.appdynamics.com/download/prox/download-file/enterprise-console/4.4.2.7140/platform-setup-x64-linux-4.4.2.7140.sh

 

the content of platform-setup-x64-linux.sh is this:

<script type="text/javascript" src="https://appd-aperture-prod.s3-us-west-2.amazonaws.com:443/js/library/jquery-2.1.4.min.js?$
<script type="text/javascript" src="https://appd-aperture-prod.s3-us-west-2.amazonaws.com:443/js/login.js?Signature=%2FbdCPxj$

<form id="saml-login-form" style="display:none;">
    <input type='hidden' name='csrfmiddlewaretoken' value='WhRxxNNQDNQlh5oX3ldzLYWq5ZWXQGbKfRyhSQMkcrmpamS90zJQvEgIfOAPNwXB' $
    <input type="hidden" name="login-url" value="https://login.appdynamics.com/sso/samlservice/login/download_server/">

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

 

 

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

https://portal.appdynamics.com/account/initialize/onprem/getting-started/

the actual download link redirected to

 

https://download-files.appdynamics.com/download-file/enterprise-console/4.4.2.7140/platform-setup-x64-linux-4.4.2.7140.sh?Expires=1522689513&Signature=m7lQf0IWJmp4-mmSIrBF4dXkqz3d1hhO64mafELaJcp3OJuPoNqQvTW-43akjwFXjImBxy3qZWEgskzvAHsFUg8R~4RrWYaICs707blQ9sP2f8l1Obzy26nqKG361agqy5xLLR4Kl1bZddk5e-yspBtpSbjKXKqnkObU5vCI129wklHpBsP9-SdPkfHH~OjdqVW-A2rV0EIdhtAAUHXQP2~wWVOV2xzHoPL76dzlmLftarEiHcvh7VjL8ZzK5~lTnvp37oQh0QOT61tOANBZRyh3ylUxAsrKizpeC-mIHY8z4EBp0DGmwTr6-ig9KqC7w63TUa133e-LXGvDJBZBFw__&Key-Pair-Id=APKAI6PWCU7XQZAIYFCA

 

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