Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-400

/run/httpd24 disappears after restart of OS causing httpd24 service to not start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • JWS 3.0.2 GA
    • httpd, rpm
    • None
    • Hide
      # reboot
      # systemctl start httpd24
      Job for httpd24.service failed because the control process exited with error code. See "systemctl status httpd24.service" and "journalctl -xe" for details.
      # systemctl status httpd24
      ● httpd24.service - The Apache HTTP Server
         Loaded: loaded (/usr/lib/systemd/system/httpd24.service; disabled; vendor preset: disabled)
         Active: failed (Result: exit-code) since Tue 2016-04-26 10:55:59 EDT; 36s ago
        Process: 1992 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
        Process: 1991 ExecStart=/usr/sbin/httpd24 $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
       Main PID: 1991 (code=exited, status=1/FAILURE)
      
      Apr 26 10:55:58 eap64ews3 systemd[1]: Starting The Apache HTTP Server...
      Apr 26 10:55:58 eap64ews3 httpd24[1991]: httpd24: Syntax error on line 115 of /etc/httpd24/conf/httpd.conf: Syntax error on line 76 of /etc/httpd24/conf.modules.d/00-base.conf: DefaultRuntimeDir must be a valid directo...ive to ServerRoot
      Apr 26 10:55:58 eap64ews3 systemd[1]: httpd24.service: main process exited, code=exited, status=1/FAILURE
      Apr 26 10:55:59 eap64ews3 kill[1992]: kill: cannot find process ""
      Apr 26 10:55:59 eap64ews3 systemd[1]: httpd24.service: control process exited, code=exited status=1
      Apr 26 10:55:59 eap64ews3 systemd[1]: Failed to start The Apache HTTP Server.
      Apr 26 10:55:59 eap64ews3 systemd[1]: Unit httpd24.service entered failed state.
      Apr 26 10:55:59 eap64ews3 systemd[1]: httpd24.service failed.
      Hint: Some lines were ellipsized, use -l to show in full.
      
      # sed -n '76p' /etc/httpd24/conf.modules.d/00-base.conf
      DefaultRuntimeDir /run/httpd24
      
      # mkdir /run/httpd24
      # systemctl start httpd24
      # systemctl status  httpd24
      ● httpd24.service - The Apache HTTP Server
         Loaded: loaded (/usr/lib/systemd/system/httpd24.service; disabled; vendor preset: disabled)
         Active: active (running) since Tue 2016-04-26 10:59:46 EDT; 3s ago
      ...
      
      Show
      # reboot # systemctl start httpd24 Job for httpd24.service failed because the control process exited with error code. See "systemctl status httpd24.service" and "journalctl -xe" for details. # systemctl status httpd24 ● httpd24.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd24.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Tue 2016-04-26 10:55:59 EDT; 36s ago Process : 1992 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) Process : 1991 ExecStart=/usr/sbin/httpd24 $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 1991 (code=exited, status=1/FAILURE) Apr 26 10:55:58 eap64ews3 systemd[1]: Starting The Apache HTTP Server... Apr 26 10:55:58 eap64ews3 httpd24[1991]: httpd24: Syntax error on line 115 of /etc/httpd24/conf/httpd.conf: Syntax error on line 76 of /etc/httpd24/conf.modules.d/00-base.conf: DefaultRuntimeDir must be a valid directo...ive to ServerRoot Apr 26 10:55:58 eap64ews3 systemd[1]: httpd24.service: main process exited, code=exited, status=1/FAILURE Apr 26 10:55:59 eap64ews3 kill[1992]: kill: cannot find process "" Apr 26 10:55:59 eap64ews3 systemd[1]: httpd24.service: control process exited, code=exited status=1 Apr 26 10:55:59 eap64ews3 systemd[1]: Failed to start The Apache HTTP Server. Apr 26 10:55:59 eap64ews3 systemd[1]: Unit httpd24.service entered failed state. Apr 26 10:55:59 eap64ews3 systemd[1]: httpd24.service failed. Hint: Some lines were ellipsized, use -l to show in full. # sed -n '76p' /etc/httpd24/conf.modules.d/00-base.conf DefaultRuntimeDir /run/httpd24 # mkdir /run/httpd24 # systemctl start httpd24 # systemctl status httpd24 ● httpd24.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd24.service; disabled; vendor preset: disabled) Active: active (running) since Tue 2016-04-26 10:59:46 EDT; 3s ago ...

      After installing httpd24-2.4.6-59.ep7.el7.x86_64 package and restarting the server I cannot start up httpd24 service. Workaround is to manually create /run/httpd24 directory.

            rhn-support-csutherl Coty Sutherland
            rhn-support-rbost Robert Bost
            Jan Stourac Jan Stourac
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: