Skip to main content
Participant
August 21, 2014
Question

AMS 5.0.6 on AWS: Cannot log in to Administration Console

  • August 21, 2014
  • 3 replies
  • 2700 views

I've set up an instance of AMS on AWS via the one-click install through the marketplace, and can log in via SSH, but cannot log in to the Administration Console. I have followed the steps to set up the admin user for the AMS admin console:

1. Set the SERVER.ADMIN_USERNAME in /opt/adobe/ams/conf/ams.ini

2. Set the password via ./amsadmin -console -user [username] and verified that the salted password is written to conf/Users.xml

3. Restarted the server and adminserver via ./amsmgr and verified they are running

Yet I still cannot log in to the Administration Console. After entering the Public DNS, username and password, I receive the message: "Login attempt to the server below failed. Please verify your login information and try again." Are there any other ways to troubleshoot this issue?

Thank you!

This topic has been closed for replies.

3 replies

eGovPDXAuthor
Participant
September 15, 2014

Thank you for the help - I went through the steps and it still didn't work, but I discovered something else: the network I'm working from is behind a very restrictive firewall, so all the ports I needed to access were all blocked. Very difficult to troubleshoot without any error messages, and I only discovered it by chance .

So for future generations: If you've tried everything and it still doesn't work, check to make sure the ports you need are open!

Adobe Employee
September 4, 2014

Also you need to make sure that ADMINSERVER_HOSTPORT  is allowed in the security group of your AWS instance...Make also make sure that amsadmin process is running on the server.

eGovPDXAuthor
Participant
September 4, 2014

Thank you for your reply. I've added TCP and UDP rules for 1111 in the Security Group settings, and checking the processes running as root, amsadmin is running like so:

15183 pts/0    00:00:00 amsmaster

15504 pts/0    00:00:00 amsadmin

I have also gone through the steps to reset the password again, yet I still cannot log in. Any troubleshooting tips would be greatly appreciated, as I'm at a dead end here!

Adobe Employee
September 5, 2014

Can you point me out to your aws instance ...so that i can have a look at it?

BTW,

I launched a fresh 5.0.6 instance and did the following steps on my putty terminal and amsadmin is working for me.

[amsadmin@ip-10-239-58-188 ams]$ history

    1  cd /opt/adobe/ams

    2  sudo ./server stop

    3  vi conf/ams.ini   // Changed nothing in ams.ini here

    4  sudo ./amsadmin -console -user admin // Set "password" as the password"

    5  cat conf/Users.xml // Verified that salted hash is indeed available

    6  sudo ./server start

    7  sudo ./amsmgr adminserver start

    8  curl "http://localhost:1111/admin/ping?auser=admin&apswd=password" // The result of this command was as below

<?xml version="1.0" encoding="utf-8"?>

<result>

        <level>status</level>

        <code>NetConnection.Call.Success</code>

        <timestamp>Fri 05 Sep 2014 12:20:20 PM UTC</timestamp>

</result>

    9  history

Note that i used security group which has following permissions

Type

Protocol

Port Range

Source

SSH

TCP

22

0.0.0.0/0

HTTP

TCP

80

0.0.0.0/0

Custom TCP Rule

TCP

1111

0.0.0.0/0

Custom TCP Rule

TCP

1935

0.0.0.0/0

Custom UDP Rule

UDP

1935

0.0.0.0/0

Custom UDP Rule

UDP

19350 - 19360

0.0.0.0/0

Please note that you need to modify Users.xml if you want to allow additional http commands(other than ping) to work.

Now you might ask why admin console swf is not working...We that may again be because of either security grou(network port) restrictions on your client or server machine.

Participating Frequently
August 26, 2014

You also need to set  SERVER.ADMINSERVER_HOSTPORT = :1111 in /opt/adobe/ams/conf/ams.ini

By default, SERVER.ADMINSERVER_HOSTPORT is left blank in /opt/adobe/ams/conf/ams.ini

For more details, please refer Adobe Media Server 5.0.5 * Managing the server for details.