Instead of building it one by one, you can build them all at once:
squidguard -C all

After building the db, then you should chown them to squid.
Then restart squid: squid -k reconfigure

HTH,
Fajar


On Friday 13 October 2006 15:11, Adrian wrote:
> Hi,
>
> I'm using lots of blacklists.  Everytime I run squid it takes a minutes to
> start up and gives the disk a big workout.  I've discovered that only some
> of the blacklist directories have a domains.db file which I think may be
> the problem.
>
> The permissions on all the directories are the same and i'm having
> trouble working out why some .db files are building and others aren't.
>
> I've tried building the files one-by-one like this but it just seems to
> do the same thing:
> squidGuard -d -c /usr/local/etc/squid/squidGuard.conf -C
> /var/db/squidGuard/blacklists/games/domains
>
> Below is a section of the squidGuard log as it's starting up.  Why
> isn't there a games.db file?
>
> 2006-10-13 18:06:26 [1094] init domainlist
> /var/db/squidGuard//blacklists/gambling/domains
> 2006-10-13 18:06:26 [1094] loading dbfile
> /var/db/squidGuard//blacklists/gambling/domains.db
> 2006-10-13 18:06:26 [1094] init urllist
> /var/db/squidGuard//blacklists/gambling/urls
> 2006-10-13 18:06:26 [1094] loading dbfile
> /var/db/squidGuard//blacklists/gambling/urls.db
> 2006-10-13 18:06:26 [1094] init domainlist
> /var/db/squidGuard//blacklists/games/domains
> 2006-10-13 18:06:26 [1094] init urllist
> /var/db/squidGuard//blacklists/games/urls
> 2006-10-13 18:06:26 [1094] init domainlist
> /var/db/squidGuard//blacklists/hacking/domains
> 2006-10-13 18:06:26 [1094] loading dbfile
> /var/db/squidGuard//blacklists/hacking/domains.db
> 2006-10-13 18:06:26 [1094] init urllist
> /var/db/squidGuard//blacklists/hacking/urls
> 2006-10-13 18:06:26 [1094] loading dbfile
> /var/db/squidGuard//blacklists/hacking/urls.db
> 2006-10-13 18:06:26 [1094] init domainlist
> /var/db/squidGuard//blacklists/instantmessaging/domains
> 2006-10-13 18:06:26 [1094] init urllist
> /var/db/squidGuard//blacklists/instantmessaging/urls
> 2006-10-13 18:06:26 [1094] init domainlist
> /var/db/squidGuard//blacklists/jobsearch/domains
> 2006-10-13 18:06:26 [1094] init urllist
> /var/db/squidGuard//blacklists/jobsearch/urls
> 2006-10-13 18:06:26 [1094] init domainlist
> /var/db/squidGuard//blacklists/kidstimewasting/domains
> 2006-10-13 18:06:26 [1094] init urllist
> /var/db/squidGuard//blacklists/kidstimewasting/urls
>
> Any help would be much appreciated.
>
> Thanks,
> Adrian.

-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
4:12pm up 7:40, 2.6.16.13-4-default GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org

Reply via email to