> 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".

> 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.

> 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.

> 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.

Rick


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Nigel Pauli
Sent: Thursday, January 03, 2002 11:48 AM
To: [EMAIL PROTECTED]
Subject: Re: Adding URL to the SquidGuard


I am having problems with getting squidGuard up and running as well.
Can someone explain my problem outlined below.

> From the squidGuard website:
>
> Updating a prebuilt database
> To add and remove entries from a prebuilt database in runtime put the
> changes in a diff file (file.diff for file.db) with the following
> simple format:
>
> +new
> -old
> ...
> Then use:
> squidGuard -u
> and remove the diff files. The changes should take effect immediately
>
>
> http://www.squidguard.org/config/#Lists

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.

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 [btw, I need to do Ctrl-C afterwards to get prompt back]
Afterwards, squidGuard.log shows line:
/var/squidguard/db/porn/domains.diff!: No such file or directory

Why is it searching for "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.

I would be grateful for any help to get set up running properly.
Thanks,
Nigel
--
Nigel Pauli - I.T. Manager
St. John's School, Northwood, U.K.
http://www.st-johns.org.uk/

Reply via email to