Problems with Apache2 in Jail (BETA6)

From: Jonathan Weiss <tomonage2_at_gmx.de>
Date: Wed, 29 Sep 2004 08:23:22 +0200
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
_at__at_ -216,7 +216,7 _at__at_
 #
 #Listen 12.34.56.78:80
 
-Listen 127.0.0.4:80
+Listen 80
 
 #
 # Dynamic Shared Object (DSO) Support
_at__at_ -271,7 +271,6 _at__at_
 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
_at__at_ -331,7 +330,6 _at__at_
 # redirections work in a sensible way.
 #
 #ServerName www.example.com:80
-ServerName 127.0.0.4:80
 
 #
 # UseCanonicalName: Determines how Apache constructs self-referencing
_at__at_ -945,8 +943,7 _at__at_
 # 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
Received on Wed Sep 29 2004 - 04:23:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:14 UTC