Okay, did something I should have done a long time ago, I su'd to the squid user and then launched squidGuard, discovered the problem was with the permissions set on /var/tmp (doh).
Anyway, if this helps anyone else then.... Seri Al-Najjar -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Seri Al-Najjar Sent: 27 February 2002 16:28 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 ---
