---- Ioakim Spyros wrote: ----
> I removed my old db files and downloaded the
> latest blacklists and since then squidguard
> doesn't work. I did /usr/local/bin/squidGuard
> -d -C all -c /etc/squid/squidGuard.conf.mine
> to recreate the database but no luck.
"No luck" - You mean the databases were not created?
> I don't know if what I did was correct but I
> erased the files rather than using squidguard -u
> with the diff files.
That's not a problem.
> /etc/squid/db:
> drw-r----- 2 squid squid 4096 Nov 27 20:01 ads
> drw-r----- 2 squid squid 4096 Nov 27 20:01 aggressive
<Other directories snipped>
Would you please verify that your domains and urls files are actually
located in these directories? If you use the standard "tar xvf" on the
blacklists you'll find them below a /blacklists directory. They may be
where you say they are, but it probably took a bit of effort to get them
there.
> acl {
> grownups {
> pass all
> }
> personell {
> pass !audio-video !stocks !warez !ads !aggressive
!drugs
> !gambling !hacking all
> }
>
As an aside, you aren't blocking anyone from your porn destination
group.
> squidGuard starts ok but it seems to me that squid doesn't redirect.
> 2001-11-28 10:25:04 [23424] squidGuard 1.1.4 started (1006935904.494)
> 2001-11-28 10:25:04 [23424] squidGuard ready for requests
> (1006935904.501)
What else is in the log? You should have log entries for creating the
databases, or errors if it could not create them. You should have log
entries for loading each of the databases, or errors if they could not
initialize. Here are some examples:
create new dbfile /usr/local/squidGuard/db/blacklists/porn/urls.db
init domainlist /usr/local/squidGuard/db/blacklists/porn/domains
loading dbfile /usr/local/squidGuard/db/blacklists/porn/domains.db
init urllist /usr/local/squidGuard/db/blacklists/porn/urls
loading dbfile /usr/local/squidGuard/db/blacklists/porn/urls.db
init expressionlist /usr/local/squidGuard/db/blacklists/porn/expressions
init domainlist /usr/local/squidGuard/db/blacklists/aggressive/domains
loading dbfile /usr/local/squidGuard/db/blacklists/aggressive/domains.db
init urllist /usr/local/squidGuard/db/blacklists/aggressive/urls
loading dbfile /usr/local/squidGuard/db/blacklists/aggressive/urls.db
What other log entries do you have?
> So I seems that it will find squidguard but will not execute it ?
No, squid started squidGuard just fine, based upon you log entry above.
Would you verify the location of the databases and tell use more about
the contents of your log file?
Thanks.
Rick