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

JBCS 2.4.29 GA archive for Windows OS does not start since its pointing to wrong SERVER_CONFIG_FILE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • httpd 2.4.29 GA
    • httpd
    • None
    • ?
    • Workaround Exists
    • Hide
      • Workaround for this as of now is using the command to point to the correct configuration file as below :
        ~~~~~~~~~
        httpd.exe -k start -f "C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\etc\httpd\conf\httpd.conf"
        ~~~~~~~~~
      Show
      Workaround for this as of now is using the command to point to the correct configuration file as below : ~~~~~~~~~ httpd.exe -k start -f "C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\etc\httpd\conf\httpd.conf" ~~~~~~~~~
    • Hide
      • Extracted "jbcs-httpd24-httpd-2.4.29-win6.x86_64.zip" downloaded from RedHat Customer portal and performed below steps :
        ~~~~~~~~~
        C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\etc>call .postinstall.httpd.bat

      C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\bin>httpd.exe -k stop
      The 'Apache2.4' service is not started.

      C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\bin>httpd.exe -k start
      httpd.exe: Could not open configuration file C:/Users/Administrator/Desktop/jbcs-httpd24-httpd-2.4.29-win6.x86_64/jbcs-httpd24-2.4/conf/httpd.conf: The system cannot find the path specified.
      ~~~~~~~~~

      Show
      Extracted "jbcs-httpd24-httpd-2.4.29-win6.x86_64.zip" downloaded from RedHat Customer portal and performed below steps : ~~~~~~~~~ C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\etc>call .postinstall.httpd.bat C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\bin>httpd.exe -k stop The 'Apache2.4' service is not started. C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\bin>httpd.exe -k start httpd.exe: Could not open configuration file C:/Users/Administrator/Desktop/jbcs-httpd24-httpd-2.4.29-win6.x86_64/jbcs-httpd24-2.4/conf/httpd.conf: The system cannot find the path specified. ~~~~~~~~~

      JBCS 2.4.29 GA archive for Windows OS does not start since its pointing to wrong SERVER_CONFIG_FILE

      Steps to reproduce :

      • Extracted "jbcs-httpd24-httpd-2.4.29-win6.x86_64.zip" downloaded from RedHat Customer portal and performed below steps :
        ~~~~~~~~~
        C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\etc>call .postinstall.httpd.bat

      C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\bin>httpd.exe -k stop
      The 'Apache2.4' service is not started.

      C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\bin>httpd.exe -k start
      httpd.exe: Could not open configuration file C:/Users/Administrator/Desktop/jbcs-httpd24-httpd-2.4.29-win6.x86_64/jbcs-httpd24-2.4/conf/httpd.conf: The system cannot find the path specified.
      ~~~~~~~~~

      • Workaround for this as of now is using the command to point to the correct configuration file as below :
        ~~~~~~~~~
        httpd.exe -k start -f "C:\Users\Administrator\Desktop\jbcs-httpd24-httpd-2.4.29-win6.x86_64\jbcs-httpd24-2.4\etc\httpd\conf\httpd.conf"
        ~~~~~~~~~

      This is a change in behavior where httpd.exe now looks for its httpd.conf file is a new location, yet the htpd.conf file is still extracted to / installed in the same old location. It can be confirmed by running the "httpd -V" command:
      ~~~~~~~~~
      Results of "httpd -V" with Apache httpd 2.4.23:
      Server compiled with...
      -D SERVER_CONFIG_FILE="etc/httpd/conf/httpd.conf"

      Results of "httpd -V" with Apache httpd 2.4.29:
      Server compiled with...
      -D SERVER_CONFIG_FILE="conf/httpd.conf"
      ~~~~~~~~~

              gzaronik@redhat.com George Zaronikas
              rhn-support-gandavar Girish Andavarapu (Inactive)
              Jan Onderka Jan Onderka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: