<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Are you terribly certain the owner:group of the generated log files
is the same as those of the cache dirs?.<br>
<br>
That is a way to check for sure what user it is running under. I was
just compiling the latest 3.5.x when it would complain, and I had
forgotten to compile it with --with-default-user=squid.<br>
<br>
<br>
<div class="moz-cite-prefix">On 08/24/2015 04:05 PM, JL wrote:<br>
</div>
<blockquote
cite="mid:CAPPTbuqqJdW+qYp0YOo=eUP=3M+Lcb8LNzgWu+w4C=9Hh4p3Qw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi, </div>
<div><br>
</div>
<div>Sorry if this is a duplicate message, I am not sure it went
through initially. I am having an issue with my caching drives
that I can't seem to pinpoint the problem. I have 4 drives to
be used for caching, they are ext3 filesystems mounted like
so. I am running CentOS 7.</div>
<div><br>
</div>
<div>/dev/sde1 on /var/spool/squid4 type ext3
(rw,noatime,seclabel,data=ordered)</div>
<div>/dev/sdd1 on /var/spool/squid3 type ext3
(rw,noatime,seclabel,data=ordered)</div>
<div>/dev/sdc1 on /var/spool/squid2 type ext3
(rw,noatime,seclabel,data=ordered)</div>
<div>/dev/sdb1 on /var/spool/squid1 type ext3
(rw,noatime,seclabel,data=ordered)</div>
<div><br>
</div>
<div>I set the cache user to be squid in the squid.conf and I
reference the drives for caching.</div>
<div><br>
</div>
<div>cache_dir aufs /var/spool/squid1 460800 32 512</div>
<div>cache_dir aufs /var/spool/squid2 460800 32 512</div>
<div>cache_dir aufs /var/spool/squid3 460800 32 512</div>
<div>cache_dir aufs /var/spool/squid4 460800 32 512</div>
<div><br>
</div>
<div>ls -l of the /var/spool shows proper perms, they are
propagated.</div>
<div><br>
</div>
<div>drwxr-x---. 34 squid squid 4096 Aug 21 10:01 squid1</div>
<div>drwxr-x---. 34 squid squid 4096 Aug 21 10:01 squid2</div>
<div>drwxr-x---. 34 squid squid 4096 Aug 21 10:01 squid3</div>
<div>drwxr-x---. 34 squid squid 4096 Aug 21 10:01 squid4</div>
<div><br>
</div>
<div>The cache dirs were successfully created using squid -z and
all of the subfolders were generated. Squid starts and
everything appears to be great. Until I monitor the cache.log,
then I see the errors begin.</div>
<div><br>
</div>
<div>Some like this.</div>
<div><br>
</div>
<div>2015/08/16 03:41:55 kid1| /var/spool/squid1/cache/19/8B:
(13) Permission denied</div>
<div>2015/08/16 03:42:10 kid1| /var/spool/squid2/cache/19/8B:
(13) Permission denied</div>
<div>2015/08/16 03:42:25 kid1| /var/spool/squid3/cache/19/8B:
(13) Permission denied</div>
<div>2015/08/16 03:42:40 kid1| /var/spool/squid4/cache/19/8B:
(13) Permission denied</div>
<div>2015/08/16 03:42:55 kid1| /var/spool/squid1/cache/1A/8B:
(13) Permission denied</div>
<div>2015/08/16 03:43:10 kid1| /var/spool/squid2/cache/1A/8B:
(13) Permission denied</div>
<div>2015/08/16 03:43:25 kid1| /var/spool/squid3/cache/1A/8B:
(13) Permission denied</div>
<div>2015/08/16 03:43:40 kid1| /var/spool/squid4/cache/1A/8B:
(13) Permission denied</div>
<div>2015/08/16 03:43:55 kid1| /var/spool/squid1/cache/1B/8B:
(13) Permission denied</div>
<div><br>
</div>
<div>Some like this.</div>
<div><br>
</div>
<div>2015/08/21 10:02:13 kid1| /var/spool/squid2/17/1FF: (13)
Permission denied</div>
<div>2015/08/21 10:02:13 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</div>
<div>2015/08/21 10:02:13 kid1| <span class=""
style="white-space:pre"> </span>/var/spool/squid4/00/00/00000000</div>
<div>2015/08/21 10:02:28 kid1| /var/spool/squid3/17/1FF: (13)
Permission denied</div>
<div>2015/08/21 10:02:32 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</div>
<div>2015/08/21 10:02:32 kid1| <span class=""
style="white-space:pre"> </span>/var/spool/squid4/00/00/00000001</div>
<div>2015/08/21 10:02:33 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</div>
<div>2015/08/21 10:02:33 kid1| <span class=""
style="white-space:pre"> </span>/var/spool/squid4/00/00/00000002</div>
<div>2015/08/21 10:02:33 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</div>
<div>2015/08/21 10:02:33 kid1| <span class=""
style="white-space:pre"> </span>/var/spool/squid4/00/00/00000003</div>
<div>2015/08/21 10:02:33 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</div>
<div>2015/08/21 10:02:33 kid1| <span class=""
style="white-space:pre"> </span>/var/spool/squid4/00/00/00000004</div>
<div>2015/08/21 10:02:33 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</div>
<div>2015/08/21 10:02:33 kid1| <span class=""
style="white-space:pre"> </span>/var/spool/squid4/00/00/00000005</div>
<div>2015/08/21 10:02:33 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</div>
<div>2015/08/21 10:02:33 kid1| <span class=""
style="white-space:pre"> </span>/var/spool/squid4/00/00/00000006</div>
<div>2015/08/21 10:02:33 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</div>
<div>2015/08/21 10:02:33 kid1| <span class=""
style="white-space:pre"> </span>/var/spool/squid4/00/00/00000007</div>
<div><br>
</div>
<div>The folders remain empty of course, so no caching is taking
place.</div>
<div><br>
</div>
<div>I am truly stumped as to what I may be doing wrong since
squid has enough perms to create the dirs but not enough to
save to them.</div>
<div><br>
</div>
<div>Any help would be great.</div>
<div><br>
</div>
<div>Thanks!</div>
<div>Zim</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
squid-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a>
</pre>
</blockquote>
<br>
</body>
</html>