I know that this get's asked quite a bit.
 
I've had the same trouble in the past and found that the assertion that configure makes about requiring 3.2.* or later is not correct.  SquidGuard need 3.2.x ( not sure which version is too low) and I've specifically had it working quite nicely with 3.2.9.  I have tried it with 3.3.x and it craps out every time.  Same with 2,7.7.
 
So, for those of you stuck on this one, I hope that you have luck.  You can get 3.2.9 from sleepycat at http://www.sleepycat.com/update/3.2.9/db-3.2.9.tar.gz untar and follow the destructions for installation.
 
Then do your configure as 'configure --with-db=<path to newly acquired BDb>' and away you go.
 
Morris.  Please change your FAQ to reflect this little problem and I bet we'll see this question a bit less.
 
--Robert

>>> "Morris Maynard" <[EMAIL PROTECTED]> 03/08/02 08:59AM >>>
http://www.maynidea.com/squidguard/faq-plus.html

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christophe
RIPPERT
Sent: Friday, March 08, 2002 11:25 AM
To: [EMAIL PROTECTED]
Subject: DB can be create but empty after ?


Hi,

I have a little problem with database.
I'm using SquidGuard 1.2.0 and Squid 2.4 Stable 4 (on
a Mandrake 8.1 box) with the berkeley db (2.7.7
version).

I have compiled SquidGuard like this :
./configure
--prefix=/usr/local/squidGuard/bin/squidGuard
--with-sg-config=/usr/local/squidGuard/etc/squidGuard.conf
--with-sg-logdir=/usr/local/squidGuard/logs/
--with-sg-dbname=/usr/local/squidGuard/db/

When i test with <..>db/perso/domains for example (i
set few domains host on it), squidGuard is ok (it
blocks deny domains).
But if i want to use domains.db
(/usr/local/squidGuard/bin/squidGuard -C
/usr/local/squidGuard/db/perso/domains :
$>
[19114] SquidGuard 1.2.0 started (1015604013.484)
[19114] db update done
[19114] SquidGuard stopped (1015604013.490)

and here i start Squid and the squidguard.log told :
[19126] init domainlist
/usr/local/squidguard/db/perso/domains.db
[19126] domainlist empty, remove from memory


??? I don't understand why squidGuard can db the file
"domain" and told that it's empty (yet it isn't).
Moreover the db files permissions are rwxrwxrwx.

Thank you if you can help me, last year i used
Squidguard for some mouths and i didn't never have
this error.

Christophe RIPPERT







___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com

Reply via email to