Internal Server Error HTML Mason

Hi,

I’m a new user. I just tried installing RT on RedHat Linux 7.2.

I combed through all the documentation several times. From recompiling
Apache with mod_perl statically to installing all the necessary perl
modules manually and with CPAN, I was able to get “designated” complete
install. However, I ran into a couple of problems that some have been
noted in previous installations. (the problems may be more to do with
configuration b/c the “install” may have been deemed successful) One
problem involved the Apache/DBI error of not being found by mod_perl in
@INC; I have since resolved that issue by installing the Apache::DBI
module through CPAN.

The second problem which I am dealing at current is the Internal Server
Error I am receiving when I go through the Web Browser. I have done
some troubleshooting. Apparently, the Web Brower gives me the HTML
coding under /rt2/Webrt/html diretory in text format when I comment out
the following line:

SetHandler perl-script
PerlHandler RT::Mason

It is just html text. However, when uncomment these line (allowing it
to be read), I receive an the following error by Apache:

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, root@localhost and inform them
of the time the error occurred, and anything you might have done that
may have caused the error.

More information about this error may be available in the server error
log.
So I suspect it may have something to do with the RT::Mason module,
though I’m uncertain. I looked at the httpd error, and the only error I
have is :

[Thu Dec 13 16:28:11 2001] [error] Can’t write to
’/var/log/rt2/rt.log.3565.0’: Permission denied at
/usr/lib/perl5/site_perl/5.6.0/Log/Dispatch/File.pm line 68.
Any help would be appreciated. I feel that I’m very close to getting
this ticketing system working.

Gary

Hi,

Just to clarify things a bit. The system seems only to have problem
with the line:

PerlHandler RT::Mason

  • not the previous line of “SetHandler perl-script.”

in the httpd.conf file. It is the entry causing the Internal Servor
Error.

Gary----- Original Message -----
From: GWLeong@lbl.gov
Date: Thursday, December 13, 2001 4:43 pm
Subject: Internal Server Error HTML Mason

Hi,

I’m a new user. I just tried installing RT on RedHat Linux 7.2.

I combed through all the documentation several times. From recompiling
Apache with mod_perl statically to installing all the necessary perl
modules manually and with CPAN, I was able to get "designated"
completeinstall. However, I ran into a couple of problems that
some have been
noted in previous installations. (the problems may be more to do with
configuration b/c the “install” may have been deemed successful) One
problem involved the Apache/DBI error of not being found by
mod_perl in
@INC; I have since resolved that issue by installing the Apache::DBI
module through CPAN.

The second problem which I am dealing at current is the Internal
ServerError I am receiving when I go through the Web Browser. I
have done
some troubleshooting. Apparently, the Web Brower gives me the HTML
coding under /rt2/Webrt/html diretory in text format when I comment
outthe following line:


SetHandler perl-script
PerlHandler RT::Mason


It is just html text. However, when uncomment these line (allowing it
to be read), I receive an the following error by Apache:


Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, root@localhost and inform
themof the time the error occurred, and anything you might have
done that
may have caused the error.

More information about this error may be available in the server error
log.


So I suspect it may have something to do with the RT::Mason module,
though I’m uncertain. I looked at the httpd error, and the only
error I
have is :


[Thu Dec 13 16:28:11 2001] [error] Can’t write to
’/var/log/rt2/rt.log.3565.0’: Permission denied at
/usr/lib/perl5/site_perl/5.6.0/Log/Dispatch/File.pm line 68.

Any help would be appreciated. I feel that I’m very close to getting
this ticketing system working.

Gary

So I suspect it may have something to do with the RT::Mason module,
though I’m uncertain. I looked at the httpd error, and the only error I
have is :


[Thu Dec 13 16:28:11 2001] [error] Can’t write to
’/var/log/rt2/rt.log.3565.0’: Permission denied at
/usr/lib/perl5/site_perl/5.6.0/Log/Dispatch/File.pm line 68.

Any help would be appreciated. I feel that I’m very close to getting
this ticketing system working.

So. Well, RT can’t write its log file to /var/lib/rt2. Does the user
that apache is running as have rights to write logfiles in /var/log/rt2?

