Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
04-02-2018 06:15 AM
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=qlc5Nz7Y7FZv30mNJgIEH8REQc0%3D&Expires=1522437983&AWSAccessKeyId=AKIAIIS3SGXAJWKEDWIQ"></script>'
[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.
Solved! Go to Solution.
04-02-2018 09:37 AM
Can you post the first 20 or so lines of your platform-setup-x64-linux.sh script please?
From this error message, I am not sure if this has the expected content.
04-02-2018 10:11 AM
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
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 from your request for the "first 20 lines" that this wasn't right, so I just clicked the download link and found the actual download link was https://download-files.appdynamics.com/download-file/enterprise-console/4.4.2.7140/platform-setup-x6....
I downloaded it to my local machine and then copied it to my VM, and now it's working.
04-02-2018 10:15 AM
Excellent! I'm glad you're off and running!
If you wish to automate download of the AppDynamics software in the future, the steps to do so are documented here: https://docs.appdynamics.com/display/PRO44/Download+AppDynamics+Software
Warm regards,
Peter
04-03-2018 09:36 AM
Just curious to know if you tried to use -u and -p parameters with aget to specifiy username and password before downloading?
04-04-2018 07:51 AM
Yes. Even when passing --http-user=username and --http-password=password, the downloaded script only shows 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?Signature=1yLW28QQQ%2BTT%2FtTaHXHCX%2F7twrU%3D&Expires=1522856280&AWSAccessKeyId=AKIAIIS3SGXAJWKEDWIQ"></script> <script type="text/javascript" src="https://appd-aperture-prod.s3-us-west-2.amazonaws.com:443/js/login.js?Signature=seYfUHZCNJKHtgYoKlKuSZs%2BmGA%3D&Expires=1522856280&AWSAccessKeyId=AKIAIIS3SGXAJWKEDWIQ"></script> <form id="saml-login-form" style="display:none;"> <input type='hidden' name='csrfmiddlewaretoken' value='EcNQlkgAem3WZUPXtYxKMoxx2LG7Y3QeSFcn4Do1GnDqE8M5ZO2XIj5H7bMpfvZQ' /> <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>
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form