Let me verify something else with you - Based on your conf file your
files are located as follows:
</local/squid/squidGuard/dbhome/ads/domains>
</local/squid/squidGuard/dbhome/ads/domains.db>
</local/squid/squidGuard/dbhome/ads/urls>
</local/squid/squidGuard/dbhome/ads/urls.db>
</local/squid/squidGuard/dbhome/porn/domains>
</local/squid/squidGuard/dbhome/porn/domains.db>
</local/squid/squidGuard/dbhome/porn/urls>
</local/squid/squidGuard/dbhome/porn/urls.db>
</local/squid/squidGuard/dbhome/porn/expressions>
</local/squid/squidGuard/dbhome/mail/domains>
</local/squid/squidGuard/dbhome/mail/domains.db>
</local/squid/squidGuard/dbhome/warez/domains>
</local/squid/squidGuard/dbhome/warez/domains.db
</local/squid/squidGuard/dbhome/warez/urls>
</local/squid/squidGuard/dbhome/warez/urls.db>
</local/squid/squidGuard/dbhome/hacking/domains>
</local/squid/squidGuard/dbhome/hacking/domains.db>
</local/squid/squidGuard/dbhome/hacking/urls>
</local/squid/squidGuard/dbhome/hacking/urls.db>

Is this correct? (It's not "/usr/local/...."?)

Assuming this is correct, the easiest way to ensure that all of your
ownerships are set correctly is:
<chown -R squid.squid /local/squid/squidGuard/dbhome>

Here's the way I would troubleshoot your squidGuard configuration:

Temporarily change this line in your config file:
     pass !porn !ads !hacking !warez !mail all
to this:
     pass !porn all

Delete:
</local/squid/squidGuard/dbhome/porn/domains.db>
and
</local/squid/squidGuard/dbhome/porn/urls.db>

Copy:
</local/squid/squidGuard/dbhome/porn/domains>
to
</local/squid/squidGuard/dbhome/porn/domains.hold>

Copy:
</local/squid/squidGuard/dbhome/porn/urls>
to
</local/squid/squidGuard/dbhome/porn/urls.hold>

Edit:
</local/squid/squidGuard/dbhome/porn/domains>
(Note: If you do not use a Linux editor, ensure that the file stays in
unix format.)
Edit the file so that it only contains the following line:
c-span.org

Edit:
</local/squid/squidGuard/dbhome/porn/urls>
(Note: If you do not use a Linux editor, ensure that the file stays in
unix format.)
Edit the file so that it only contains the following line:
unitedmedia.com/comics/dilbert

Then:
<squidGuard -u>
<squid -k reconfigure>

Try visiting http://www.c-span.org. You should be blocked. (If you've
visited that site recently, clear your browser's local cache or simply
hit reload.)

Try visiting http://www.unitedmedia/comics/dilbert. You should be
blocked. (If you've visited that site recently, clear your browser's
local cache or simply hit reload.)

Try visiting http://www.unitedmedia/comics. You should *NOT* be blocked.

If these tests fail, examine your log file very carefully, starting from
the reconfigure and let us know what you find.


-----Original Message-----
From: Manuel R. Lujan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 11:57 AM
To: Rick Matthews
Subject: Re: database errors


Thanks Rick,
That was part of the problem.
My db files had my user name and my group, and I changed it to match the
squid.conf file.
now everything is user= netmax group= netmax
Still did not clear up the porblem though :>{
-Manuel

Reply via email to