Yet Another Error Starting Apache: ap_null_cleanup not found

I get this when starting Apache ( Apache/1.3.23 (Unix) PHP/4.1.1 mod_perl/1.26 mod_ssl/2.8.6 OpenSSL/0.9.6b ) :

[Mon Feb  4 13:23:52 2002] [error] Can't load '/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/Cookie/Cookie.so' for module Apache::Cookie: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/Cookie/Cookie.so: symbol ap_null_cleanup: referenced symbol not found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
 at /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/mod_perl.pm line 14
Compilation failed in require at /local/opt/rt2/bin/webmux.pl line 80.
BEGIN failed--compilation aborted at /local/opt/rt2/bin/webmux.pl line 80.
Compilation failed in require at (eval 34) line 1.

Syntax error on line 1209 of /usr/local/apache/conf/httpd.conf:
Can't load '/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/Cookie/Cookie.so' for module Apache::Cookie: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/Cookie/Cookie.so: symbol ap_null_cleanup: referenced symbol not found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
 at /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/mod_perl.pm line 14
Compilation failed in require at /local/opt/rt2/bin/webmux.pl line 80.
BEGIN failed--compilation aborted at /local/opt/rt2/bin/webmux.pl line 80.
Compilation failed in require at (eval 34) line 1.

In httpd.conf:

# RT2 Stuff

Alias /rt2 /local/opt/rt2/WebRT/html
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /local/opt/rt2/bin/webmux.pl
<Location /rt2>
    SetHandler perl-script
    PerlHandler RT::Mason
</Location>

# End of RT2 Stuff

Sounds like Apache::Cookie didn’t install right. Sometimes that’s a module
you have to install manually…

Greg Smythe
SysAdmin
Intellstat Communications
WA State Resident-----Original Message-----
From: Pepin, Joseph D (Joe), PROSH [mailto:joepepin@att.com]
Sent: Monday, February 04, 2002 10:52 AM
To: rt-users@lists.fsck.com
Subject: [rt-users] Yet Another Error Starting Apache: ap_null_cleanup not
found

I get this when starting Apache ( Apache/1.3.23 (Unix) PHP/4.1.1
mod_perl/1.26 mod_ssl/2.8.6 OpenSSL/0.9.6b ) :

[Mon Feb  4 13:23:52 2002] [error] Can't load

‘/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/Cookie/Cookie
.so’ for module Apache::cookie: ld.so.1: /usr/local/apache/bin/httpd: fatal:
relocation error: file
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/Cookie/Cookie.
so: symbol ap_null_cleanup: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/mod_perl.pm
line 14
Compilation failed in require at /local/opt/rt2/bin/webmux.pl line
80.
BEGIN failed–compilation aborted at /local/opt/rt2/bin/webmux.pl
line 80.
Compilation failed in require at (eval 34) line 1.

Syntax error on line 1209 of /usr/local/apache/conf/httpd.conf:
Can't load

‘/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/Cookie/Cookie
.so’ for module Apache::cookie: ld.so.1: /usr/local/apache/bin/httpd: fatal:
relocation error: file
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/Cookie/Cookie.
so: symbol ap_null_cleanup: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/mod_perl.pm
line 14
Compilation failed in require at /local/opt/rt2/bin/webmux.pl line
80.
BEGIN failed–compilation aborted at /local/opt/rt2/bin/webmux.pl
line 80.
Compilation failed in require at (eval 34) line 1.

In httpd.conf:

# RT2 Stuff

Alias /rt2 /local/opt/rt2/WebRT/html
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /local/opt/rt2/bin/webmux.pl
<Location /rt2>
    SetHandler perl-script
    PerlHandler RT::Mason
</Location>

