[squid-users] Cache dir problem with LVM

From: Frenette, Jean-Sébastien <JSFrenette@dont-contact.us>
Date: Wed, 17 Oct 2007 19:49:38 -0400

Hi everyone,

I have a little problem. For my squid cache folder, I've set a Raid (LVM) volume name « VolGroup00-LogVolSquidCache1 » that I mount to /var/spool/squid/ (this is where my cache folder point to).

Now, when I start squid, I get:
FATAL: cache_dir /var/spool/squid/1/: (13) Permission denied Squid Cache (Version 2.6.STABLE13): Terminated abnormally.
CPU Usage: 0.012 seconds = 0.008 user + 0.004 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0

I've changed the own to squid.squid so everything in /var/spool/squid is chown -R squid.squid

Samething for the logs.

I had the same problem with the swap drive until I ran squid -z, which created all the folder.

Anywhere I mount my LVM volume and then point my cache there, it failed. If I point anywhere else, it work.

Anybody have an answer?

Thanks

JSF
Received on Wed Oct 17 2007 - 17:48:56 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT