Re: [squid-users] squid rewrite squidguard

2010-06-01 Thread FRLinux
On Mon, May 31, 2010 at 11:25 PM, Joseph L. Casale
jcas...@activenetwerx.com wrote:
 Check the first two directives in your conf, see who can write
 there.

Hello, Thanks for your reply, I have some rights issues but even when
i assign the right permissions (ie. squid), it still cannot read them:

2010-06-01 10:31:19 [17307] New setting: dbhome: /var/lib/squidguard
2010-06-01 10:31:19 [17307] New setting: logdir: /var/log/squid
2010-06-01 10:31:19 [17307] init domainlist
/var/lib/squidguard/blacklists/ads/domains
2010-06-01 10:31:19 [17307] loading dbfile
/var/lib/squidguard/blacklists/ads/domains.db
2010-06-01 10:31:19 [17307] Error db_open: Permission denied
2010-06-01 10:31:19 [17307] Going into emergency mode

I'll mail the squidguard list, thanks for your help.
Steph


RE: [squid-users] squid rewrite squidguard

2010-05-31 Thread Joseph L. Casale
2010-05-31 16:17:31 [2785] squidGuard 1.3 started (1275319051.335)
2010-05-31 16:17:31 [2785] squidGuard ready for requests (1275319051.340)
2010-05-31 16:17:31 [2785] source not found
2010-05-31 16:17:31 [2785] no ACL matching source, using default
http://proxy.cp.mydomain.com/block.html 192.168.6.66/- - -
2010-05-31 16:17:31 [2785] squidGuard stopped (1275319051.341)

But when running within Squid, it does not seem to be taking it? Did I
miss anything in the squid.conf file ? I looked online and couldn't
spot any error.

FWIW, there is a squidguard mailing list that is pretty helpful.

Your problem is permissions almost certainly, you ran this and the
db creation as root (or someone), so now the user that squid runs
the rewriter as does not have any access privs to the log files
and/or bl/db's...

Check the first two directives in your conf, see who can write
there.

HTH,
jlc