[squid 3.1.14] fails to start

Florian Smeets flo at FreeBSD.org
Wed Jul 6 21:37:24 UTC 2011


On 06.07.11 22:33, Helmut Schneider wrote:
> Hi,
>
> 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)

Works for me when i compile squid with these options.

Cheers,
Florian


More information about the freebsd-ports mailing list