Did you chown the new domains.db file to the correct ownership?

Rick


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Rossz
> Sent: Wednesday, April 28, 2004 5:16 PM
> To: [EMAIL PROTECTED]
> Subject: database problems
> 
> 
> I think I sent the first email to the wrong adress, so I am sending again.
> 
> I have created a whitelist system for some retail point of sales 
> computers that must be locked down tight.
> 
> In "/usr/share/squidGuard/whitelist/domains" I put a few test domain 
> names and ran "squidGuard -C all", which created the associated .db file 
> in the same directory.  squidGuard.conf looks like this:
> 
> logdir /var/log
> dbhome /usr/share/squidGuard
> 
> src retail {
>   ip 192.168.1.111  # ip address of test computer
> }
> 
> dest allowedstuff stuff {
>   domainlist whitelist/domains
> }
> 
> acl {
>   retail {
>     pass allowedstuff none
>     redirect http://192.168.1.106/baddog.html
>   }
>   default {
>     pass all
>     redirect http://192.168.1.106/baddog.html
>   }
> }
> 
> When I restart squid, I get this in the log:
> 
> 2004-04-28 15:01:31 [4084] init domainlist 
> /usr/share/squidGuard/whitelist/domains
> 2004-04-28 15:01:31 [4084] loading dbfile 
> /usr/share/squidGuard/whitelist/domains.db
> 2004-04-28 15:01:31 [4084] domainlist empty, removed from memory
> 2004-04-28 15:01:31 [4084] squidGuard 1.2.0 started (1083189691.932)
> 2004-04-28 15:01:31 [4084] squidGuard ready for requests (1083189691.934)
> 
> FYI, I ran "strings" on the .db file and it dumped the two test domains 
> I had entered.
> 
> --
> Rossz
> 

Reply via email to