On Friday 04 January 2002 01:31, Rick Matthews wrote:
> > I have tried this and all its done is put my
> > squidGuard into emergency mode according to
> > squidGuard.log even though it is still successfully
> > filtering and the domain in the diff file hasn't been added.
>
> According to the squidGuard FAQ, "emergency mode" and "successfully
> filtering" are mutually exclusive, "emergency mode" = "pass all for
> all".

Yep! Exactly what I thought - so I don't think my particular 
installation is behaving all that sanely.

> > I wanted to filter www.friends.com so I made a file
> > called domains.diff containing the line '+friends.com'
> > which I put in the same directory (porn) as domains and
> > domains.db. I made sure it had the same owner, group
> > and permissions as the others then did:
> > squidGuard -u
>
> So far, so good...
>
> > [btw, I need to do Ctrl-C afterwards to get prompt back]
>
> That's a very good indication that something is wrong.

A re-install seems to be in order.

> > Afterwards, squidGuard.log shows line:
> > /var/squidguard/db/porn/domains.diff!: No such file or directory
> > Why is it searching for "domains.diff!"?
>
> Huh? Are you asking why it is "searching" for domains.diff, or why is
> it "not finding" domains.diff? It is "searching" for domains.diff
> because it needs it in order to execute the "squidGuard -u" command.
> It is "not finding" the domains.diff file because squidGuard can't
> find it, or can't read it.

Sorry, I wasn't clear here. What I meant was, "Why is it searching for 
domains.diff-with-an-exclamation-mark rather than domains.diff."

> > Before Christmas I made a custom directory in db with
> > subdirectories of good and bad with these last two
> > holding a file each called domains. These are referred
> > to in the config file. I now see that corresponding
> > .db files are not being created for these either.
>
> These may be related. squidGuard looks for your domains file in
> "dbhome+domainlist". Using *my* squidGuard.conf file, that would be:
> dbhome /usr/local/squidGuard/db/block +
> domainlist    blacklists/porn/domains, or
> /usr/local/squidGuard/db/block/blacklists/porn/domains
>
> Try that with each of your destinations and see if your files really
> are where you say they are. You may find that to be the problem.

They all pass the "dbhome+domainlist" test.
Thanks, Rick, for all your helpful advice. I think I better try a 
re-install now that I know a lot more about what should be going on.

Nigel

-- 
Nigel Pauli - I.T. Manager
St. John's School, Northwood, U.K.
http://www.st-johns.org.uk/

Reply via email to