After creating the db files you'll need to chown them to squid.squid and chmod them to 640.
If you are running the latest version of squidGuard (1.2) you'll also need to be using the 3.x (3.2?) version of the Berkeley db (not the 2.x version). Someone else here just corrected a very similar problem by moving to Berkeley db 3.2. Rick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gavin Wing Sent: Wednesday, March 06, 2002 8:57 AM To: John J. Yatsko, Jr.; squidGuard Subject: Re: db file error John J. Yatsko, Jr. wrote: >You compiled the db files with 'squidGuard -C all'? > I actually did them individually, so I've deleted them and redone them as above but I still get the same error. > > > >John Yatsko, Jr. >Technology Assistant >Erie County Public Library >160 East Front St >Erie PA 16507 >(814) 451-7307 > >----- Original Message ----- >From: "Gavin Wing" <[EMAIL PROTECTED]> >To: "John J. Yatsko, Jr." <[EMAIL PROTECTED]>; "squidGuard" ><[EMAIL PROTECTED]> >Sent: Wednesday, March 06, 2002 9:28 AM >Subject: Re: db file error > > >>John J. Yatsko, Jr. wrote: >> >>>What do you have for: >>> >>>cache_effective_user >>>cache_effective_group >>> >>>in your squid.conf? >>> >>Yes it is setup up as the user & group squid, >> >>> >>>John Yatsko, Jr. >>>Technology Assistant >>>Erie County Public Library >>>160 East Front St >>>Erie PA 16507 >>>(814) 451-7307 >>> >>>----- Original Message ----- >>>From: "Gavin Wing" <[EMAIL PROTECTED]> >>>To: "squidGuard" <[EMAIL PROTECTED]> >>>Sent: Wednesday, March 06, 2002 2:13 AM >>>Subject: db file error >>> >>> >>>>I get the following error when I test squidguard, >>>>--- >>>>[root@gap porn]# "http://foo/bar 10.0.0.1/- - GET" | >>>>/usr/local/bin/squidGuard -c /usr/local/squidGuard/squidGuard.conf -d >>>>bash: http://foo/bar 10.0.0.1/- - GET: No such file or directory >>>>2002-03-06 09:15:33 [2259] init domainlist >>>>/var/lib/squidGuard/db/porn/domains >>>>2002-03-06 09:15:33 [2259] loading dbfile >>>>/var/lib/squidGuard/db/porn/domains.db >>>>2002-03-06 09:15:34 [2259] domainlist empty, removed from memory >>>>2002-03-06 09:15:34 [2259] init urllist /var/lib/squidGuard/db/porn/urls >>>>2002-03-06 09:15:34 [2259] loading dbfile >>>>/var/lib/squidGuard/db/porn/urls.db >>>>2002-03-06 09:15:34 [2259] urllist empty, removed from memory >>>>2002-03-06 09:15:34 [2259] init expressionlist >>>>/var/lib/squidGuard/db/porn/expressions >>>>2002-03-06 09:15:34 [2259] squidGuard 1.2.0 started (1015398933.945) >>>>2002-03-06 09:15:34 [2259] squidGuard ready for requests >>>> >(1015398934.037) > >>>>2002-03-06 09:15:34 [2259] squidGuard stopped (1015398934.037) >>>>--- >>>>This is on my 2nd squid server, I have the exact set-up on another >>>>server which works perfectly! any ideas what's going wrong? >>>>The db file are not empty, ls -l bellow >>>>--- >>>>[root@gap porn]# ls -l >>>>total 6792 >>>>-rw-r----- 1 squid squid 1279922 Mar 5 17:21 domains >>>>-rw-r----- 1 squid squid 3663872 Mar 5 17:21 domains.db >>>>-rw-r----- 1 squid squid 580 Mar 5 17:21 expressions >>>>-rw-r----- 1 squid squid 756960 Mar 5 17:21 urls >>>>-rw-r----- 1 squid squid 1227776 Mar 5 17:21 urls.db >>>>--- >>>>-- >>>>Gavin Wing >>>>Net Admin/Tech Support >>>>--------------------- >>>>My Box said: "Install Windows95 or better ..." So I installed Linux. >>>>--------------------- >>>> >>>>The information transmitted is intended only for the person or entity to >>>>which it is addressed and may contain confidential and/or privileged >>>>material. Any review, retransmission, dissemination or other use of or >>>>taking of any action in reliance upon, this information by persons or >>>>entities other than the intended recipient is prohibited. If you >>>> >received > >>>>this in error, please contact the sender and delete the material from >>>> >any > >>>>computer. >>>> >>> >> >>-- >>Gavin Wing >>Net Admin/Tech Support >>--------------------- >>My Box said: "Install Windows95 or better ..." So I installed Linux. >>--------------------- >> >> >> > > -- Gavin Wing Net Admin/Tech Support --------------------- My Box said: "Install Windows95 or better ..." So I installed Linux. ---------------------
