Anzeige:
Ergebnis 1 bis 2 von 2

Thema: Apache 1.3 mit PHP4 führt zu db_strerror_4002

  1. #1
    ...
    Registriert seit
    Jul 2002
    Ort
    Obing
    Beiträge
    59

    Apache 1.3 mit PHP4 führt zu db_strerror_4002

    Hallo all,

    ich habe nun die Migration meines Debian-Systems von Woody auf Sid abgeschlossen und es funzt soweit auch wieder alles.

    Nur wenn ich den Apache mit den libphp4 Modulen starten will bekomme ich die Fehlermeldung:

    Configuration syntax error detected. Not reloading.

    Syntax error on line 23 of /etc/apache/modules.conf:
    Cannot load /usr/lib/apache/1.3/libphp4.so into server: /usr/lib/apache/1.3/libphp4.so: undefined symbol: db_strerror_4002

    Meine Apache-Version:
    Server version: Apache/1.3.31 (Debian GNU/Linux)
    Server built: Sep 9 2004 07:31:19

    Übrige Module/Programme/etc Versionen über COLUMNS=190 dpkg -l |egrep '(php|apache)' ermittelt:
    ii apache 1.3.31-6 Versatile, high-performance HTTP server
    ii apache-common 1.3.31-6 Support files for all Apache webservers
    ii apache-doc 1.3.31-6 Apache webserver docs
    rc apache-ssl 1.3.26.1+1.48-0woody3 Versatile, high-performance HTTP server with SSL support
    ii apache-utils 1.3.31-6 Utility programs for webservers
    ii apache2-common 2.0.50-12 Next generation, scalable, extendable web server
    ii apache2-mpm-prefork 2.0.50-12 Traditional model for Apache2
    rc libapache-mod-jk 3.3a-4woody1 Apache connector for Tomcat servlet engine
    ii libapache-mod-php4 4.3.8-12 server-side, HTML-embedded scripting language (apache 1.3 module)
    ii libapache-mod-ssl 2.8.19-1 Strong cryptography (HTTPS support) for Apache
    ii libapache2-mod-perl2 1.99.14-4 Integration of perl with the Apache2 web server
    ii libapache2-mod-php4 4.3.8-12 server-side, HTML-embedded scripting language (apache 2.0 module)
    ii libapache2-mod-python 3.1.3-2.2 An Apache module that embeds Python within the server
    ii libapache2-mod-python2.3 3.1.3-2.2 An Apache 2 module that embeds Python 2.3 within the server
    ii libapache2-svn 1.0.6-2 Apache modules for Subversion (aka. svn)
    ii php4 4.3.8-12 server-side, HTML-embedded scripting language (meta-package)
    ii php4-cgi 4.3.8-12 server-side, HTML-embedded scripting language (CGI binary)
    ii php4-cli 4.3.8-12 command-line interpreter for the php4 scripting language
    ii php4-common 4.3.8-12 Common files for packages built from the php4 source
    ii php4-mysql 4.3.8-12 MySQL module for php4
    ii php4-pear 4.3.8-12 PEAR - PHP Extension and Application Repository
    ii phpdoc 20030911-1.1 Documentation for PHP4 and PHP3
    ii phpmyadmin 2.5.7-pl1-1 A set of PHP-scripts to administrate MySQL over the WWW
    ii webmin-apache 1.150-3 apache control module for webmin

    Meine modules.conf Datei:
    # Autogenerated file - do not edit!
    # This file is maintained by the apache package.
    # To update it, run the command:
    # /usr/sbin/apache-modconf apache
    ClearModuleList
    AddModule mod_so.c
    AddModule mod_macro.c
    LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
    LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
    LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
    LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
    LoadModule status_module /usr/lib/apache/1.3/mod_status.so
    LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
    LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
    LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
    LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
    LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
    LoadModule access_module /usr/lib/apache/1.3/mod_access.so
    LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
    LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
    LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
    LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
    LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

    Ich habe das PHP-Modul bereits komplett removed, den Package-Cache gelöscht und neu installiert...

    Die Datei existiert natürlich und hat imho korrekte Rechte:
    -rw-r--r-- 1 root root 3083792 Sep 6 07:50 /usr/lib/apache/1.3/libphp4.so

    Über Google habe ich leider nichts gefunden, was mein Problem löst. Es scheint zwar dieses Problem öfters aufzutreten, aber habe nur ungelöste Threads wie z.B. gefunden:

    PHP4-IMAP habe ich nicht installiert (soll es ja auch Probleme geben)

    Kann es evtl. auch ein Problem sein, wenn man apache 1.3 und apache 2.x gleichzeitig installiert hat? Benötige apache2 fürs SubVersions mit Berkeley-DB

    Für jeden Hinweis dankbar...

    Gruß,
    Werner

  2. #2
    ...
    Registriert seit
    Jul 2002
    Ort
    Obing
    Beiträge
    59
    Falls es jemanden noch interessieren sollte, hier meine "Lösung"

    Ich habe nun die Berkeley-Datenbank per "make uninstall" gelöscht und nun funktioniert der apache1 mit PHP wieder...

    Gruß,
    Werner

Ähnliche Themen

  1. Apache2 und die CPU-Last
    Von MaDmAsTeR im Forum Linux als Server
    Antworten: 3
    Letzter Beitrag: 12.09.04, 16:39
  2. von SuSE- zu DebianLinux ?
    Von verve im Forum Linux Allgemein
    Antworten: 5
    Letzter Beitrag: 23.03.04, 18:28
  3. apache 1.3.27 Berechtigung
    Von Kupfer im Forum Linux als Server
    Antworten: 10
    Letzter Beitrag: 30.12.03, 19:45
  4. Apache 1.3 php und shtml beibringen
    Von AceTheFace im Forum Linux als Server
    Antworten: 3
    Letzter Beitrag: 16.12.03, 10:16
  5. Apache 1.3 erkennt PHP 4 nicht
    Von Bhailen im Forum Linux als Server
    Antworten: 2
    Letzter Beitrag: 21.08.03, 14:08

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •