Configuration

anyone running with a configuration of :
perl 5.6.1
mod_perl 1.26
apache 1.3.22

with rt-2.0.11 ?

I have this configuraion and am curious if anyone else having any problems
with it?

|+ anyone running with a configuration of :
|+ perl 5.6.1
|+ mod_perl 1.26
|+ apache 1.3.22
|+
|+ with rt-2.0.11 ?
|+
|+ I have this configuraion and am curious if anyone else having any problems
|+ with it?

Could you be a little more detailed, as with regards to the problems you
are seeing.

Also, do you have mod_perl compiled as a DSO?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I’m running those versions and have no problems.

What problems do you have? We can’t help you if you don’t get specific.On Wednesday 09 January 2002 10:50 am, Doug Needham wrote:

anyone running with a configuration of :
perl 5.6.1
mod_perl 1.26
apache 1.3.22

with rt-2.0.11 ?

I have this configuraion and am curious if anyone else having any problems
with it?


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


Josh Krikke krikke@macatwa.org
MacNet Sysadmin Holland, MI
GnuPG Fingerprint: AC6F 13AC F945 CC45 BDFC 509E 8F41 9549 64DD 95DB
My public key http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x64DD95DB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8PHLlj0GVSWTdldsRAtCJAJwKx4M3N3Xw2rWlhG1xGsLEh4xjQwCfYZaY
WnpceMGMeEjeZJpNR11HliQ=
=KGSK
-----END PGP SIGNATURE-----

Here is my specific configuration information

This is my apache configuration for rt

Alias /mason /var/www/html/mason
<Location /mason>
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
PerlSetVar MasonCompRoot /var/www/html/mason
PerlSetVar MasonDataDir /var/www/html/mason
PerlModule HTML::Mason::ApacheHandler

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

This is my perl5 environmnet
perl -V

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.18p1m2hwq, archname=i386-linux
uname=‘linux needham5 2.4.18p1m2hwq #6 fri jan 4 17:50:05 est 2002
i686 unknown ‘
config_args=’-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc
-Dcccdlflags=-fPIC -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux
-Dd_dosuid -Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog
-Dman3ext=3pm -Dd_perl_otherlibdirs=/usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0 -Uuselargefiles’
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc=‘gcc’, ccflags =’-fno-strict-aliasing -I/usr/local/include’,
optimize=’-O2 -march=i386 -mcpu=i686’,
cppflags=’-fno-strict-aliasing -I/usr/local/include’
ccversion=’’, gccversion=‘2.96 20000731 (Red Hat Linux 7.1 2.96-98)’,
gccosandvers=’‘
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype=‘long’, ivsize=4, nvtype=‘double’, nvsize=8, Off_t=‘off_t’,
lseeksize=4
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld=‘gcc’, ldflags =’ -L/usr/local/lib’
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.2.4.so, 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):
Compile-time options:
Built under linux
Compiled at Jan 6 2002 22:43:21
@INC:
/usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl
.
As you can see I have Mason working I have done a few small things with it
so I know it actually works.
My problem is when I have this line in httpd.conf

PerlRequire /opt/rt2/bin/webmux.pl

Apache dies at startup.
[root@needham5 root]# /etc/init.d/httpd start
Starting httpd: [ OK ]
[root@needham5 root]# /etc/init.d/httpd status
httpd dead but subsys locked
[root@needham5 root]#

These commands were issued a few seconds apart.

I have an strace of apache if anyone wants it.

The command I used to build mod_perl was :

perl Makefile.PL USE_APXS=1 WITH_APXS=%{_sbindir}/apxs EVERYTHING=1
make

All of these components apache, mod_per,perl where all built on this machine.

The guidance I am looking for here is :
Where do I look to troubleshoot this?
Has anyone run into the same problem before?
Where do I go from here?

Thanks for the help and suggestions so far.

Doug

At 11:42 AM 1/9/02, you wrote:

The command I used to build mod_perl was :

perl Makefile.PL USE_APXS=1 WITH_APXS=%{_sbindir}/apxs EVERYTHING=1
make

Okay, so you’re building mod_perl as a DSO. RT’s README says:
If you compile mod_perl as a DSO, you’re on your own. It’s known to
have massive stability problems.

I suggest you try building Apache and mod_perl with DSO disabled
http://perl.apache.org/guide/install.html.

Also, it might be worth looking in Apache’s error log to see if there
are any clues in there.

Tom

“TH” == Tom Hukins tom@eborcom.com writes:

TH> Okay, so you’re building mod_perl as a DSO. RT’s README says:
TH> If you compile mod_perl as a DSO, you’re on your own. It’s known to
TH> have massive stability problems.

Depends on your system and your perl. With FreeBSD 4.x and the system
perl, the only issue is a massive memory leak on apache restart:
cure is to stop/start the server instead.

I’m doing testing with FreeBSD 4.x and perl 5.6.1 to see if the same
memory leak occurs. The expectation is that the leak will go
away… hmm quick test shows much smaller leak on restart, but still
there.

There are no stability issues at all with this configuration.

Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/