You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2019/05/09 13:15:50 UTC

[Bug 63415] New: Access is denied mod_cache_disk

https://bz.apache.org/bugzilla/show_bug.cgi?id=63415

            Bug ID: 63415
           Summary: Access is denied mod_cache_disk
           Product: Apache httpd-2
           Version: 2.4.37
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
          Assignee: bugs@httpd.apache.org
          Reporter: vvponline@gmail.com
  Target Milestone: ---

Below is the mod_cache setting for Apache Web Server 2.4.37


#====================Configure mod_cache==============  

<IfModule mod_cache.c>

#Address the Thundering Herd identified in Apache’s Caching Guide 

#UseCanonicalName On

CacheLock on

CacheLockPath D:/temp/mod_cache-lock

CacheLockMaxAge 5

#This parameter tells Apache to ignore unique session identifiers when caching 

#static content.  SAP BI Platform 4.1 uses the strings jsessionid and bttoken
to 

#identify user sessions.  

CacheIgnoreURLSessionIdentifiers jsessionid bttoken

#Don’t cache cookies as they are unique per user  

CacheIgnoreHeaders Set-Cookie

#Enable mod_cache_disk instead of mod_cache_disk  

<IfModule mod_cache_disk.c>

CacheRoot D:/cacheroot



Below is error in error.log of Apache Web Server

[Wed May 08 08:45:36.023482 2019] [cache_disk:warn] [pid 10004:tid 7728] (OS
5)Access is denied.  : [client XX.XX.XX.XX:53810] AH00699: rename tempfile to
file failed: D:/cacheroot/aptmpeMaofO ->
D:/cacheroot/q/S/bWVHmXa1PZqAyAr9@2vg.data, referer:
https://node1.com/BE//view.faces

Is this a Bug in Apache 2.4.37

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 63415] Access is denied mod_cache_disk

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63415

Andrew <ei...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://www.apachelounge.co
                   |                            |m/viewtopic.php?t=5653
                 OS|                            |All

--- Comment #1 from Andrew <ei...@gmail.com> ---
My searches led me here.
I hope it helps, I want to draw your attention to the fact that the situation
arises long ago.
Here is an example described and shared by someone:
https://www.apachelounge.com/viewtopic.php?t=5653

Was noticed, it occurs if caching is configured in Apache, and the cache is
cleared.
Errors that were saved are same, that were noted in different conditions on
other equipment:

1) [Tue Feb 26 14:20:58.705188 2019] [cache_disk:warn] [pid 8720:tid 12540] (OS
5)Access is denied.  : [client xxx.xx.x.xx:51409] AH00699: rename tempfile to
file failed: C:\\Program Files\\Apache HTTP Proxy\\cache/aptmprzA8ql ->
C:\\Program Files\\Apache HTTP Proxy\\cache/UF/Um/5d/7U/oJcTaiMGvnIaYw.data

2) [Wed May 15 12:49:26.867903 2019] [cache_disk:warn] [pid 10388:tid 12472]
(OS 5)Access is denied.  : [client xx.x.x.xx:62633] AH00699: rename tempfile to
file failed: C:\\ProgramData\\Apache HTTP Proxy\\cache/aptmpktTja0 ->
C:\\ProgramData\\Apache HTTP
Proxy\\cache/1S/D9/@o/dK/KpB1tzIT1pzKPw.header.vary/lu/PW/bz/lF/68OUHiS9qCqeHg.data


An example of the command used for cleaning:

1) htcacheclean -v -t -p'/var/cache/httpd/proxy/' -l500M -L24

2)"C:\Program Files\Apache HTTP Proxy\bin\htcacheclean.exe" -n -t^
-p"C:\ProgramData\Apache HTTP Proxy\cache" -l10000M -L12000"

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org