From owner-freebsd-stable@FreeBSD.ORG Wed Sep 20 15:46:51 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 012D816A40F for ; Wed, 20 Sep 2006 15:46:51 +0000 (UTC) (envelope-from perl@ipchains.ru) Received: from hermes.hw.ru (hermes.hw.ru [80.68.240.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DFC143D5F for ; Wed, 20 Sep 2006 15:46:49 +0000 (GMT) (envelope-from perl@ipchains.ru) Received: from [80.68.244.38] (account odambaev@rbc.ru [80.68.244.38] verified) by hermes.hw.ru (CommuniGate Pro SMTP 5.0.10) with ESMTPA id 135628084; Wed, 20 Sep 2006 19:46:48 +0400 Message-ID: <451161AD.5080309@ipchains.ru> Date: Wed, 20 Sep 2006 19:43:41 +0400 From: Oleg Dambaev User-Agent: Thunderbird 1.5.0.5 (X11/20060831) MIME-Version: 1.0 To: rvenne@dental-on-line.fr References: <44F3F2FE.8000407@sun-fish.com> <20060829062640.A11793@eskimo.com> <4510EFBE.1050000@sun-fish.com> <20060920080011.B21905@eskimo.com> <45115E21.8060003@dental-on-line.fr> In-Reply-To: <45115E21.8060003@dental-on-line.fr> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: jail: socket unavaible X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 15:46:51 -0000 rvenne@dental-on-line.fr wrote: > hi list > > I'm tring to make apache work inside a jail (6.1) > apachctl start gives following errors > > no listening sockets available, shutting down > > here's some sysctl values on my host > > security.jail.allow_raw_sockets: 1 > security.jail.enforce_statfs: 2 > security.jail.set_hostname_allowed: 1 > security.jail.socket_unixiproute_only: 1 > security.jail.sysvipc_allowed: 0 > security.jail.chflags_allowed: 0 > > thanks for your helps > > regards > > I have # sysctl -a | grep 'security.jail' security.jail.set_hostname_allowed: 1 security.jail.socket_unixiproute_only: 1 security.jail.sysvipc_allowed: 0 security.jail.enforce_statfs: 2 security.jail.allow_raw_sockets: 1 security.jail.chflags_allowed: 0 security.jail.jailed: 0 Works fine. Maybe there's another reason? What netstat -an inside a jail says?