# End of RT2 Stuff

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Nope, I’m not that much of a programmer… ;-(

Greg Smythe
SysAdmin
Intellstat Communications
WA State Resident-----Original Message-----
From: Pepin, Joseph D (Joe), PROSH [mailto:joepepin@att.com]
Sent: Monday, February 04, 2002 11:35 AM
To: Greg Smythe
Subject: RE: [rt-users] Yet Another Error Starting Apache: ap_null_cleanup
not found

No problems installing Apache::Cookie (see below), but Apache still won’t
start. There are a couple of (extinct) versions of Apache on my system. The
routine ap_null_cleanup is actually somewhere in Apache. Any idea where
libapreq is looking for it?

perl Makefile.PL

Writing Makefile for libapreq
Warning: -L…/blib/arch/auto/libapreq changed to
-L/export/home/jpepin/.cpan/build/libapreq-0.33/Request/…/blib/arch/auto/li
bapreq
Writing Makefile for Apache::Request
Warning: -L…/blib/arch/auto/libapreq changed to
-L/export/home/jpepin/.cpan/build/libapreq-0.33/Cookie/…/blib/arch/auto/lib
apreq
Writing Makefile for Apache::Cookie
Writing Makefile for libapreq

make install

make[1]: Entering directory
/export/home/jpepin/.cpan/build/libapreq-0.33/c' gcc -c -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/modu les/perl -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/incl ude -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/rege x -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/os/u nix -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE apache_request.c gcc -c -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/modu les/perl -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/incl ude -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/rege x -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/os/u nix -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE apache_cookie.c gcc -c -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/modu les/perl -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/incl ude -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/rege x -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/os/u nix -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE apache_multipart_buffer.c rm -rf ../blib/arch/auto/libapreq/libapreq.a /usr/ccs/bin/ar cr ../blib/arch/auto/libapreq/libapreq.a apache_request.o apache_cookie.o apache_multipart_buffer.o && : ../blib/arch/auto/libapreq/libapreq.a chmod 755 ../blib/arch/auto/libapreq/libapreq.a make[1]: Leaving directory /export/home/jpepin/.cpan/build/libapreq-0.33/c’
make[1]: Entering directory
/export/home/jpepin/.cpan/build/libapreq-0.33/Request' gcc -c -I../c -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/modu les/perl -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/incl ude -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/rege x -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/os/u nix -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.33\" -DXS_VERSION=\"0.33\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE Request.c Running Mkbootstrap for Apache::Request () chmod 644 Request.bs rm -f ../blib/arch/auto/Apache/Request/Request.so LD_RUN_PATH="/export/home/jpepin/.cpan/build/libapreq-0.33/Request/../blib/a rch/auto/libapreq" gcc -G -L/usr/local/lib Request.o -o ../blib/arch/auto/Apache/Request/Request.so -L/export/home/jpepin/.cpan/build/libapreq-0.33/Request/../blib/arch/auto/li bapreq -lapreq chmod 755 ../blib/arch/auto/Apache/Request/Request.so cp Request.bs ../blib/arch/auto/Apache/Request/Request.bs chmod 644 ../blib/arch/auto/Apache/Request/Request.bs Manifying ../blib/man3/Apache::Request.3 make[1]: Leaving directory /export/home/jpepin/.cpan/build/libapreq-0.33/Request’
make[1]: Entering directory
/export/home/jpepin/.cpan/build/libapreq-0.33/Cookie' gcc -c -I../c -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/modu les/perl -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/incl ude -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/rege x -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/include/os/u nix -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE Cookie.c Running Mkbootstrap for Apache::Cookie () chmod 644 Cookie.bs rm -f ../blib/arch/auto/Apache/Cookie/Cookie.so LD_RUN_PATH="/export/home/jpepin/.cpan/build/libapreq-0.33/Cookie/../blib/ar ch/auto/libapreq" gcc -G -L/usr/local/lib Cookie.o -o ../blib/arch/auto/Apache/Cookie/Cookie.so -L/export/home/jpepin/.cpan/build/libapreq-0.33/Cookie/../blib/arch/auto/lib apreq -lapreq chmod 755 ../blib/arch/auto/Apache/Cookie/Cookie.so cp Cookie.bs ../blib/arch/auto/Apache/Cookie/Cookie.bs chmod 644 ../blib/arch/auto/Apache/Cookie/Cookie.bs Manifying ../blib/man3/Apache::Cookie.3 make[1]: Leaving directory /export/home/jpepin/.cpan/build/libapreq-0.33/Cookie’
Manifying blib/man3/libapreq.3
Manifying blib/man3/Apache::libapreq.3
Installing
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/libapreq/libapreq.a
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Installing /usr/local/man/man3/Apache::Request.3
Installing /usr/local/man/man3/Apache::Cookie.3
Installing /usr/local/man/man3/libapreq.3
Installing /usr/local/man/man3/Apache::libapreq.3
Writing
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/libapreq/.packlist
Appending installation info to
/usr/local/lib/perl5/5.6.1/sun4-solaris/perllocal.pod

-----Original Message-----
From: Greg Smythe [mailto:gregs@Intellstat.com]
Sent: Monday, February 04, 2002 2:07 PM
To: Pepin, Joseph D (Joe), PROSH; rt-users@lists.fsck.com
Subject: RE: [rt-users] Yet Another Error Starting Apache:
ap_null_cleanup not found

Sounds like Apache::Cookie didn’t install right. Sometimes that’s a module
you have to install manually…

Greg Smythe
SysAdmin
Intellstat Communications
WA State Resident

-----Original Message-----
From: Pepin, Joseph D (Joe), PROSH [mailto:joepepin@att.com]
Sent: Monday, February 04, 2002 10:52 AM
To: rt-users@lists.fsck.com
Subject: [rt-users] Yet Another Error Starting Apache: ap_null_cleanup not
found

I get this when starting Apache ( Apache/1.3.23 (Unix) PHP/4.1.1
mod_perl/1.26 mod_ssl/2.8.6 OpenSSL/0.9.6b ) :

[Mon Feb  4 13:23:52 2002] [error] Can't load

‘/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/Cookie/Cookie
.so’ for module Apache::cookie: ld.so.1: /usr/local/apache/bin/httpd: fatal:
relocation error: file
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/Cookie/Cookie.
so: symbol ap_null_cleanup: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/mod_perl.pm
line 14
Compilation failed in require at /local/opt/rt2/bin/webmux.pl line
80.
BEGIN failed–compilation aborted at /local/opt/rt2/bin/webmux.pl
line 80.
Compilation failed in require at (eval 34) line 1.

Syntax error on line 1209 of /usr/local/apache/conf/httpd.conf:
Can't load

‘/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/Cookie/Cookie
.so’ for module Apache::cookie: ld.so.1: /usr/local/apache/bin/httpd: fatal:
relocation error: file
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Apache/Cookie/Cookie.
so: symbol ap_null_cleanup: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/mod_perl.pm
line 14
Compilation failed in require at /local/opt/rt2/bin/webmux.pl line
80.
BEGIN failed–compilation aborted at /local/opt/rt2/bin/webmux.pl
line 80.
Compilation failed in require at (eval 34) line 1.

In httpd.conf:

# RT2 Stuff

Alias /rt2 /local/opt/rt2/WebRT/html
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /local/opt/rt2/bin/webmux.pl
<Location /rt2>
    SetHandler perl-script
    PerlHandler RT::Mason
</Location>

# End of RT2 Stuff

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users