On Tuesday 05 February 2002 00:07, Rick Matthews wrote:
> Well, at least we are marking things off the list, one by one.
>
> I'm going to assume that this clip from one of your previous post is
>
> still true:
> > Now I thought I'd retry doing #bin/squidGuard -u
> > This time squidGuard.log complained that
> > squidGuard/db/porn/domains.diff didn't exist
> > (even though it did with correct permissions)
> > and just hung; when I did Ctrl-C to get the prompt
> > back it went into emergency mode.
> > #squid -k reconfigure
> > got squidGuard restarted properly but still no update.
>
> If:
> *) ${DBHOME}/porn/domains.diff exists
> *) ${DBHOME}/porn/domains.diff has the proper permissions
> *) squid.conf has effective user and group set to squid.squid
> then the only reason that a squidGuard -u command would tell you
> that domains.diff does not exist would be if the domains.diff file
> is not owned by squid.squid. Would you please check that again?
>
> RickGood point - I'd had that sort of problem when I was first starting - and I've checked and triple checked this one. To summarise where I'm at at the moment: #/usr/local/bin/squidGuard -u causes sG to reload all its database files and then freeze when it gets to <from squidGuard.log> update dbfile /var/squidguard/db/porn/domains.db /var/squidguard/db/porn/domains.diff : No such file or directory going into emergency mode squidGuard stopped <end> I then need to do Ctrl-C and then #/usr/local/squid/bin/squid -k reconfigure restarts sG but without an update. domains.diff does exist exactly where squidGuard.log says it doesn't and the file permissions and ownership are both okay. I'm still experimenting - and thanks to your useful advice I now believe I better start looking a bit in the background. Before installing this sG (1.20) and Bdb3.2.9 I had the earlier version with Bdb2.7.7. Before installing I renamed its directories so I could back out if necessary. Could they be conflicting? I personally don't think so as I had to specify --with-db=/path/to/BerkeleyDB3.2 when making the config file for installing sG1.20. Still, it can't hurt to experiement. Nigel -- Nigel Pauli - I.T. Manager St. John's School, Northwood, U.K. http://www.st-johns.org.uk/
