Skip to main content
Participating Frequently
April 1, 2014
Question

AMS 5.0.4 on Amazon cant access conf file

  • April 1, 2014
  • 1 reply
  • 1814 views

In the user guide at www.adobe.com/go/ams_on_aws_help, it says the conf files can be accessed. They seamed to be locked. The new amazon ami's files are now locked. In the 5.0.3 they were not.  I've even changed the permissions to 777.

this seams to also effect the command prompt box will not let me change the username and password to access the AMS console.  Step by step instruction needed please.

Any help, Thank you.

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    April 1, 2014

    Please note that you are logged in into ami under user amsadmin...And in order to modify files assocciated with other users, you must use sudo or similar commands to elevate the privileges.

    Participating Frequently
    April 4, 2014

    here is what I am using from putty and linux command prompts all with 'sudo' prefix to each line

    My AMS is running on amazon ec2 instance. and port 1111 is in the security group that runs the ec2.

    #!/bin/bash

    sed -i "s/^SERVER.ADMIN_USERNAME.*=/SERVER.ADMIN_USERNAME = toprankwrestling/" /opt/adobe/ams/conf/ams.ini

    sed -i "s/^SERVER.ADMINSERVER_HOSTPORT.*=/SERVER.ADMINSERVER_HOSTPORT = :1111/" /opt/adobe/ams/conf/ams.ini

    chown ams:ams /opt/adobe/ams/conf/ams.ini

    sed -i "s/HttpStreamingFragMaxAge -1/HttpStreamingFragMaxAge 60/" /opt/adobe/ams/Apache2.2/conf/httpd.conf

    sed -i "s/ HLSTSSegmentMaxAge -1/HLSTSSegmentMaxAge 60/" /opt/adobe/ams/Apache2.2/conf/httpd.conf

    /opt/adobe/ams/amsmgr adminserver stop

    /opt/adobe/ams/amsadmin -console -user toprankwrestling (then asks for new password)

    /opt/adobe/ams/amsmgr adminserver start

    /opt/adobe/ams/amsmgr server ams restart

    All the commands go through without error. But, then when I try to use ams admin console:

    http://(ip Address).compute-1.amazonaws.com/ams_adminConsole.htm

    and enter server ip:1111, user name, password- it just says invalid User name and password.

    Adobe Employee
    April 7, 2014

    1. By default all the files inside conf folder have ownership as am:ams...IMHO, that step should not be required...BTW, can you confirm if that is indeed the case

    2. After executing /opt/adobe/ams/amsadmin -console -user toprankwrestling command, can you check if Users.xml has new salted hash of the password in it.