From owner-freebsd-questions@FreeBSD.ORG Mon Oct 17 16:54:15 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0F9016A41F for ; Mon, 17 Oct 2005 16:54:15 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4702C43D46 for ; Mon, 17 Oct 2005 16:54:15 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so863203nzo for ; Mon, 17 Oct 2005 09:54:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K9BV7pFOQKxZH2AFr6+7/iU8+kIt/FooQbqQCI9w1FFYl1zthHIKiFdPCC/hNZXk+JxkCYKzJk9AmpyH9cwLM/8EyXF7VsnOt2guwcTBo/dYDdodkHBEJEhHPKvFJL3Ykem61gEnsjI+8Bt5qgpX9X3FYlPMEY3D3f3ENDkBe/c= Received: by 10.36.139.2 with SMTP id m2mr2769398nzd; Mon, 17 Oct 2005 09:54:14 -0700 (PDT) Received: by 10.37.20.34 with HTTP; Mon, 17 Oct 2005 09:54:14 -0700 (PDT) Message-ID: Date: Mon, 17 Oct 2005 20:54:14 +0400 From: "Andrew P." To: Efren Bravo In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: squid problem help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 16:54:15 -0000 On 10/17/05, Efren Bravo 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?