Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-1186

If the URL validation level is set to 0 (full validation) master apache process will crashed for C Agent 5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0.0
    • Fix Version/s: 5.0.0.0
    • Component/s: Web Agents
    • Labels:
    • Environment:
      OpenAM Web Agent for Apache Server 2.4.x 64bit
       Version: 5.0.0-M3
       Revision: 5bad925
       Build machine:
       Build date: Oct 16 2017 10:11:00

      Description

      If the URL validation level is set to 0 (full validation) master apache process will crashed for C Agent 5

       

      Steps to reproduce

      1.) Set up 2 AMs and create agent profile
      2.) Install policy agent and set following properties in agent.conf file. be sure that url.validation.level = 0

      com.sun.identity.agents.config.naming.url = http://perf-openam.internal.forgerock.com:8080/am http://perf-openam2.internal.forgerock.com:8080/am
      com.sun.identity.agents.config.connect.timeout = 4000
      ...
      com.forgerock.agents.ext.url.validation.default.url.set = 0,1
      com.forgerock.agents.ext.url.validation.level = 0
      com.forgerock.agents.ext.url.validation.ping.interval = 5
      com.forgerock.agents.ext.url.validation.ping.miss.count = 2
      com.forgerock.agents.ext.url.validation.ping.ok.count = 2
      

      3.) Hit some protected page
      4.) Observe apache process:

      # ps -ef | grep httpd
      root     30889     1  0 15:58 ?        00:00:00 /etc/httpd24/bin/httpd -k start
      daemon   30890 30889  0 15:58 ?        00:00:00 /etc/httpd24/bin/httpd -k start
      daemon   30894 30889  0 15:58 ?        00:00:00 /etc/httpd24/bin/httpd -k start
      daemon   30895 30889  0 15:58 ?        00:00:00 /etc/httpd24/bin/httpd -k start
      daemon   30896 30889  0 15:58 ?        00:00:00 /etc/httpd24/bin/httpd -k start
      daemon   30995 30889  0 16:00 ?        00:00:00 /etc/httpd24/bin/httpd -k start
      

      5.) Wait some time and the master (root) process will crashed and you will see only child process:

      # ps -ef | grep httpd
      daemon   30890     1  0 15:58 ?        00:00:00 /etc/httpd24/bin/httpd -k start
      daemon   30894     1  0 15:58 ?        00:00:00 /etc/httpd24/bin/httpd -k start
      daemon   30895     1  0 15:58 ?        00:00:00 /etc/httpd24/bin/httpd -k start
      daemon   30896     1  0 15:58 ?        00:00:00 /etc/httpd24/bin/httpd -k start
      daemon   30995     1  0 16:00 ?        00:00:00 /etc/httpd24/bin/httpd -k start

      It is not possible to turn off the agent: httpd (pid 30889?) not running

      The crashed log is attachment _etc_httpd24_bin_httpd.0.crash.txt

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nick.james Nicholas James
              Reporter:
              richard.hruza Richard Hruza
              QA Assignee:
              Richard Hruza Richard Hruza
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: