Greetings! I have installed squidguard (1.2.0) on a test box, and I'm having
some problems with DB updates.


If I run this config:

logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db

     dest porn {
         domainlist porn/domains
         urllist    porn/urls
     }

     acl {
         default {
             pass !porn all
             redirect http://www.yahoo.com
         }
     }
   
The system works fine, but it takes forever to load the databases.


Then I run squidGuard -C all to generate the databases, leaving the text
file and database in the same directory and I get this:

2002-04-03 13:38:53 [18566] init domainlist
/usr/local/squidGuard/db/porn/domains
2002-04-03 13:38:53 [18566] loading dbfile
/usr/local/squidGuard/db/porn/domains.db
2002-04-03 13:38:53 [18566] domainlist empty, removed from memory
2002-04-03 13:38:53 [18566] init urllist /usr/local/squidGuard/db/porn/urls
2002-04-03 13:38:53 [18566] loading dbfile
/usr/local/squidGuard/db/porn/urls.db
2002-04-03 13:38:53 [18566] urllist empty, removed from memory
2002-04-03 13:38:53 [18566] squidGuard 1.2.0 started (1017862733.178)
2002-04-03 13:38:53 [18566] squidGuard ready for requests (1017862733.185)

Now nothing gets blocked, due to the empty domainlist.

So then I run this config:

logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db

     dest porn {
         domainlist porn/domains.db
         urllist    porn/urls
     }

     acl {
         default {
             pass !porn all
             redirect http://www.yahoo.com
         }
     }

And Squid loads quickly and blocks the way it's supposed to, but when I run
squidGuard -u on a file named domain.diff I get this:

2002-04-03 13:45:48 [20299] error update dbfile
/usr/local/squidGuard/db/porn/domains.db.db. file does not exists, use -C to
create

I must be missing something... According to the documentation the db updates
should be painless. 

TIA


Mike



Reply via email to