Gary


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

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Sorry, prev reply sent from wrong account…

Make sure that the apache user has permission to write to /var/log/rt2
Chown it to nobody, or www-data, whoever apache runs as.

-fr.On Fri, 14 Dec 2001 09:42:02 -0800 GWLeong@lbl.gov wrote:

Hi,

Just to clarify things a bit. The system seems only to have problem
with the line:

PerlHandler RT::Mason

  • not the previous line of “SetHandler perl-script.”

in the httpd.conf file. It is the entry causing the Internal Servor
Error.

Gary

----- Original Message -----
From: GWLeong@lbl.gov
Date: Thursday, December 13, 2001 4:43 pm
Subject: Internal Server Error HTML Mason

Hi,

I’m a new user. I just tried installing RT on RedHat Linux 7.2.

I combed through all the documentation several times. From recompiling
Apache with mod_perl statically to installing all the necessary perl
modules manually and with CPAN, I was able to get "designated"
completeinstall. However, I ran into a couple of problems that
some have been
noted in previous installations. (the problems may be more to do with
configuration b/c the “install” may have been deemed successful) One
problem involved the Apache/DBI error of not being found by
mod_perl in
@INC; I have since resolved that issue by installing the Apache::DBI
module through CPAN.

The second problem which I am dealing at current is the Internal
ServerError I am receiving when I go through the Web Browser. I
have done
some troubleshooting. Apparently, the Web Brower gives me the HTML
coding under /rt2/Webrt/html diretory in text format when I comment
outthe following line:


SetHandler perl-script
PerlHandler RT::Mason


It is just html text. However, when uncomment these line (allowing it
to be read), I receive an the following error by Apache:


Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, root@localhost and inform
themof the time the error occurred, and anything you might have
done that
may have caused the error.

More information about this error may be available in the server error
log.


So I suspect it may have something to do with the RT::Mason module,
though I’m uncertain. I looked at the httpd error, and the only
error I
have is :


[Thu Dec 13 16:28:11 2001] [error] Can’t write to
’/var/log/rt2/rt.log.3565.0’: Permission denied at
/usr/lib/perl5/site_perl/5.6.0/Log/Dispatch/File.pm line 68.

Any help would be appreciated. I feel that I’m very close to getting
this ticketing system working.

Gary


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

Feargal Reilly, | Communications House,
Systems Administrator. | 1a Lower Pembroke Street,
The CIA - http://www.thecia.ie/ | Dublin 2,
Ph: +353-1-6768230 Fax: +353-1-6767720 | Ireland.

PGP fingerprint: 9EA0 F62E 2345 6062 E522 00F2 31D0 B1B0 D678 96DB

GWLeong@lbl.gov writes:

[Thu Dec 13 16:28:11 2001] [error] Can’t write to
’/var/log/rt2/rt.log.3565.0’: Permission denied at
/usr/lib/perl5/site_perl/5.6.0/Log/Dispatch/File.pm line 68.

It can’t write to the log directory (set in config.pm). Check the
permissions for that directory.
/Ian D
ian@assv.net

Jesse Vincent wrote:

So I suspect it may have something to do with the RT::Mason module,
though I’m uncertain. I looked at the httpd error, and the only error I
have is :


[Thu Dec 13 16:28:11 2001] [error] Can’t write to
’/var/log/rt2/rt.log.3565.0’: Permission denied at
/usr/lib/perl5/site_perl/5.6.0/Log/Dispatch/File.pm line 68.

Any help would be appreciated. I feel that I’m very close to getting
this ticketing system working.

So. Well, RT can’t write its log file to /var/lib/rt2. Does the user
that apache is running as have rights to write logfiles in /var/log/rt2?

Gary


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


http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.
Hey All,

That permissions on the log turned out to be the problem. I ignored
that log because I assumed the “rt user” was going to write the log
rather than apache. Anyhow, thanks for the help. Hopefully, I will
deploy the system soon. Also, I’m hoping to write a step-by-step
procedure to set up the unit from Red Hat 7.2, from removing removing
the RH installed apache to final configuration of rt. When I’m
finished, I’ll be sure to send you a copy. Thanks again for everything!

Gary