From owner-freebsd-jail@FreeBSD.ORG Wed Nov 18 14:44:12 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 447721065676 for ; Wed, 18 Nov 2009 14:44:12 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id F2CFB8FC20 for ; Wed, 18 Nov 2009 14:44:11 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id E4DC619E027; Wed, 18 Nov 2009 15:44:10 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id B9DC519E023; Wed, 18 Nov 2009 15:44:08 +0100 (CET) Message-ID: <4B040838.8020103@quip.cz> Date: Wed, 18 Nov 2009 15:44:08 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.4) Gecko/20091017 SeaMonkey/2.0 MIME-Version: 1.0 To: "Scheithauer, Lars (FH)" References: <26040005B7F3AA41A0345BCE386CA09701C62A8E@FHCLUSRV-EX.dcs.fh-heidelberg.de> In-Reply-To: <26040005B7F3AA41A0345BCE386CA09701C62A8E@FHCLUSRV-EX.dcs.fh-heidelberg.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: Problem with Apache in Jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 14:44:12 -0000 Scheithauer, Lars (FH) wrote: > Hi everyone, > > I've started to install an apache22 in a freebsd-jail and have a > problem. The jail has a public ip address, so from what I know, I > wouldn't have to forward any packages to it. I can reach the apache22 > server by ip-address, but not by its DNS - the connection gets > "disrupted". I can successfully nslookup the DNS and if I watch the > traffic of the browser via wireshark, I see that it sends packages to > the server, but the server doesn't send any packages back. I also do not > find any traces of the connection attempt in the apache-logs. > > The config-files of the apache are correct and read (tested by entering > some false configs and the server refused to start afterwards - and as > said I'm able to access it by its ip). > > > > Now, is there any way that this could be caused by the jail? You did not post what version and architecture you are using... But I am runing several jails with Apache or Lighttpd without any issues (on 6.3 i386 and 7.2 i386 + amd64). So I expect some misconfiguration on your side. Are you sure you have correct DNS entries pointing to right IP and you have working resolv.conf inside jail? What about /etc/hosts? Miroslav Lachman