New Installation

I figure this to be more of a Perl Question…

I have read the archives and queried for the infamous “Can’t locate
Apache.pm”, while I found few matches I did really find what I was
looking for either.

RHEL 4
This RT 3.4.5
Apache 2.0.52
Perl 5.8.5

However, if I run RT using the standalone script it works fine, which
tells me it is an apache thing.
Apache.pm dose exist. However, the @INC apparently isn’t picking it up.

Exactly what do I need to reinstall to get this corrected? Apache has
been completely gutted and reinstalled. What perl module am I looking
for to reinstall? All the testdeps are showing everything is there.

Second thing is: How do you tell the standalone script to use a
different port, besides 8080?

thanks in advance
robert

I figure this to be more of a Perl Question…

I have read the archives and queried for the infamous “Can’t locate
Apache.pm”, while I found few matches I did really find what I was
looking for either.

RHEL 4
This RT 3.4.5
Apache 2.0.52
Perl 5.8.5

However, if I run RT using the standalone script it works fine, which
tells me it is an apache thing.
Apache.pm dose exist. However, the @INC apparently isn’t picking it up.

Exactly what do I need to reinstall to get this corrected? Apache has
been completely gutted and reinstalled. What perl module am I looking
for to reinstall? All the testdeps are showing everything is there.
Apache.pm is part of mod_perl, you have to decide if you want mod_perl
or FastCGI. In the latter case you don’t need Apache.pm. As you’re
using apache2 then you need mod_perl2 too, but afaik it has Apache2.pm
instead, so it’s not clear why anything complaining about Apache.pm.

Could you share relevant part of apache’s config?

Second thing is: How do you tell the standalone script to use a
different port, besides 8080?
./bin/standalone_httpd 8000

thanks in advance

robert


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.

Thanks Ruslan,

Sorry for the delay I was called out of the office on some trouble tickets.

Here is what I put in the httpd.conf

<VirtualHost *:4400>
ServerName mchn37.ocdirect.net
ServerAdmin rwcanary@ocdirect.net
DocumentRoot /opt/rt3/share/html
ErrorLog /var/log/rt/rt-web-error.log
CustomLog /var/log/rt/rt-web-access.log common
AddDefaultCharset UTF-8

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

<Location />
 SetHandler perl-script
 PerlHandler RT::Mason
</Location>

I do have an Apache2.pm as well as a apache.pm, I did a symlink to the
apache.pm and but now it is complaining that the mod_perl is pre 1.99.

This is a fresh RHEL 4 with all updates, it was my understanding the
httpd is apache2 and has been built with mod_perl2. At least that is
what the docs say.

thanks agian
robert

Ruslan Zakirov wrote:> On 6/23/07, Robert Canary rwcanary@ocdirect.net wrote:

I figure this to be more of a Perl Question…

I have read the archives and queried for the infamous “Can’t locate
Apache.pm”, while I found few matches I did really find what I was
looking for either.

RHEL 4
This RT 3.4.5
Apache 2.0.52
Perl 5.8.5

However, if I run RT using the standalone script it works fine, which
tells me it is an apache thing.
Apache.pm dose exist. However, the @INC apparently isn’t picking it up.

Exactly what do I need to reinstall to get this corrected? Apache has
been completely gutted and reinstalled. What perl module am I looking
for to reinstall? All the testdeps are showing everything is there.
Apache.pm is part of mod_perl, you have to decide if you want mod_perl
or FastCGI. In the latter case you don’t need Apache.pm. As you’re
using apache2 then you need mod_perl2 too, but afaik it has Apache2.pm
instead, so it’s not clear why anything complaining about Apache.pm.

Could you share relevant part of apache’s config?

Second thing is: How do you tell the standalone script to use a
different port, besides 8080?
./bin/standalone_httpd 8000

thanks in advance

robert


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Thanks Ruslan,

Sorry for the delay I was called out of the office on some trouble tickets.

Here is what I put in the httpd.conf

