<font size=2 face="sans-serif">Could you please un-subscribe me ?</font>
<br>
<br><font size=2 face="sans-serif">Cheers,<br>
<br>
</font><font size=1 face="Arial"><b>Kuntal</b><br>
Senior Infrastructure Architecture and Design Specialist<br>
Infrastructure Architecture and Design<br>
Bank of New Zealand<br>
<br>
DDI: 04-474 6722<br>
Mobile: 021-2408034 </font>
<br>
<br><font size=1 face="Arial">“Success is not final, failure is not fatal:
it is the courage to continue that counts.” - Winston Churchill </font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">JL <zimurgy@gmail.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">Xen <xen@dds.nl>,
</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc:      
 </font><font size=1 face="sans-serif">squid-users@lists.squid-cache.org</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">25/08/2015 05:02 a.m.</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">Re: [squid-users]
Cache Permission Errors</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:    
   </font><font size=1 face="sans-serif">"squid-users"
<squid-users-bounces@lists.squid-cache.org></font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Hi Xen,</font>
<br>
<br><font size=3>Thanks for the feedback. I can confirm both the --with-default-user=squid
is present in squid -v and the perms of the logs are indeed squid user.</font>
<br>
<br><font size=3>Regards,</font>
<br><font size=3>Zim</font>
<br>
<br><font size=3>On Mon, Aug 24, 2015 at 12:47 PM, Xen <</font><a href=mailto:xen@dds.nl target=_blank><font size=3 color=blue><u>xen@dds.nl</u></font></a><font size=3>>
wrote:</font>
<br><font size=3>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.</font>
<br><font size=3><br>
<br>
</font>
<br><font size=3>On 08/24/2015 04:05 PM, JL wrote:</font>
<br><font size=3>Hi, </font>
<br>
<br><font size=3>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.</font>
<br>
<br><font size=3>/dev/sde1 on /var/spool/squid4 type ext3 (rw,noatime,seclabel,data=ordered)</font>
<br><font size=3>/dev/sdd1 on /var/spool/squid3 type ext3 (rw,noatime,seclabel,data=ordered)</font>
<br><font size=3>/dev/sdc1 on /var/spool/squid2 type ext3 (rw,noatime,seclabel,data=ordered)</font>
<br><font size=3>/dev/sdb1 on /var/spool/squid1 type ext3 (rw,noatime,seclabel,data=ordered)</font>
<br>
<br><font size=3>I set the cache user to be squid in the squid.conf and
I reference the drives for caching.</font>
<br>
<br><font size=3>cache_dir aufs /var/spool/squid1 460800 32 512</font>
<br><font size=3>cache_dir aufs /var/spool/squid2 460800 32 512</font>
<br><font size=3>cache_dir aufs /var/spool/squid3 460800 32 512</font>
<br><font size=3>cache_dir aufs /var/spool/squid4 460800 32 512</font>
<br>
<br><font size=3>ls -l of the /var/spool shows proper perms, they are propagated.</font>
<br>
<br><font size=3>drwxr-x---. 34 squid squid 4096 Aug 21 10:01 squid1</font>
<br><font size=3>drwxr-x---. 34 squid squid 4096 Aug 21 10:01 squid2</font>
<br><font size=3>drwxr-x---. 34 squid squid 4096 Aug 21 10:01 squid3</font>
<br><font size=3>drwxr-x---. 34 squid squid 4096 Aug 21 10:01 squid4</font>
<br>
<br><font size=3>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.</font>
<br>
<br><font size=3>Some like this.</font>
<br>
<br><font size=3>2015/08/16 03:41:55 kid1| /var/spool/squid1/cache/19/8B:
(13) Permission denied</font>
<br><font size=3>2015/08/16 03:42:10 kid1| /var/spool/squid2/cache/19/8B:
(13) Permission denied</font>
<br><font size=3>2015/08/16 03:42:25 kid1| /var/spool/squid3/cache/19/8B:
(13) Permission denied</font>
<br><font size=3>2015/08/16 03:42:40 kid1| /var/spool/squid4/cache/19/8B:
(13) Permission denied</font>
<br><font size=3>2015/08/16 03:42:55 kid1| /var/spool/squid1/cache/1A/8B:
(13) Permission denied</font>
<br><font size=3>2015/08/16 03:43:10 kid1| /var/spool/squid2/cache/1A/8B:
(13) Permission denied</font>
<br><font size=3>2015/08/16 03:43:25 kid1| /var/spool/squid3/cache/1A/8B:
(13) Permission denied</font>
<br><font size=3>2015/08/16 03:43:40 kid1| /var/spool/squid4/cache/1A/8B:
(13) Permission denied</font>
<br><font size=3>2015/08/16 03:43:55 kid1| /var/spool/squid1/cache/1B/8B:
(13) Permission denied</font>
<br>
<br><font size=3>Some like this.</font>
<br>
<br><font size=3>2015/08/21 10:02:13 kid1| /var/spool/squid2/17/1FF: (13)
Permission denied</font>
<br><font size=3>2015/08/21 10:02:13 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</font>
<br><font size=3>2015/08/21 10:02:13 kid1| /var/spool/squid4/00/00/00000000</font>
<br><font size=3>2015/08/21 10:02:28 kid1| /var/spool/squid3/17/1FF: (13)
Permission denied</font>
<br><font size=3>2015/08/21 10:02:32 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</font>
<br><font size=3>2015/08/21 10:02:32 kid1| /var/spool/squid4/00/00/00000001</font>
<br><font size=3>2015/08/21 10:02:33 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</font>
<br><font size=3>2015/08/21 10:02:33 kid1| /var/spool/squid4/00/00/00000002</font>
<br><font size=3>2015/08/21 10:02:33 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</font>
<br><font size=3>2015/08/21 10:02:33 kid1| /var/spool/squid4/00/00/00000003</font>
<br><font size=3>2015/08/21 10:02:33 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</font>
<br><font size=3>2015/08/21 10:02:33 kid1| /var/spool/squid4/00/00/00000004</font>
<br><font size=3>2015/08/21 10:02:33 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</font>
<br><font size=3>2015/08/21 10:02:33 kid1| /var/spool/squid4/00/00/00000005</font>
<br><font size=3>2015/08/21 10:02:33 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</font>
<br><font size=3>2015/08/21 10:02:33 kid1| /var/spool/squid4/00/00/00000006</font>
<br><font size=3>2015/08/21 10:02:33 kid1| DiskThreadsDiskFile::openDone:
(13) Permission denied</font>
<br><font size=3>2015/08/21 10:02:33 kid1| /var/spool/squid4/00/00/00000007</font>
<br>
<br><font size=3>The folders remain empty of course, so no caching is taking
place.</font>
<br>
<br><font size=3>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.</font>
<br>
<br><font size=3>Any help would be great.</font>
<br>
<br><font size=3>Thanks!</font>
<br><font size=3>Zim</font>
<br><font size=3><br>
</font>
<br><tt><font size=3>_______________________________________________<br>
squid-users mailing list<br>
</font></tt><a href="mailto:squid-users@lists.squid-cache.org" target=_blank><tt><font size=3 color=blue><u>squid-users@lists.squid-cache.org</u></font></tt></a><tt><font size=3><br>
</font></tt><a href="http://lists.squid-cache.org/listinfo/squid-users" target=_blank><tt><font size=3 color=blue><u>http://lists.squid-cache.org/listinfo/squid-users</u></font></tt></a><tt><font size=3><br>
</font></tt>
<br>
<br><font size=3><br>
_______________________________________________<br>
squid-users mailing list</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:squid-users@lists.squid-cache.org"><font size=3 color=blue><u>squid-users@lists.squid-cache.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="http://lists.squid-cache.org/listinfo/squid-users" target=_blank><font size=3 color=blue><u>http://lists.squid-cache.org/listinfo/squid-users</u></font></a><font size=3><br>
</font>
<br><tt><font size=2>_______________________________________________<br>
squid-users mailing list<br>
squid-users@lists.squid-cache.org<br>
</font></tt><a href="http://lists.squid-cache.org/listinfo/squid-users"><tt><font size=2>http://lists.squid-cache.org/listinfo/squid-users</font></tt></a><tt><font size=2><br>
</font></tt>
<br><br>CAUTION - This message may contain privileged and confidential information
<br>intended only for the use of the addressee named above. If you are not the
<br>intended recipient of this message you are hereby notified that any use,
<br>dissemination, distribution or reproduction of this message is prohibited.
<br>This email was sent by the Bank of New Zealand. You can contact us on
<br>0800 ASK BNZ (0800 275 269). Any views expressed in this message are those
<br>of the individual sender and may not necessarily reflect the views of Bank
<br>of New Zealand.