From owner-freebsd-jail@FreeBSD.ORG Wed Nov 18 15:11:21 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 1B03B1065672 for ; Wed, 18 Nov 2009 15:11:21 +0000 (UTC) (envelope-from Lars.Scheithauer@fh-heidelberg.de) Received: from dnsfh.fh-heidelberg.de (dnsfh.fh-heidelberg.de [193.197.74.49]) by mx1.freebsd.org (Postfix) with ESMTP id 924528FC13 for ; Wed, 18 Nov 2009 15:11:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dnsfh.spamfilter.fh-heidelberg.de (Postfix) with ESMTP id 1DDBB2000C; Wed, 18 Nov 2009 16:11:19 +0100 (CET) X-Virus-Scanned: AMAVIS New Header in DNSFH Received: from dnsfh.fh-heidelberg.de ([127.0.0.1]) by localhost (dnsfh.fh-heidelberg.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6yzn0g4c58aY; Wed, 18 Nov 2009 16:11:16 +0100 (CET) Received: from FHCLUSRV-EX.dcs.fh-heidelberg.de (FHCLUSRV-N1.dcs.fh-heidelberg.de [172.28.0.41]) by dnsfh.fh-heidelberg.de (Postfix) with ESMTP id CF18220016; Wed, 18 Nov 2009 16:11:13 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 18 Nov 2009 16:11:12 +0100 Message-ID: <26040005B7F3AA41A0345BCE386CA09701C62A8F@FHCLUSRV-EX.dcs.fh-heidelberg.de> In-Reply-To: <4B040838.8020103@quip.cz> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with Apache in Jail Thread-Index: AcpoXZmgZirwUcfcRi2Z9ktNf253WwAAoXPg References: <26040005B7F3AA41A0345BCE386CA09701C62A8E@FHCLUSRV-EX.dcs.fh-heidelberg.de> <4B040838.8020103@quip.cz> From: "Scheithauer, Lars (FH)" To: "Miroslav Lachman" <000.fbsd@quip.cz> Cc: freebsd-jail@freebsd.org Subject: AW: 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 15:11:21 -0000 Hi Miroslav, the system is a FreeBSD 8.0-rc3 with apache22. nslookup is working fine - I did not enter the vhosts name into the = /etc/hosts before, but even adding it doesn't change the problem. Any other ideas I might check out? Best Regards, Lars -----Urspr=FCngliche Nachricht----- Von: Miroslav Lachman [mailto:000.fbsd@quip.cz]=20 Gesendet: Mittwoch, 18. November 2009 15:44 An: Scheithauer, Lars (FH) Cc: freebsd-jail@freebsd.org Betreff: Re: Problem with Apache in Jail 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=20 have working resolv.conf inside jail? What about /etc/hosts? Miroslav Lachman