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

.postinstall script does not work in JBCS Apache 2.4.51 SP2 zip for RHEL9 due to changing conf names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Undefined Undefined
    • httpd 2.4.57.SP3 GA
    • None
    • RHEL9, zip
    • None
    • False
    • None
    • False

      From JBCS 2.4.51 SP2 zipped archive for RHEL9, .sample has been added as a suffix to all config files, such as httpd.conf.sample. The following error shows when running .postinstall script due to renaming configuration file names. It would be necessary to revert the configuration files name or fix the .postinstall.sh to align with the new configuration file.

      # cp jbcs-httpd24-httpd-2.4.51-SP2-RHEL9-x86_64.zip /opt
      # cd /opt
      # unzip jbcs-httpd24-httpd-2.4.51-SP2-RHEL9-x86_64.zip
      # cd jbcs-httpd24-2.4/httpd
      # sh .postinstall
      sed: can't read conf/httpd.conf: No such file or directory
      sed: can't read conf.d/autoindex.conf: No such file or directory
      sed: can't read conf.d/ssl.conf: No such file or directory
      sed: can't read conf.d/manual.conf: No such file or directory
      sed: can't read conf.d/welcome.conf: No such file or directory
      useradd: user 'apache' already exists
      sed: can't read conf.modules.d/00-base.conf: No such file or directory
      grep: conf.modules.d/00-base.conf: No such file or directory
      

              dsoumis Dimitris Soumis
              rhn-support-nagetsum Norito Agetsuma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: