> I don't think the problem is about
permissions cause
> squidguard was able to create the db files
as user squid.
> So it should be able to read them.
Probably
not.
Did you issue
the 'squidGuard -C all' command? I would assume that you did. If domains.db
did not exist prior to that command, then when you issued the 'squidGuard -C
all' command it created the domains.db file with your login's user and group
(probably root.root). When you restart squid it starts squidGuard, probably as
squid.squid.
> Someone told me to try Berkeley DB 3.x
instead of 2.7
> What do you think?
I
think before I can answer that I need to know the answer to my
question: "If that doesn't work for you, please post your squidGuard version and
your Berkeley db version."
Rick
-----Original Message-----
From: Alexander Loss [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 1:40 PM
To: Rick Matthews
Subject: RE: database problem
From: Alexander Loss [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 1:40 PM
To: Rick Matthews
Subject: RE: database problem
Hi Rick!
I don't think the problem is about permissions cause
squidguard was able to create the db files as user squid.
So it should be able to read them.
Someone told me to try Berkeley DB 3.x instead of 2.7
What do you think?
Thanks
Alex
> But when restart squid there are messages like this:
[Some messages clipped]
> domainlist empty, removed from memory
> urllist empty, removed from memory
squidGuard is unable to read those files; it's probably a
permissions issue.
Look in your squid.conf file for the tags:
cache_effective_user <some_user>
cache_effective_group <some_group>
All of the files and directories below your dbhome (as stated in
your squidGuard.conf) should be owned by the same user & group as
listed in the squid.conf file.
Use chmod to set the permissions for the same group of files and
directories to 640.
Issue a 'squid -k reconfigure' and it should be working.
> And nothing is blocked.
When squidGuard goes into emergency mode its mode of operation is
"pass all".
If that doesn't work for you, please post your squidGuard version
and your Berkeley db version.
Rick Matthews
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alexander
Loss
Sent: Tuesday, March 05, 2002 10:45 AM
To: [EMAIL PROTECTED]
Subject: database problem
Hi there!
After using
squidGuard -C all
my plaintext files where compiled to database files.
But when restart squid there are messages like this
2002-03-05 17:30:09 [535] init domainlist
/usr/local/squidGuard/db/porn/domains
2002-03-05 17:30:09 [535] loading dbfile
/usr/local/squidGuard/db/porn/domains.db
2002-03-05 17:30:09 [535] domainlist empty, removed from memory
2002-03-05 17:30:09 [535] init urllist
/usr/local/squidGuard/db/porn/urls
2002-03-05 17:30:09 [535] loading dbfile
/usr/local/squidGuard/db/porn/urls.db
2002-03-05 17:30:09 [535] urllist empty, removed from memory
in the squidGuard.log. And nothing is blocked.
What's the problem?
Thank you
Sincerely
Alexander Lo�
Diplom-Informatiker
Gebr�der Gerstenberg GmbH & Co
EDV
Rathausstra�e 18-20
31134 Hildesheim
Phone +49 (5121) 106-113
Fax +49 (5121) 106-108
[EMAIL PROTECTED]
http://www.hildesheimer-allgemeine.de
Mit freundlichen Gr��en
Sincerely
Alexander Lo�
Diplom-Informatiker
Gebr�der Gerstenberg GmbH & Co
EDV
Rathausstra�e 18-20
31134 Hildesheim
Phone +49 (5121) 106-113
Fax +49 (5121) 106-108
[EMAIL PROTECTED]
http://www.haz.hildesheim.com
