You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Allen May <al...@daytondigital.net> on 2002/01/21 12:49:07 UTC

ap_null_cleanup error

I am trying to launch HTTPD on my newly install FreeBSD 4.4 box and it comes back with an error saying it can't load the MOD's (see error message below).

I have also printed my HTTPD specs below.

This is a clean install of FreeBSD.. the only other thing I've done is added Perl5 through CPAN (see Perl specs below).

I have looked in my httpd.conf at the line it's calling as an error. When I comment-out that "LoadModule" line, the next line of "LoadModule" raises the same error. I did this for 5-6 modules, getting the same error. I have verified that the *.so files exist.. I have even put the full path to the *.so files with no luck. You'll find a snippet of my httpd.conf below.

Can someone tell me what's wrong with my configuration? Why won't it load the modules?

Thanks for any suggestions (sorry for the long e-mail.. I wanted to provide as much information as possible to help diagnose this problem).

-Allen May


Troubleshooting data from here ===>>> to  here <<<===

Begin troubleshooting data
===>>>

----------------- My error message -----------------
pd1#>> /usr/local/sbin/httpd
Syntax error on line 205 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/mod_mmap_static.so into server: /usr/local/libexec/apache/mod_mmap_static.so: Undefined symbol "ap_null_cleanup"

----------------- Snippet of httpd.conf -----------------
    193 # have to place corresponding `LoadModule' lines at this location so the
    194 # directives contained in it are actually available _before_ they are used.
    195 # Please read the file README.DSO in the Apache 1.3 distribution for more
    196 # details about the DSO mechanism and run `httpd -l' for the list of already
    197 # built-in (statically linked and thus always available) modules in your httpd
    198 # binary.
    199 #
    200 # Note: The order in which modules are loaded is important.  Don't change
    201 # the order below without expert advice.
    202 #
    203 # Example:
    204 # LoadModule foo_module libexec/mod_foo.so
    205 LoadModule mmap_static_module libexec/apache/mod_mmap_static.so
    206 LoadModule vhost_alias_module libexec/apache/mod_vhost_alias.so
    207 LoadModule env_module         libexec/apache/mod_env.so
    208 LoadModule config_log_module  libexec/apache/mod_log_config.so
    209 LoadModule mime_magic_module  libexec/apache/mod_mime_magic.so
    210 LoadModule mime_module        libexec/apache/mod_mime.so
    211 LoadModule negotiation_module libexec/apache/mod_negotiation.so
    212 LoadModule status_module      libexec/apache/mod_status.so
    213 LoadModule info_module        libexec/apache/mod_info.so
    214 LoadModule includes_module    libexec/apache/mod_include.so
    215 LoadModule autoindex_module   libexec/apache/mod_autoindex.so
    216 LoadModule dir_module         libexec/apache/mod_dir.so
    217 LoadModule cgi_module         libexec/apache/mod_cgi.so
 
----------------- My Apache Information -----------------
pd1#>> httpd -V
Server version: Apache/2.0.16
Server built:   Sep 13 2001 19:04:13
Server's Module Magic Number: 20010224:1
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6
 -D APR_USE_FCNTL_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr/local"
 -D SUEXEC_BIN="/usr/local/sbin/suexec"
 -D DEFAULT_ERRORLOG="/var/log/httpd-error.log"
 -D SERVER_CONFIG_FILE="etc/apache/httpd.conf"

----------------- My Perl Information -----------------
pd1# perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=freebsd, osvers=4.0-current, archname=i386-freebsd
    uname='FreeBSD freefall.FreeBSD.org 4.0-current FreeBSD 4.0-current #0: $Date$'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='undef', gccversion=2.95.2 19991024 (release)
    cppflags=''
    ccflags =''
    stdchar='char', d_stdstdio=undef, usevfork=true
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-Wl,-E -lperl -lm '
    libpth=/usr/lib
    libs=-lm -lc -lcrypt
    libc=, so=so, useshrplib=true, libperl=libperl.so.3
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/lib'
    cccdlflags='-DPIC -fpic', lddlflags='-Wl,-E -shared -lperl -lm '


Characteristics of this binary (from libperl):
  Built under freebsd
  Compiled at Sep 18 2001 09:46:06
  @INC:
    /usr/libdata/perl/5.00503/mach
    /usr/libdata/perl/5.00503
    /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
    /usr/local/lib/perl5/site_perl/5.005

End troubleshooting data
<<<===