I am using squidGuard 1.2.0 with Berkeley db 2.7.7. When I run
"squidGuard -C all" everything looks ok in the squidGuard.log. However,
when I run squidGuard from squid the logs show the following entries.
Why are the lists removed from memory? User and Group are set to
squid:squid.
Here is the squidGuard.log when squidGuard is launched as a squid
redirector
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2002-03-17 10:00:30 [12377] init domainlist
/usr/local/squidGuard/db/blacklists/porn/domains
2002-03-17 10:00:30 [12377] loading dbfile
/usr/local/squidGuard/db/blacklists/porn/domains.db
2002-03-17 10:00:30 [12377] domainlist empty, removed from memory
2002-03-17 10:00:30 [12377] init urllist
/usr/local/squidGuard/db/blacklists/porn/urls
2002-03-17 10:00:30 [12377] loading dbfile
/usr/local/squidGuard/db/blacklists/porn/urls.db
2002-03-17 10:00:30 [12377] urllist empty, removed from memory
2002-03-17 10:00:30 [12377] squidGuard 1.2.0 started (1016377230.407)
2002-03-17 10:00:30 [12377] squidGuard ready for requests
(1016377230.407)
Here is my test squidGuard.conf
%%%%%%%%%%%%%%%%
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db/blacklists
dest porn {
domainlist porn/domains
urllist porn/urls
}
acl {
default {
pass !porn all
redirect
http://admin.foo.bar.no/cgi/blocked?clientaddr=%a+clientname=%n+clientident=%i+srcclass=%s+targetclass=%t+url=%u
}
}
Here is the squidGuard.log from "squidGuard -C all"
%%%%%%%%%%%%%%%%%%%%
2002-03-17 10:27:34 [12428] init domainlist
/usr/local/squidGuard/db/blacklists/porn/domains
2002-03-17 10:27:35 [12428] create new dbfile
/usr/local/squidGuard/db/blacklists/porn/domains.db
2002-03-17 10:27:35 [12428] init urllist
/usr/local/squidGuard/db/blacklists/porn/urls
2002-03-17 10:27:35 [12428] create new dbfile
/usr/local/squidGuard/db/blacklists/porn/urls.db
2002-03-17 10:27:35 [12428] squidGuard 1.2.0 started (1016378854.075)
2002-03-17 10:27:35 [12428] db update done
2002-03-17 10:27:35 [12428] squidGuard stopped (1016378855.551)