Install problems

-----BEGIN PGP SIGNED MESSAGE-----

I grabbed 2.1.84 hoping it would help. Everything seems to go smoothly, the
database is created, etc. But I get errors like this when trying to implement
it into apache:

apachectl configtest

[Mon Mar 10 09:32:13 2003] [error] Can’t locate Encode/compat.pm in @INC (@INC
contains: /opt/rt3/lib /opt/rt3/local/lib
/usr/local/lib/site_perl/5.00503/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503 /usr/local/ /usr/local/lib/perl) at
/opt/rt3/lib/RT/I18N.pm line 40.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/I18N.pm line 42.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT.pm line 29.
BEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line 38.

Syntax error on line 1172 of /usr/local/etc/apache/httpd.conf:
Can’t locate Encode/compat.pm in @INC (@INC contains: /opt/rt3/lib
/opt/rt3/local/lib /usr/local/lib/site_perl/5.00503/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503 /usr/local/ /usr/local/lib/perl) at
/opt/rt3/lib/RT/I18N.pm line 40.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/I18N.pm line 42.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT.pm line 29.
BEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line 38.

Why is it looking in the old perl path?

perl -v

This is perl, v5.8.0 built for i386-freebsd


Andy Harrison
Great Works Internet
System Operations
ajharrison@gwi.net
RSA 1024 pgp key: http://www.nachoz.com/andy.pub

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQCVAwUBPmyjAVPEkLgodAWVAQHScgP/b06O+xW8Nlhcm2lyfeNqep0d5l0E0Yx8
Myizp+z7f5v8xN4ckLqkiUSt1/ODLuYig/CrMhnkbKwSFQZk3Fvp4z5/aKGcadxy
5lgrU0AcYfFikmnDabge77ePV3O0hCZKG3/LeMOU6AQ4BHNS7MqIuR/TIjIXQZI7
6ucx5L4Hp7M=
=LNJp
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----On 10-Mar-2003 Odhiambo Washington wrote:

Did you do:

Sorry, forgot to cc the list on my response. Gerald’s make.conf suggested was
what did the trick in the end. Thanx though!


Andy Harrison
Great Works Internet
System Operations
ajharrison@gwi.net
RSA 1024 pgp key: http://www.nachoz.com/andy.pub

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQCVAwUBPmzAZVPEkLgodAWVAQG+SQP+I8cu1r+wrn/wbztw0ffU1jEOZEVXQHgk
4eeXZgdBi+9BD0AP3EfzqjY0QLEoM0BuyA+S7Hg5ZXX0h8yZauMebGT7rVLOPu1w
lYAMTD3GyEcO+PLysFgg37U1/ZsCMPCKegHyOfyv3i6yhvSp5GETLgIO6ZkjDQv0
LghA1slNvNo=
=tJY3
-----END PGP SIGNATURE-----

I started with Red Hat 7.2
rt is 2.0.11
Perl to 5.6.1
make testdeps shows everything found.
I have everything installed
make install works fine

When I connect to the ip address with a web browser I get :
page cannot be displayed on the browser and in the apache error_log I get :

[Sun Jan 6 10:14:21 2002] [notice] child pid 11154 exit signal
Segmentation fault (11)

Any pointers to where I should look would be helpful, or what other info I
can provide?

Doug

How did you compile mod_perl? As DSO or static?
Check the readme and the docs (which can be found on the rt’s website).

A.On Sun, 6 Jan 2002, Doug Needham wrote:

I started with Red Hat 7.2
rt is 2.0.11
Perl to 5.6.1
make testdeps shows everything found.
I have everything installed
make install works fine

When I connect to the ip address with a web browser I get :
page cannot be displayed on the browser and in the apache error_log I get :

[Sun Jan 6 10:14:21 2002] [notice] child pid 11154 exit signal
Segmentation fault (11)

Any pointers to where I should look would be helpful, or what other info I
can provide?

Doug


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

Hi,

