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

The jbcs-httpd24-httpd package's tmpfiles.d/jbcs-httpd24-httpd.conf creates the directories incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • httpd 2.4.57.SP3 GA
    • None
    • httpd
    • None
    • 1
    • ?
    • 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
      

            vchlup@redhat.com Vladimir Chlup
            rhn-support-hpham Hung Pham (Inactive)
            Karel Ramis Karel Ramis
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: