mrhdias commented on issue #1936: Log filling up with Errors: Failed to mkdir 
/var/cache/mod_pagespeed/ flush
URL: 
https://github.com/apache/incubator-pagespeed-mod/issues/1936#issuecomment-517344633
 
 
   Yes can write and there are many directories and files there.
   
   But the error concerns a specific file or directory type ending in 
".outputlock"!
   Failed to mkdir /var/cache/mod_pagespeed/ flush 
/Z2aU_3q6iV4ESimD4du5.outputlock: No such file or directory
   
   ```
   $ ls -la /var/cache/
   total 4
   drwxr-xr-x.  8 root   root     94 Aug  1 15:28 .
   drwxr-xr-x. 20 root   root    278 Jun 28 22:31 ..
   drwx------.  5 apache apache   52 Jul 29 18:19 httpd
   drwx------.  2 root   root     23 Jul 31 23:26 ldconfig
   drwxr-xr-x. 32 root   root   4096 Aug  1 03:38 man
   drwxr-xr-x.  4 apache apache   53 Aug  1 16:32 mod_pagespeed
   drwxr-xr-x.  2 root   root      6 May 22 11:10 php-pear
   drwxr-xr-x.  3 root   root     20 Jun  4 10:17 yum
   
   $ ls -la /var/cache/mod_pagespeed/
   total 4
   drwxr-xr-x. 4 apache apache 53 Aug  1 16:32 .
   drwxr-xr-x. 8 root   root   94 Aug  1 15:28 ..
   -rw-------. 1 apache apache 13 Aug  1 16:32 !clean!time!
   drwxr-xr-x. 4 apache apache 37 Aug  1 15:59 prop_page
   drwxr-xr-x. 4 apache apache 48 Aug  1 15:57 v3
   
   $ sudo semanage fcontext -l | grep /var/cache/mod_
   /var/cache/mod_.*                                  all files          
system_u:object_r:httpd_cache_t:s0 
   /var/cache/mod_ssl(/.*)?                           all files          
system_u:object_r:httpd_cache_t:s0 
   /var/cache/mod_proxy(/.*)?                         all files          
system_u:object_r:httpd_cache_t:s0 
   /var/cache/mod_gnutls(/.*)?                        all files          
system_u:object_r:httpd_cache_t:s0 
   /var/cache/mod_pagespeed(/.*)?                     all files          
system_u:object_r:httpd_cache_t:s0 
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to