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

RPM httpd24 package -/usr/lib/tmpfiles.d/httpd24.conf creates the incorrectly directories

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • JWS 3.0.3 GA
    • httpd
    • None
    • Hide
      - Install the httpd24 from JBoss Web Server 3
            # yum install httpd24
      - Remove the  /run/httpd* directories 
           # rm -rf /run/httpd*
      - Reboot the server 
      - The systemd-tmpfiles does not create the "/run/httpd24" 
      - Attempt to start the httpd24 service 
         #  systemctl start httpd24.service 
      
      Results:
      httpd24 service fails to start 
      
      # systemctl status httpd24.service 
      ● httpd24.service - The Apache HTTP Server
         Loaded: loaded (/usr/lib/systemd/system/httpd24.service; disabled; vendor preset: disabled)
         Active: failed (Result: exit-code) since Mon 2018-07-23 16:29:16 EDT; 9min ago
        Process: 1205 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
        Process: 1204 ExecStart=/usr/sbin/httpd24 $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
       Main PID: 1204 (code=exited, status=1/FAILURE)
      
      Jul 23 16:29:16 hp.example.com systemd[1]: Starting The Apache HTTP Server...
      Jul 23 16:29:16 hp.example.com httpd24[1204]: 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 directory, absolute or relative to ServerRoot
      Jul 23 16:29:16 hp.example.com systemd[1]: httpd24.service: main process exited, code=exited, status=1/FAILURE
      Jul 23 16:29:16 hp.example.com kill[1205]: kill: cannot find process ""
      Jul 23 16:29:16 hp.example.com systemd[1]: httpd24.service: control process exited, code=exited status=1
      Jul 23 16:29:16 hp.example.com systemd[1]: Failed to start The Apache HTTP Server.
      Jul 23 16:29:16 hp.example.com systemd[1]: Unit httpd24.service entered failed state.
      Jul 23 16:29:16 hp.example.com systemd[1]: httpd24.service failed.
      
      Show
      - Install the httpd24 from JBoss Web Server 3 # yum install httpd24 - Remove the /run/httpd* directories # rm -rf /run/httpd* - Reboot the server - The systemd-tmpfiles does not create the "/run/httpd24" - Attempt to start the httpd24 service # systemctl start httpd24.service Results: httpd24 service fails to start # systemctl status httpd24.service ● httpd24.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd24.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2018-07-23 16:29:16 EDT; 9min ago Process: 1205 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) Process: 1204 ExecStart=/usr/sbin/httpd24 $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 1204 (code=exited, status=1/FAILURE) Jul 23 16:29:16 hp.example.com systemd[1]: Starting The Apache HTTP Server... Jul 23 16:29:16 hp.example.com httpd24[1204]: 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 directory, absolute or relative to ServerRoot Jul 23 16:29:16 hp.example.com systemd[1]: httpd24.service: main process exited, code=exited, status=1/FAILURE Jul 23 16:29:16 hp.example.com kill[1205]: kill: cannot find process "" Jul 23 16:29:16 hp.example.com systemd[1]: httpd24.service: control process exited, code=exited status=1 Jul 23 16:29:16 hp.example.com systemd[1]: Failed to start The Apache HTTP Server. Jul 23 16:29:16 hp.example.com systemd[1]: Unit httpd24.service entered failed state. Jul 23 16:29:16 hp.example.com systemd[1]: httpd24.service failed.

      The directories listed in /usr/lib/tmpfiles.d/httpd24.conf file is incorrect.

      The content of the /usr/lib/tmpfiles.d/httpd24.conf file is:

      d /run/httpd   710 root apache
      d /run/httpd/htcacheclean   700 apache apache
      

      instead of:

      d /run/httpd24   710 root apache
      d /run/httpd24/htcacheclean   700 apache apache
      

            rhn-engineering-jclere Jean-Frederic Clere
            rhn-support-hpham Hung Pham (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: