This topic has 1 reply, 1 voice, and was last updated 5 years, 5 months ago by usowmyas.

  • Author
    Posts
  • #10394
     usowmyas
    Participant

    Hi , I’m trying to install an openam web policy agent , using Apache . All configurations are correct . I got is working the 1st time .

    When I tried the same thing second time , i get below error

    [[email protected] opt]# tail -f /etc/httpd/logs/error_log
    [Tue May 10 10:10:12.465343 2016] [suexec:notice] [pid 1] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Tue May 10 10:10:12.474240 2016] [auth_digest:notice] [pid 1] AH01757: generating secret for digest authentication …
    [Tue May 10 10:10:12.474851 2016] [lbmethod_heartbeat:notice] [pid 1] AH02282: No slotmem from mod_heartmonitor
    [Tue May 10 10:10:12.500238 2016] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.6 (CentOS) OpenAM Web Agent/4.0.0-SNAPSHOT configured — resuming normal operations
    [Tue May 10 10:10:12.500254 2016] [core:notice] [pid 1] AH00094: Command line: ‘httpd -D FOREGROUND’
    [Tue May 10 10:11:22.716411 2016] [amagent:error] [pid 22] [client 125.16.15.17:55998] OpenAM Web Agent is not configured to handle the request to / (unable to get agent configuration instance, configuration: /opt/web_agents/apache24_agent/bin/../instances/agent_1/config/agent.conf, error: max number of retries exhausted)
    [Tue May 10 10:11:30.772343 2016] [amagent:error] [pid 22] [client 125.16.15.17:55998] OpenAM Web Agent is not configured to handle the request to /.noindex.html (unable to get agent configuration instance, configuration: /opt/web_agents/apache24_agent/bin/../instances/agent_1/config/agent.conf, error: max number of retries exhausted)
    [Tue May 10 10:17:11.158133 2016] [amagent:error] [pid 24] [client 125.16.15.17:6905] OpenAM Web Agent is not configured to handle the request to / (unable to get agent configuration instance, configuration: /opt/web_agents/apache24_agent/bin/../instances/agent_1/config/agent.conf, error: max number of retries exhausted)
    [Tue May 10 10:17:19.213945 2016] [amagent:error] [pid 24] [client 125.16.15.17:6905] OpenAM Web Agent is not configured to handle the request to /.noindex.html (unable to get agent configuration instance, configuration: /opt/web_agents/apache24_agent/bin/../instances/agent_1/config/agent.conf, error: max number of retries exhausted)
    [Tue May 10 10:17:37.810655 2016] [amagent:error] [pid 54] [client 125.16.15.17:2530] OpenAM Web Agent is not configured to handle the request to / (unable to get agent configuration instance, configuration: /opt/web_agents/apache24_agent/bin/../instances/agent_1/config/agent.conf, error: max number of retries exhausted)agent.conf

    file permissions for agent.conf
    -rw-r–r– 1 root root 6793 May 10 11:38 agent.conf
    -rwxr-xr-x 1 root root 6793 May 10 11:38 agent.conf.bak

    which already has read permissions .

    #10412
     usowmyas
    Participant

    i can see the user for httpd ( Apache Web Server ) is “apache”

    [[email protected] opt]# ps aux | egrep ‘(apache|httpd)’
    root 1 0.0 4.0 508496 41392 ? Ssl 11:38 0:02 httpd -DFOREGROUND
    root 45 0.0 0.0 4360 672 ? S 11:38 0:00 tail -f /etc/httpd/logs/error_log
    apache 2180 0.0 0.6 500420 6576 ? S 14:21 0:00 httpd -DFOREGROUND
    apache 2181 0.0 0.4 500300 4360 ? S 14:21 0:00 httpd -DFOREGROUND
    apache 2182 0.0 0.4 500300 4360 ? S 14:21 0:00 httpd -DFOREGROUND
    apache 2183 0.0 0.4 500300 4360 ? S 14:21 0:00 httpd -DFOREGROUND
    apache 2184 0.0 0.4 500300 4360 ? S 14:21 0:00 httpd -DFOREGROUND
    apache 3469 0.0 0.4 500300 4360 ? S 16:00 0:00 httpd -DFOREGROUND
    root 3523 0.0 0.0 9044 860 ? S+ 16:03 0:00 grep -E –color=auto (apache|httpd)

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

You must be logged in to reply to this topic.

©2021 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?