From owner-freebsd-current@FreeBSD.ORG Wed Sep 29 06:23:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B68A916A4CE for ; Wed, 29 Sep 2004 06:23:27 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id B99B543D49 for ; Wed, 29 Sep 2004 06:23:26 +0000 (GMT) (envelope-from tomonage2@gmx.de) Received: (qmail 8028 invoked by uid 65534); 29 Sep 2004 06:23:25 -0000 Received: from pD90534A8.dip.t-dialin.net (EHLO [192.168.0.196]) (217.5.52.168) by mail.gmx.net (mp005) with SMTP; 29 Sep 2004 08:23:25 +0200 X-Authenticated: #7843803 User-Agent: Microsoft-Entourage/11.0.0.040405 Date: Wed, 29 Sep 2004 08:23:22 +0200 From: Jonathan Weiss To: FreeBSD-Current Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Problems with Apache2 in Jail (BETA6) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2004 06:23:27 -0000 Cheers, I have a problem starting apache2 in a jail on my 5.3-BETA6 server. The jail has the IP 127.0.0.4 and everything seems running fine (ssh, syslog..). I can connect per ssh to the jail, but I cannot start apache: The Apache on the host is configured only to bind to the extern ip-adress and even if I stop it, the jailed apache wont start: apachectl -e debug -k start [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module access_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module auth_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module auth_anon_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module auth_dbm_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module charset_lite_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module include_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module deflate_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module log_config_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module logio_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module env_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module mime_magic_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module cern_meta_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module expires_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module headers_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module usertrack_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module unique_id_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module setenvif_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module mime_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module status_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module autoindex_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module asis_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module info_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module cgi_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module vhost_alias_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module negotiation_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module dir_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module imap_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module actions_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module speling_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module userdir_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module alias_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module rewrite_module [Wed Sep 29 06:16:24 2004] [debug] mod_so.c(247): loaded module php4_module Exit 1 In rc.conf I have the apache2_enable="YES". What have I forgotten or is it a general problem with BETA6? I uesd to have multiple jails with the same config back in 5.2.1 Thanks, Jonathan --------------------------------------- diff -u /usr/local/etc/apache2/httpd.conf /usr/local/etc/apache2/httpd-std.conf --- /usr/local/etc/apache2/httpd.conf Wed Sep 29 06:12:13 2004 +++ /usr/local/etc/apache2/httpd-std.conf Thu Sep 23 18:53:36 2004 @@ -216,7 +216,7 @@ # #Listen 12.34.56.78:80 -Listen 127.0.0.4:80 +Listen 80 # # Dynamic Shared Object (DSO) Support @@ -271,7 +271,6 @@ LoadModule userdir_module libexec/apache2/mod_userdir.so LoadModule alias_module libexec/apache2/mod_alias.so LoadModule rewrite_module libexec/apache2/mod_rewrite.so -LoadModule php4_module libexec/apache2/libphp4.so # # ExtendedStatus controls whether Apache will generate "full" status @@ -331,7 +330,6 @@ # redirections work in a sensible way. # #ServerName www.example.com:80 -ServerName 127.0.0.4:80 # # UseCanonicalName: Determines how Apache constructs self-referencing @@ -945,8 +943,7 @@ # Format: Action media/type /cgi-script/location # Format: Action handler-name /cgi-script/location # -AddType application/x-httpd-php .php -AddType application/x-httpd-php-source .phps + # # Customizable error responses come in three flavors: # 1) plain text 2) local redirects 3) external redirects