Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-4049

Web Agent install fails on Debian-based distributions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Expired
    • Affects Version/s: Agents-3.3.0, Agents-3.3.4
    • Fix Version/s: None
    • Component/s: install, web agents
    • Labels:
    • Environment:
      Ubuntu server 64 bit
    • Needs backport:
      No
    • Needs QA verification:
      No
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      No (add reasons in the comment)

      Description

      When installing the web agent with:

      $> stu@AuthTest:~/web_agents/apache24_agent/bin$ sudo ./agentadmin --install

      And entering the apache config directory (this is just the stock package pulled down with apt-get, no configuration), you get:

      ERROR: Invalid Apache Server Config directory . Please try again.
      Invalid directory : /etc/apache2

      Creating a symbolic link:
      $> cd /etc/apache2
      $> sudo ln -s apache2.conf httpd.conf

      Allowed the install to proceed.

      So it looks like the install just checks if the file "httpd.conf" exists in the apache configuration directory.

      I believe debian, at least, has used "apache2.conf" since 2003-2004, at least. So any debian-based distro (including ubuntu) will generally use that.

      At the very least, a better error ("No httpd.conf file found in HTTPD configuration directory") would speed things along..

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stuAtForgeRock Stu S [X] (Inactive)
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: