Urm... I have squidGuard 1.2.0 and ONLY Berkeley DB 2.7.7 and it works fine now....
Seri Al-Najjar -----Original Message----- From: Morris Maynard [mailto:[EMAIL PROTECTED]] Sent: 27 February 2002 20:32 To: Seri Al-Najjar Subject: RE: Help with SquidGuard error (potentially Berkeley DB but doubtfull) AS has been mentioned several times here, squidGuard v 1.20 REQUIRES version 3 of Berkely DB. Vers 2.7 and 4.x don't work. squidGuard 1.14 REQUIRES Berkeley 2.7 as the documentation states. This is such a frequent topic here that it seems that someone would modify the docs to reflect present day reality and save users from a lot of pain. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Seri Al-Najjar Sent: Wednesday, February 27, 2002 11:28 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Help with SquidGuard error (potentially Berkeley DB but doubtfull) Okay, maybe I'm being exceptionally stupid (it wouldn't be the first time), I've searched all 3 versions of the archive using the strings "Permission denied", sgDbLoadTextFile and "emergency mode", they return some hits, which I've read fully, but the newest is from 2000. I've uninstalled all Berkeley DB versions, reinstalled just Berkeley DB 2.7, made distclean squid, exported LD_LIBRARY_PATH variable (/lib:/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB/lib), rebuilt squid, rebuilt squidGuard, same result :( I tried the same as above except with the Berkeley DB files installed into /usr (bin, lib, headers etc), and still same result. I've chmoded and chowned all the folders and files, made squid run as root, nobody and a user called squid, ran it in each combination of the above with the groups root, nobody and squid. I'm not using a linux distro, I'm using Linux From Scratch, it's built fine, everything else works 100%, squid itself works with no problems, I've even installed squirm and sleezeball for testing squids ability to call external programs (both of which were fine and have now been removed again). I've included below the commands used to install squid, squidGuard and Berkeley DB, I'm now about ready to go and throw the server out of a window :o( As ever, all assistance is gratefully received (pretty pretty please, I'm begging here) Seri Al-Najjar --- Berkeley DB 2.7.7 --- cd build_unix ../dist/configure --enable-cxx --enable-compat185 make make install --- Berkeley DB 2.7.7 --- --- Squid 2.4 Stable 4 --- ./configure --prefix=/usr --sysconfdir=/etc/squid --enable-carp --enable-pthreads \ --enable-icmp --enable-delay-pools --enable-useragent-log --enable-referer-log \ --enable-snmp --enable-arp-acl --enable-htcp --enable-forw-via-db \ --enable-cache-digests --enable-poll --enable-linux-netfilter --enable-underscores make make install --- Squid 2.4 Stable 4 --- --- squidGuard 1.2.0 --- ./configure --prefix=/usr --sysconfdir=/etc/squidguard \ --with-sg-config=/etc/squidguard/sguard.conf --with-sg-logdir=/var/log/squidguard \ --with-sg-dbhome=/etc/squidguard make make install --- squidGuard 1.2.0 ---
