Ed Loehr wrote:
> 
> I'm attempting to install AxKit 1.4 (and 10 or so other pre-requisite
> modules) on my modperl/modssl server, and I'm trying to get the
> ultra-basic AxKit manpage example to work ('perldoc AxKit').
> 
> The first sign of trouble has arisen:  httpd silently exits immediately
> after startup once I add the specified AxKit configuration to my Apache
> config files, and I have not been able to find any logging whatsoever
> yet.  I can see it is successfully loading AxKit.pm, and producing
> seemingly all of the normal Apache log startup messages I usually see.
> It's just that when I go to the ps table, it is not there.  Does anyone
> have a clue to offer before I recompile with debugging on?
> 
>   Apache/1.3.20 (Unix) mod_perl/1.25 mod_ssl/2.8.4 OpenSSL/0.9.6b

More data:  there is no core file created, and the mere presence of this
one line in my httpd.conf ...

        PerlModule AxKit

...with no other AxKit directives anywhere, causes httpd to exit shortly
(< 1 sec) after starting.  I hacked AxKit.pm to verify it is loading, and
it is successfully completing it's BEGIN block.

Any clues?

Regards,
Ed Loehr


This is kernel 2.2.12-20smp.

# perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.2.5-22smp, archname=i386-linux
    uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2
09:11:51 edt 1999 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=undef, usevfork=false
    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 =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under linux
  Compiled at Aug 30 1999 23:09:51
  @INC:
    /usr/lib/perl5/5.00503/i386-linux
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005/i386-linux
    /usr/lib/perl5/site_perl/5.005


# httpd -V
Server version: Apache/1.3.20 (Unix)
Server built:   Aug 31 2001 21:07:15
...
Server compiled with....
 -D EAPI
 -D HAVE_MMAP
 -D HAVE_SHMGET
 -D USE_SHMGET_SCOREBOARD
 -D USE_MMAP_FILES
 -D USE_SYSVSEM_SERIALIZED_ACCEPT
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D HTTPD_ROOT="/usr/local/apache_ssl-2.8.4-1.3.20"
 -D SUEXEC_BIN="/usr/local/apache_ssl-2.8.4-1.3.20/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="logs/httpd.lock"
 -D DEFAULT_XFERLOG="logs/access_log"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
 -D ACCESS_CONFIG_FILE="conf/access.conf"
 -D RESOURCE_CONFIG_FILE="conf/srm.conf"

Reply via email to