Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-812

mod_md: expected directory structure not created

    XMLWordPrintable

Details

    • ER3
    • -
    • Workaround Exists
    • Hide

      In the build script manually create and give full permissions to /opt/rh/jbcs-httpd24/root/var/lib/httpd/md

      Show
      In the build script manually create and give full permissions to /opt/rh/jbcs-httpd24/root/var/lib/httpd/md
    • Hide

      1. as root
      2. unpack zip
      3. .postinstall
      4. change port from 80 -> 1080 (httpd.conf)
      5. change port from 443 -> 1443 (ssl.conf)
      6. chmod 777 logs
      7. chmod -R 777 cache
      8. as user
      9. ./apache start

      Show
      1. as root 2. unpack zip 3. .postinstall 4. change port from 80 -> 1080 (httpd.conf) 5. change port from 443 -> 1443 (ssl.conf) 6. chmod 777 logs 7. chmod -R 777 cache 8. as user 9. ./apache start

    Description

      httpd failed to start correctly during testing, causing all mod_cluster test to fail.
      from the log:

      [Tue Jul 30 07:56:13.860687 2019] [core:notice] [pid 2113:tid 3078526800] SELinux policy enabled; httpd running as context unconfined_u:unconfined_r:unconfined_java_t:s0-s0:c0.c1023
      [Tue Jul 30 07:56:13.862327 2019] [md:debug] [pid 2113:tid 3078526800] mod_md.c(1013): AH10070: initializing post config dry run
      [Tue Jul 30 07:56:13.862345 2019] [md:debug] [pid 2113:tid 3078526800] mod_md.c(361): AH10037: server seems not reachable via http: (port 80->80) and not reachable via https: (port 443->443)
      [Tue Jul 30 07:56:13.862516 2019] [md:error] [pid 2113:tid 3078526800] (13)Permission denied: init fs store at /opt/rh/jbcs-httpd24/root/var/lib/httpd/md
      [Tue Jul 30 07:56:13.862554 2019] [md:error] [pid 2113:tid 3078526800] (13)Permission denied: AH10046: setup store for /opt/rh/jbcs-httpd24/root/var/lib/httpd/md
      [Tue Jul 30 07:56:13.862561 2019] [md:error] [pid 2113:tid 3078526800] (13)Permission denied: AH10072: setup md registry
      AH00016: Configuration Failed

      Note:
      if it's installed manually as root, which is the case for rpm tests; it works as expected.

      Attachments

        Activity

          People

            pprokopi@redhat.com Petros Marios Prokopiou (Inactive)
            plodge Paul Lodge
            Paul Lodge Paul Lodge
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: