Loading ...
Sorry, an error occurred while loading the content.
 

help: Apache crashes on MAC OS X 10.3 (Panther) & Apache::ASP

Expand Messages
  • xyopotl
    Hi all, I have a problem with Apache crashing after successfully installing Bundle::Apache::ASP (via perl -MCPAN -eshell , no errors whatsoever reported, a
    Message 1 of 1 , Jan 5, 2005
      Hi all,

      I have a problem with Apache crashing after successfully installing
      Bundle::Apache::ASP (via "perl -MCPAN -eshell", no errors whatsoever
      reported, a subsequent "cpan>test Apache::ASP" returns all OK) on my
      Mac OS X 10.3.7; I am successfully running Apache 1.3.33 with mod_perl
      1.26 (manually installed); a testmodule for mod_perl by itself runs ok.

      I have this for Apache::ASP in my httpd.conf (vanilla config, copied
      from www.apache-asp.org):

      PerlModule Apache::ASP
      <Files ~ (\.asp)>
      SetHandler perl-script
      PerlHandler Apache::ASP
      PerlSetVar Global .
      PerlSetVar NoState 1
      </Files>

      This is what Apache burps out in its error log immediately after startup:

      [Thu Jan 6 07:03:46 2005] [notice] Apache/1.3.33 (Darwin) PHP/4.3.10
      mod_perl/1.26 configured -- resuming normal operations
      [Thu Jan 6 07:03:46 2005] [notice] Accept mutex: flock (Default: flock)
      [Thu Jan 6 07:21:45 2005] [notice] caught SIGTERM, shutting down
      dyld: /usr/sbin/httpd Undefined symbols:
      _inflate
      _inflateEnd
      _inflateInit2_
      _inflateInit_
      _inflateReset
      _zlibVersion

      At this point, httpd has stopped.

      When I comment out the above mentioned Apache::ASP section in my
      httpd.conf, Apache is running just fine, mod_perl is running just
      fine, the sun is shining.

      My config:

      [cv@montezuma:/var/log/httpd]$httpd -V
      Server version: Apache/1.3.33 (Darwin)
      Server built: Nov 29 2004 17:59:31
      Server's Module Magic Number: 19990320:16
      Server compiled with....
      -D EAPI
      -D HAVE_MMAP
      -D USE_MMAP_SCOREBOARD
      -D USE_MMAP_FILES
      -D HAVE_FCNTL_SERIALIZED_ACCEPT
      -D HAVE_FLOCK_SERIALIZED_ACCEPT
      -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
      -D DYNAMIC_MODULE_LIMIT=64
      -D HARD_SERVER_LIMIT=2048
      -D HTTPD_ROOT="/usr"
      -D SUEXEC_BIN="/usr/sbin/suexec"
      -D DEFAULT_PIDLOG="/var/run/httpd.pid"
      -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
      -D DEFAULT_LOCKFILE="/var/run/httpd.lock"
      -D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
      -D TYPES_CONFIG_FILE="/etc/httpd/mime.types"
      -D SERVER_CONFIG_FILE="/etc/httpd/httpd.conf"
      -D ACCESS_CONFIG_FILE="/etc/httpd/access.conf"
      -D RESOURCE_CONFIG_FILE="/etc/httpd/srm.conf"

      [cv@montezuma:/var/log/httpd]$perl -V
      Summary of my perl5 (revision 5.0 version 8 subversion 1 RC3)
      configuration:
      Platform:
      osname=darwin, osvers=7.0, archname=darwin-thread-multi-2level
      uname='darwin hampsten 7.0 darwin kernel version 6.0: fri jul 25
      16:58:41 pdt 2003;
      root:xnu-344.frankd.rootsxnu-344.frankd~objrelease_ppc power macintosh
      powerpc '
      config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe
      -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib'
      hint=recommended, useposix=true, d_sigaction=define
      usethreads=define use5005threads=undef useithreads=define
      usemultiplicity=define
      useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
      use64bitint=undef use64bitall=undef uselongdouble=undef
      usemymalloc=n, bincompat5005=undef
      Compiler:
      cc='cc', ccflags ='-g -pipe -pipe -fno-common -DPERL_DARWIN
      -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include',
      optimize='-Os',
      cppflags='-no-cpp-precomp -g -pipe -pipe -fno-common -DPERL_DARWIN
      -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include'
      ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build
      1495)', gccosandvers=''
      intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
      d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
      ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
      lseeksize=8
      alignbytes=8, prototype=define
      Linker and Libraries:
      ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib'
      libpth=/usr/local/lib /usr/lib
      libs=-ldbm -ldl -lm -lc
      perllibs=-ldl -lm -lc
      libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,
      libperl=libperl.dylib
      gnulibc_version=''
      Dynamic Linking:
      dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
      cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup
      -L/usr/local/lib'


      Characteristics of this binary (from libperl):
      Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
      PERL_IMPLICIT_CONTEXT
      Locally applied patches:
      RC3
      Built under darwin
      Compiled at Sep 12 2003 19:50:49
      @INC:
      /System/Library/Perl/5.8.1/darwin-thread-multi-2level
      /System/Library/Perl/5.8.1
      /Library/Perl/5.8.1/darwin-thread-multi-2level
      /Library/Perl/5.8.1
      /Library/Perl
      /Network/Library/Perl/5.8.1/darwin-thread-multi-2level
      /Network/Library/Perl/5.8.1
      /Network/Library/Perl
      .
      [cv@montezuma:/var/log/httpd]$sudo perl -MCPAN -eshell
      cpan shell -- CPAN exploration and modules installation (v1.76)
      ReadLine support available (try 'install Bundle::CPAN')

      cpan> install Bundle::Apache::ASP
      CPAN: Storable loaded ok
      Going to read /var/root/.cpan/Metadata
      Database was generated on Wed, 05 Jan 2005 13:50:05 GMT
      MLDBM is up to date.
      Digest::MD5 is up to date.
      MLDBM::Sync is up to date.
      Apache::ASP is up to date.


      Many thanks in advance for your ideas.

      Chris.




      ---------------------------------------------------------------------
      To unsubscribe, e-mail: asp-unsubscribe@...
      For additional commands, e-mail: asp-help@...
    Your message has been successfully submitted and would be delivered to recipients shortly.