Page 1 of 1
Problem nach Update von Apache2
Posted: 2005-12-19 01:52
by pg-computer
Hoi Hoi,
habe soeben mit den aktuellen RPM Paketen von
ftp://ftp.suse.com/pub/projects/apache/ ... /9.0-i386/
meinen Apache 2 geupdatet und nach dem Neustart erscheint folgende Fehlermeldung:
httpd2-prefork: Syntax error on line 110 of /etc/apache2/httpd.conf: Syntax error on line 24 of /etc/apache2/sysconfig.d/loadmodule.conf: API module structure `php4_module' in file /usr/lib/apache2-prefork/libphp4.so is garbled - perhaps this is not an Apache module DSO?
Als PHP Modul verwende ich auch die aktuellen Packages von Projects..
Ich wäre für einen Tipp echt dankbar, wo das Problem liegen könnte, da ich derzeit selbst nicht mehr weiter weiß.
Sieht so aus als würde er mit dem PHP Modul nicht klar kommen, vermutlich zu alt - werde mal die neueste PHP Version selbst backen, aber trotzdem würde mich die Fehlermeldung mal interessieren...
Danke im Voraus...
Da fehlt...
Posted: 2005-12-19 07:23
by vevelt
...doch momentan noch das libapr RPM auf dem SuSE Ftp Server, oder?
Re: Problem nach Update von Apache2
Posted: 2005-12-19 10:30
by pg-computer
Hoi Hoi,
da sind 2 Unterordner die neuen libapr... das kam auch als Abhängigkeitsangabe beim Installieren des neuen Apache 2.2.0 - die hab ich mit installiert.
Re: Problem nach Update von Apache2
Posted: 2005-12-19 15:00
by blnsnoopy26
Hi,
Hab das selbe Problem nur habe ich es selber kompiliert.
Code: Select all
rcapache2 start
Starting httpd2 (prefork) httpd2-prefork: Syntax error on line 110 of /etc/apache2/httpd.conf: Syntax error on line 8 of /etc/apache2/loadmodule.conf: API module structure `access_module' in file /srv/www/modules/mod_access.so is garbled - perhaps this is not an Apache module DSO?
The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
Die libs hat er bei mir nach /srv/www/lib kopiert und die so module nach /srv/www/modules
werd solange noch den 2.0.55 weiter benutzen - evtl. hat ja jemand eine Lösung für das Problem.
Hab den neuen Apache genauso wie den alten Kompiliter:
Code: Select all
Alt:
Server version: Apache/2.0.55
Server built: Nov 1 2005 21:17:00
Server's Module Magic Number: 20020903:11
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/srv/www"
-D SUEXEC_BIN="/usr/sbin/suexec2"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Neu:
./httpd -V
Server version: Apache/2.2.0
Server built: Dec 19 2005 14:34:30
Server's Module Magic Number: 20051115:0
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/srv/www"
-D SUEXEC_BIN="/usr/sbin/suexec2"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Schon alles sehr seltsam mit dem neuen Apache
Re: Problem nach Update von Apache2
Posted: 2005-12-19 17:06
by pg-computer
Hoi Hoi,
versteh ich auch nicht, hab auch erstmal wieder auf den 2.0.55 downgegradet - und du hast alles selbst gebacken Apache 2 inkl. PHP und trotzdem dieser "Müll".
Re: Problem nach Update von Apache2
Posted: 2005-12-19 18:39
by blnsnoopy26
PG-Computer wrote:Hoi Hoi,
versteh ich auch nicht, hab auch erstmal wieder auf den 2.0.55 downgegradet - und du hast alles selbst gebacken Apache 2 inkl. PHP und trotzdem dieser "Müll".
Ich baue immer alles selber soweit es geht - damit kann ich selber bestimmen was ich benötige und was nicht und habe nur das was wirklich gebraucht wird.
php setze ich 4.4.1 ein. aber bei mir kommt ja die erste meldung bei mod_access. Naja die version 2.0.55 tut es ja noch.