Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2005 20:54:14 +0400
From:      "Andrew P." <infofarmer@gmail.com>
To:        Efren Bravo <efrenba@dhl.co.cu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: squid problem help
Message-ID:  <cb5206420510170954r33e54366g368919a95d28e514@mail.gmail.com>
In-Reply-To: <WorldClient-F200510171230.AA30060084@dhl.co.cu>
References:  <WorldClient-F200510171230.AA30060084@dhl.co.cu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/17/05, Efren Bravo <efrenba@dhl.co.cu> wrote:
> Hi,
>
> I've those errors when I try to start squid from /etc/rc.conf. I've a
> squid user and group.
>
> rc.conf
> -------
> if [ -f /usr/local/squid/sbin/squid ]; then
>         echo -n ' Squid'
>         /usr/local/squid/sbin/squid
> fi
>
> squid.conf
> ----------
> http_port 192.168.190.10:3128
> cache_effective_user squid
> cache_effective_group squid
>
> Console errors
> --------------
> (squid) cannot open HTTP port
> (squid) cannot open /usr/local/squid/var/logs/access.log for writting, th=
e
> parent directory must be writeable for user 'squid'
>
> Directories
> -----------
> proxy# ll /usr/local/squid/var
> total 4
> drwxr-xr-x  18 squid  squid  512 Oct 17 12:12 cache
> drwxr-xr-x   2 squid  squid  512 Oct 17 12:10 logs
>
> proxy# ll /usr/local/squid/var/logs
> total 52
> -rw-r--r--  1 squid  squid  13479 Oct 17 12:10 access.log
> -rw-r--r--  1 squid  squid  15482 Oct 17 12:12 cache.log
> -rw-r--r--  1 root   squid      4 Oct 17 12:12 squid.pid
> -rw-r--r--  1 squid  squid  19330 Oct 17 12:10 store.log
>
> #dmesg
> pid 689 (squid), uid 2: exited on signal 6
>
> Nevertheless the squid works, I don't understand what happens
> Could you help me?
>
> Thanks....
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>
>

Wow.

Have you tried installing www/squid port, adding
squid_enable=3D"YES" to /etc/rc.conf and running
/usr/local/etc/rc.d/squid.sh start?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420510170954r33e54366g368919a95d28e514>