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

ZIP: postinstall updates ssl.conf with wrong paths, httpd won't start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • httpd 2.4.6 DR3
    • httpd 2.4.6 DR2
    • httpd, zip
    • None
    • Fixed in DR2.1
    • Hide

      1. Install JBCS httpd from zip
      2. Run postinstall
      3. Start apache httpd

      Show
      1. Install JBCS httpd from zip 2. Run postinstall 3. Start apache httpd

      The postinstall script updates ssl.conf, which contains (depending on jbcs unzipped dir):

      35: SSLPassPhraseDialog exec:/opt/rh/jbcs-httpd24/root/opt/ews/workspace/jbcs-httpd24-2.4/httpd/sbin/httpd-ssl-pass-dialog
      

      which prevents from httpd from start. Log output:

      AH00526: Syntax error on line 35 of /opt/ews/workspace/jbcs-httpd24-2.4/httpd/conf.d/ssl.conf:
      SSLPassPhraseDialog: file '/opt/rh/jbcs-httpd24/root/opt/ews/workspace/jbcs-httpd24-2.4/httpd/sbin/httpd-ssl-pass-dialog' does not exist
      

      It's because ssl.conf contains this line before postinstall is run:

      35 SSLPassPhraseDialog exec:/opt/rh/jbcs-httpd24/root/usr/libexec/httpd-ssl-pass-dialog
      

      and postinstall only replaces /usr/libexec/ with actual directory.

            fnasser Fernando Nasser
            fgoldefu@redhat.com Filip Goldefus (Inactive)
            Filip Goldefus Filip Goldefus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: