Date: Wed, 29 Sep 2004 08:23:22 +0200 From: Jonathan Weiss <tomonage2@gmx.de> To: FreeBSD-Current <current@freebsd.org> Subject: Problems with Apache2 in Jail (BETA6) Message-ID: <BD80217A.B04A%tomonage2@gmx.de>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BD80217A.B04A%tomonage2>