Installing WebAgent 4.0.0 on OpenAM 13

This topic has 1 reply, 2 voices, and was last updated 5 years, 8 months ago by chary1112004.

  • Author
    Posts
  • #13645
     brian_bro
    Participant

    hi all,

    I am just trying to install apache http webagent 4 to OpenAM 13, then I managed to install apache web server and unzip webagent 4 in a normal user access/ not root. But every time i try to execute ./agentadmin and complete all required param, I always get this error:

    
    Validating...
    
    Error validating OpenAM - Agent configuration.
    See installation log /apps/www/web_agents/apache22_agent/bin/../log/install_20161012125418.log file for more details. Exiting.
    
    Installation failed.
    See installation log /apps/www/web_agents/apache22_agent/bin/../log/install_20161012125418.log file for more details. Exiting.
    

    Then I checked how it’s going on my log file:

    
    2016-10-12 12:55:37  Agent password file /tmp/pwd.txt
    2016-10-12 12:55:37  agent password file /tmp/pwd.txt opened successfully
    2016-10-12 12:55:39  validating configuration parameters...
    2016-10-12 12:55:39  send_authcontext_request(): sending 478 bytes
    2016-10-12 12:55:39  send_authcontext_request(): response status code: 200
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <ResponseSet vers="1.0" svcid="auth" reqid="0">
    <Response><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
    <AuthContext version="1.0"><Response authIdentifier="AQIC5wM2LY4Sfcwb6C9Gqa88VEkzuFQs7nqQC2MJh7LEeD4.*AAJTSQACMDEAAlNLABM0MjIxNTA2ODg0NTgzMzA1MTE5AAJTMQAA*"><LoginStatus status="in_progress"></LoginStatus></Response></AuthContext>]]></Response>
    </ResponseSet>
    2016-10-12 12:55:39  create_cookie_header(): request header: Cookie: JSESSIONID=249D546570B3885316A3B84BE5EEF5A6; amlbcookie=01^M
    
    2016-10-12 12:55:39  send_login_request(): sending 1197 bytes
    2016-10-12 12:55:44  send_login_request(): authenticate response status code: 0
    (empty)
    2016-10-12 12:55:44  am_agent_login(): closing connection after failure
    2016-10-12 12:55:44  error validating OpenAM agent configuration
    2016-10-12 12:55:44  installation error
    2016-10-12 12:55:44  installation exit
    

    I need help what’s wrong in my instalation?

    #13662
     chary1112004
    Participant

    Hi,

    Did you create Webagent profile in OpenAM console with password as same in /tmp/pwd.txt?

    Some steps I did:
    – Create the Agent Profile in OpenAM Console

    – Create a Password File
    echo webagent > /var/tmp/webagent/pwd.txt
    sudo chmod 400 /var/tmp/webagent/pwd.txt

    – Download
    https://backstage.forgerock.com/#!/downloads/OpenAM/Web%20Policy%20Agents/4.0.0#browse

    – Install
    sudo -iu root
    chmod u+x /etc/webagent/apache24_agent/bin/agentadmin
    cd /etc/webagent/apache24_agent/bin
    ./agentadmin –i

    Regards,
    Uyen

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?