[squid 3.1.14] fails to start
Helmut Schneider
jumper99 at gmx.de
Thu Jul 7 11:38:07 UTC 2011
Florian Smeets wrote:
> On 06.07.11 22:33, Helmut Schneider wrote:
> > after upgrading squid from 3.1.12 to 3.1.14 I encounter the
> > following error:
> >
> > Starting squid.
> > 2011/07/06 22:13:21| cache_cf.cc(376) parseOneConfigFile:
> > squid.conf:20 unrecognized: 'useragent_log'
> > 2011/07/06 22:13:21| cache_cf.cc(376) parseOneConfigFile:
> > squid.conf:21 unrecognized: 'referer_log'
> > /etc/rc: WARNING: failed to start squid
> >
> > [helmut at BSDHelmut ~]$ sudo grep -Eir '(useragent_log|referer_log)'
> > /usr/local/etc/squid/squid.conf
> > useragent_log /var/squid/logs/usragent.log
> > referer_log /var/squid/logs/referer.log
> > [helmut at BSDHelmut ~]$
>
> Are you sure you still have the required knobs set?
>
> .if defined(WITH_SQUID_REFERER_LOG)
>
> .if defined(WITH_SQUID_USERAGENT_LOG)
Weird. I did a 'portupgrade' from 3.1.12 but the knobs obviously got
lost. After recompiling with WITH_ it works now as expected.
Thanks, Helmut
More information about the freebsd-ports
mailing list