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

cache_path pointing to not existing folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • httpd 2.4.23 SP1 ER1
    • httpd 2.4.23 GA, httpd 2.4.23 SP1 DR3
    • httpd, rpm
    • None
    • Compatibility/Configuration, User Experience
    • ER1
    • Hide

      yum install jbcs-httpd24-httpd
      grep cache_path /etc/rc.d/init.d/jbcs-httpd24-htcacheclean

      Show
      yum install jbcs-httpd24-httpd grep cache_path /etc/rc.d/init.d/jbcs-httpd24-htcacheclean

      There is default CACHE path pointing to non existing folder (/opt/rh/jbcs-httpd24/root/var/cache/mod_proxy)

      cache_path=${CACHE_ROOT-/opt/rh/jbcs-httpd24/root/var/cache/mod_proxy}
      

      There will be problem with proper starting of jbcs-httpd24 server in case of missing file /opt/rh/jbcs-httpd24/root/etc/sysconfig/htcacheclean, which contains definition CHACHE_ROOT pointing to proper cache folder(CACHE_ROOT=/opt/rh/jbcs-httpd24/root/var/cache/httpd/proxy).

      Suggestion: set default cache_path to already created /opt/rh/jbcs-httpd24/root/var/cache/httpd/proxy to avoid server startup failures.

              gzaronik@redhat.com George Zaronikas
              jonderka@redhat.com Jan Onderka
              Jan Onderka Jan Onderka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: