It looks like you're going to need "the patch".
See: <http://www.maynidea.com/squidguard/faq-plus.html#nosuchbug> and
<http://marc.theaimsgroup.com/?l=squidguard&m=103046416402992&w=2>
Summary:
-------
Edit the file src/sgDb.c (squidGuard V1.2.0 sources). Go
to line 44 and replace:
dbfile = (char *) sgMalloc(strlen(file) + 5);
by
dbfile = (char *) sgMalloc(strlen(file) + 4);
Next, go to line 146 and replace:
update = (char *) sgMalloc(strlen(file) + 5);
with
update = (char *) sgMalloc(strlen(file) + 6);
Now recompile squidGuard.
Rick
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Chip Burkitt
> Sent: Monday, March 29, 2004 9:04 AM
> To: Steve; [EMAIL PROTECTED]
> Subject: Re: [inbox] Re: Can't update .db files with .diff files
>
>
> I've tried two suggestions, both without success. 1. I tried creating a log
> file in /usr/local/squidGuard/log. This caused the messages to appear in the
> log file instead of on the console, but it did not have any other effect. 2.
> I tried re-creating the domain.db file. This worked fine, but I still cannot
> update the .db file from a .diff file. The message I keep getting is that
> the .diff file does not exist. I've tried several times to re-create the
> .diff file, but have not had any success with any domain.diff file. The
> curious thing is that it works with the urls.diff file.
>
> Chip Burkitt
>
> ----- Original Message -----
> From: "Steve" <[EMAIL PROTECTED]>
> To: "Chip Burkitt" <[EMAIL PROTECTED]>
> Sent: Monday, March 29, 2004 5:22 AM
> Subject: [inbox] Re: Can't update .db files with .diff files
>
>
> > ok
> > maybe you can try to re-create a complete new "domains.db" ?
> > good luck !
> >
> > Chip Burkitt a �crit :
> >
> > > Steve,
> > >
> > > I tried your suggestion without success. I have a bit more information,
> > > though. If I update the urls.db file, it appears to work fine. I only
> > > get the error when updating the domains.db file. Also, my log file is
> > > located in /var/log/squidGuard, and that's what it says in my
> > > squidGuard.conf file (which is in /etc). But the error reports:
> > >
> > > 2004-03-28 14:48:52 [6499] squidGuard: can't write to logfile
> > > /usr/local/squidGuard/log/squidGuard.log
> > >
> > > Here is the contents of my squidGuard.conf file:
> > >
> > > =================================
> > > logdir /var/log/squidGuard
> > > dbhome /etc/squidGuard
> > >
> > > time everywhen {
> > > weekly * 00:00 - 24:00
> > > }
> > >
> > > src everybody {
> > > ip 192.168.1.0/24
> > > }
> > >
> > > dest porn{
> > > domainlist blacklists/porn/domains
> > > urllist blacklists/porn/urls
> > > }
> > >
> > > dest warez{
> > > domainlist blacklists/warez/domains
> > > urllist blacklists/warez/urls
> > > }
> > >
> > >
> > > acl {
> > > everybody within everywhen {
> > > pass !porn !warez all
> > > redirect http://www.cwb2.private/Forbidden.html
> > > }
> > >
> > > default within everywhen {
> > > pass !porn !warez all
> > > redirect http://www.cwb2.private/Forbidden.html
> > > }
> > > }
> > > ====================================
> > >
> > > Any ideas?
> > >
> > > Chip Burkitt
> >
> > --
> > OS: Windows XP (5.1.2600) Service Pack 1
> > System Up Time: 18 days, 7 hours, 46 minutes, 33 seconds.
> >
>