Are only the RT pages breaking or is Apache having problems in
general? I’ve traced segfaults in Apache back to problems with
/etc/hosts so the cause could be almost anything. I’ve had limited
success using strace to watch systems calls; as previous posts
have shown, you get a lot of information and it takes some digging
(and a fair bit of experience[1]) to ferret out clues to a process’
demise.

It’s a gory, up-to-your-elbows-in-muck approach but it beats second-
guessing Apache error logs.

– Bob

[1] Experience that I’m in the process of getting.On 6 Jan 2002, at 11:57, Doug Needham wrote:

I started with Red Hat 7.2
rt is 2.0.11
Perl to 5.6.1
make testdeps shows everything found.
I have everything installed
make install works fine

When I connect to the ip address with a web browser I get :
page cannot be displayed on the browser and in the apache error_log I
get :

[Sun Jan 6 10:14:21 2002] [notice] child pid 11154 exit signal
Segmentation fault (11)

Any pointers to where I should look would be helpful, or what other
info I can provide?

Doug

Doug,

what database are you using?

–Calvin

I think I found the problem, and it doesn’t have anything to do with rt.
The problem is I upgraded perl from 5.6.0 to 5.6.1. Well now I need to
upgrade mod_perl to reflect the new version of perl I have.
I don’t know how to do this part. I have rebuilt perl 5.6.1 and mod_perl a
number of times and I keep getting segfaults. I think my problem has more
to do with the upgrade of perl than anything else.

Thanks for the help, but unless I someone here can point me in the right
direction with the perl issue I am asking the wrong forum.

Thanks again,

Doug
At 03:18 PM 1/6/02, Calvin Browne wrote:

Doug Needham wrote:

I think I found the problem, and it doesn’t have anything to do with rt.
The problem is I upgraded perl from 5.6.0 to 5.6.1. Well now I need to
upgrade mod_perl to reflect the new version of perl I have.
I don’t know how to do this part. I have rebuilt perl 5.6.1 and mod_perl a
number of times and I keep getting segfaults. I think my problem has more
to do with the upgrade of perl than anything else.

Thanks for the help, but unless I someone here can point me in the right
direction with the perl issue I am asking the wrong forum.

Thanks again,

Doug

Doug,

Attached is the script I use to build Apache with SSL and static mod_perl
support that I currently use for RT. I the latest released sources for all
but mod_perl, where I use the latest snapshot because it has some good fixes.

http://cvs.apache.org/snapshots/modperl/

Best,
Blair

Blair Zajac blair@orcaware.com
Web and OS performance plots - Orca Home Page - OrcaWare Technologies

mod_perl_configure.sh (7.93 KB)

I have Perl working with apache now.
Here is my setup:
Alias /rt2/ /opt/rt2/WebRT/html/
PerlRequire /opt/rt2/bin/webmux.pl
<Location /rt2>
SetHandler perl-script
PerlHandler RT::Mason

The problem I am having now is when I include the line :
PerlRequire /opt/rt2/bin/webmux.pl

Apache croaks. It comes up for a second and dies.

If I comment out this one line then to :
Alias /rt2/ /opt/rt2/WebRT/html/
#PerlRequire /opt/rt2/bin/webmux.pl
<Location /rt2>
SetHandler perl-script
PerlHandler RT::Mason

apache comes up and I get the error :
[Mon Jan 7 19:00:52 2002] [error] Can’t locate RT/Mason.pm in @INC (@INC
contains: /usr/lib/perl5/5.6.1/i386-linux /usr/l
ib/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/i38
6-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .
/etc/httpd/ /etc/httpd/lib/perl) at (eval 18) line 3.

[Mon Jan 7 19:00:52 2002] [error] Undefined subroutine &RT::Mason::handler
called.

I know webmux is needed, but I can’t very well troubleshoot it if Apache
won’t stay up.

Any hints on where to look now?

Thanks,

Doug

At 11:57 AM 1/6/02, Doug Needham wrote: