Files are there but apache won't start

I realize this is more an apache question, but since I am getting errors
trying to get rt to run I thought I would post this.

I am setting up apache 1.3.28. It starts up fine until I add my rt alias to
httpd.conf

Alias /rt2 /opt/rt2/WebRT/html
PerlRequire /opt/rt2/bin/webmux.pl
<Location /rt2>
SetHandler perl-script
PerlHandler RT::Mason

I get the following error after two new installs of apache. Testdeps shows
everything is up to par. I can browse to the files it says are not there.
This is installed on Fedora core 1. Any ideas how to resolve this?

[root@support conf]# /usr/local/apache/bin/apachectl start

[Tue Dec 2 13:16:13 2003] [error] Can’t load
‘/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/auto/Apache/Cookie/C
ookie.so’ for module Apache::cookie: libapreq.so: cannot open shared object
file: No such file or directory at
/usr/lib/perl5/5.8.1/i386-linux-thread-multi/DynaLoader.pm line 229.

at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/mod_perl.pm line
14

Compilation failed in require at /opt/rt2/bin/webmux.pl line 80.

BEGIN failed–compilation aborted at /opt/rt2/bin/webmux.pl line 80.

Compilation failed in require at (eval 2) line 1.

Hey Raymond,

Did you do a make testdeps, then a make fixdeps before you did a make
install?

Yes, everything checked out. I had to manually install Apache::Cookie ( I
saw 2 lines about invalid pointer errors, but it installed).
CPAN did the rest.

Yes, everything checked out. I had to manually install
Apache::Cookie ( I saw 2 lines about invalid pointer errors,
but it installed). CPAN did the rest.

Hmm… Just for grins–can you do a which perl and make sure RT is pointing to the right one? (I know on FreeBSD there’s the “system” and “port” version of Perl, which are in different directories.)

G.

Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)

Hmm… Just for grins–can you do a which perl and make sure RT is
pointing to the right one? (I know on FreeBSD there’s the “system” and
“port” version of Perl, which are in different directories.)

which perl gives me /usr/bin/perl

I am setting up apache 1.3.28. It starts up fine until I add
my rt alias to httpd.conf

Alias /rt2 /opt/rt2/WebRT/html
PerlRequire /opt/rt2/bin/webmux.pl
<Location /rt2>
SetHandler perl-script
PerlHandler RT::Mason

Another thing… In my rt2 setup I have:

PerlModule Apache::DBI
PerlRequire /sw/rt/bin/webmux.pl
SetHandler perl-script
PerlHandler RT::Mason
Options ExecCGI FollowSymLinks

G.
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)

Another thing… In my rt2 setup I have:

PerlModule Apache::DBI
PerlRequire /sw/rt/bin/webmux.pl
SetHandler perl-script
PerlHandler RT::Mason
Options ExecCGI FollowSymLinks

It took those lines, but gives me the same error

Raymond Norton wrote:

I get the following error after two new installs of apache. Testdeps shows
everything is up to par. I can browse to the files it says are not there.

including libapreq.so? Try reinstalling Apache::Request perhaps?

‘/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/auto/Apache/Cookie/C
ookie.so’ for module Apache::cookie: libapreq.so: cannot open shared object
file: No such file or directory at
/usr/lib/perl5/5.8.1/i386-linux-thread-multi/DynaLoader.pm line 229.

Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - A CyberGuard Company