<VirtualHost *:4400>
ServerName mchn37.ocdirect.net
ServerAdmin rwcanary@ocdirect.net
DocumentRoot /opt/rt3/share/html
ErrorLog /var/log/rt/rt-web-error.log
CustomLog /var/log/rt/rt-web-access.log common
AddDefaultCharset UTF-8

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

<Location />
 SetHandler perl-script
 PerlHandler RT::Mason
</Location>

I do have an Apache2.pm as well as a apache.pm, I did a symlink to the
apache.pm and but now it is complaining that the mod_perl is pre 1.99.

This is a fresh RHEL 4 with all updates, it was my understanding the
httpd is apache2 and has been built with mod_perl2. At least that is
what the docs say.

thanks agian
robert

Ruslan Zakirov wrote:> On 6/23/07, Robert Canary rwcanary@ocdirect.net wrote:

I figure this to be more of a Perl Question…

I have read the archives and queried for the infamous “Can’t locate
Apache.pm”, while I found few matches I did really find what I was
looking for either.

RHEL 4
This RT 3.4.5
Apache 2.0.52
Perl 5.8.5

However, if I run RT using the standalone script it works fine, which
tells me it is an apache thing.
Apache.pm dose exist. However, the @INC apparently isn’t picking it up.

Exactly what do I need to reinstall to get this corrected? Apache has
been completely gutted and reinstalled. What perl module am I looking
for to reinstall? All the testdeps are showing everything is there.
Apache.pm is part of mod_perl, you have to decide if you want mod_perl
or FastCGI. In the latter case you don’t need Apache.pm. As you’re
using apache2 then you need mod_perl2 too, but afaik it has Apache2.pm
instead, so it’s not clear why anything complaining about Apache.pm.

Could you share relevant part of apache’s config?

Second thing is: How do you tell the standalone script to use a
different port, besides 8080?
./bin/standalone_httpd 8000

thanks in advance

robert


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

MP 1.99.xx is not supported. you must use 2.0.x, but instead of
fighting with mod_perl you can go with FastCGI what is may be easier
in your situation.On 6/25/07, Robert Canary rwcanary@ocdirect.net wrote:

Thanks Ruslan,

Sorry for the delay I was called out of the office on some trouble tickets.

Here is what I put in the httpd.conf

<VirtualHost *:4400>
ServerName mchn37.ocdirect.net
ServerAdmin rwcanary@ocdirect.net
DocumentRoot /opt/rt3/share/html
ErrorLog /var/log/rt/rt-web-error.log
CustomLog /var/log/rt/rt-web-access.log common
AddDefaultCharset UTF-8

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

<Location />
 SetHandler perl-script
 PerlHandler RT::Mason
</Location>

I do have an Apache2.pm as well as a apache.pm, I did a symlink to the
apache.pm and but now it is complaining that the mod_perl is pre 1.99.

This is a fresh RHEL 4 with all updates, it was my understanding the
httpd is apache2 and has been built with mod_perl2. At least that is
what the docs say.

thanks agian

robert

Ruslan Zakirov wrote:

On 6/23/07, Robert Canary rwcanary@ocdirect.net wrote:

I figure this to be more of a Perl Question…

I have read the archives and queried for the infamous “Can’t locate
Apache.pm”, while I found few matches I did really find what I was
looking for either.

RHEL 4
This RT 3.4.5
Apache 2.0.52
Perl 5.8.5

However, if I run RT using the standalone script it works fine, which
tells me it is an apache thing.
Apache.pm dose exist. However, the @INC apparently isn’t picking it up.

Exactly what do I need to reinstall to get this corrected? Apache has
been completely gutted and reinstalled. What perl module am I looking
for to reinstall? All the testdeps are showing everything is there.
Apache.pm is part of mod_perl, you have to decide if you want mod_perl
or FastCGI. In the latter case you don’t need Apache.pm. As you’re
using apache2 then you need mod_perl2 too, but afaik it has Apache2.pm
instead, so it’s not clear why anything complaining about Apache.pm.

Could you share relevant part of apache’s config?

Second thing is: How do you tell the standalone script to use a
different port, besides 8080?
./bin/standalone_httpd 8000

thanks in advance

robert


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.