Rt-apache error

Hello there,

I installed rt on my Debian Woody. Erverything went well until i started
to configure apache. I always receive an “Internal Server Error” if I
try to access via http. My .conf looks like this:

DocumentRoot /usr/local/rt2/local/WebRT/html ServerName rt.speeddoesmatter.com ServerAlias rt.speeddoesmatter.com PerlModule Apache::DBI PerlRequire /usr/local/rt2/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason

(btw: is it usual, that the html directory is totally empty?)

The apache-error log says this:

[Tue Feb 4 23:48:31 2003] [notice] Apache configured – resuming normal
operations
[Tue Feb 4 23:48:31 2003] [notice] suEXEC mechanism enabled (wrapper:
/usr/lib/apache/suexec)
[Tue Feb 4 23:48:31 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Tue Feb 4 23:48:41 2003] [notice] caught SIGTERM, shutting down
[Tue Feb 4 17:49:24 2003] [error] (2)No such file or directory:
mod_mime_magic: can’t read magic file /etc/apache/share/magic
[Tue Feb 4 23:49:24 2003] [warn] module config_log_module is already
loaded, skipping
[Tue Feb 4 23:49:24 2003] [warn] module mime_module is already loaded,
skipping
[Tue Feb 4 17:49:26 2003] [error] (2)No such file or directory:
mod_mime_magic: can’t read magic file /etc/apache/share/magic
[Tue Feb 4 17:49:26 2003] [notice] Apache configured – resuming normal
operations
[Tue Feb 4 17:49:26 2003] [notice] suEXEC mechanism enabled (wrapper:
/usr/lib/apache/suexec)
[Tue Feb 4 17:49:26 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Tue Feb 4 17:49:30 2003] [error] Can’t write to
’/var/log/rt2/rt.log.9258.0’: No such file or directory at /usr/share/perl5/
Log/Dispatch/File.pm line 69.
[Tue Feb 4 17:49:32 2003] [error] Can’t write to
’/var/log/rt2/rt.log.9258.0’: No such file or directory at /usr/share/perl5/
Log/Dispatch/File.pm line 69.
#fff
[Tue Feb 4 17:56:29 2003] [error] Can’t write to
’/var/log/rt2/rt.log.9258.0’: No such file or directory at /usr/share/perl5/
Log/Dispatch/File.pm line 69.

I did exactly everything written in the read-me file (hopefully). Could
somebody please give me a hint what to do?

Thanks.

Kind Regards,

  - Daniel

Daniel Schoenland Mobil +49 170 41 92 7 29
Henrietten Weg 8
20259 Hamburg

Hi Daniel,— Daniel Schönland daniel.schoenland@speeddoesmatter.com wrote:

[Tue Feb 4 17:49:30 2003] [error] Can’t write to
’/var/log/rt2/rt.log.9258.0’: No such file or directory at /usr/share/perl5/
Log/Dispatch/File.pm line 69.

it says quite clearly: the directory /var/log/rt2/ is either non-existent or
not writeable by the Apache server user.

Hi Daniel,

It seems that among your problems includes the fact that the rt group
can’t write to the logfile. Check if the file /var/log/rt2/rt.log.9258.0
exists and if its permissions allow members of the rt group to read and
write to it.

Another thing, apache is looking for the file /etc/apache/share/magic
and failing to find it.In you httpd.conf look for the following lines:

MIMEMagicFile /etc/httpd/magic

Change the path to point to the correct location of the magic file.

Regards,
Eric

Kamara Eric Rukidi Mpuuga
Computer Frontiers International
Plot 32 Lumumba Avenue
P.O Box 12510,Kampala
Tel :256-41-340417/71
Email:kamara@cfi.co.ug
Web :http://www.cfi.co.ugOn Tue, 4 Feb 2003, [UTF-8] Daniel Schönland wrote:

Hello there,

I installed rt on my Debian Woody. Erverything went well until i started
to configure apache. I always receive an “Internal Server Error” if I
try to access via http. My .conf looks like this:

DocumentRoot /usr/local/rt2/local/WebRT/html ServerName rt.speeddoesmatter.com ServerAlias rt.speeddoesmatter.com PerlModule Apache::DBI PerlRequire /usr/local/rt2/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason

(btw: is it usual, that the html directory is totally empty?)

The apache-error log says this:

[Tue Feb 4 23:48:31 2003] [notice] Apache configured – resuming normal
operations
[Tue Feb 4 23:48:31 2003] [notice] suEXEC mechanism enabled (wrapper:
/usr/lib/apache/suexec)
[Tue Feb 4 23:48:31 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Tue Feb 4 23:48:41 2003] [notice] caught SIGTERM, shutting down
[Tue Feb 4 17:49:24 2003] [error] (2)No such file or directory:
mod_mime_magic: can’t read magic file /etc/apache/share/magic
[Tue Feb 4 23:49:24 2003] [warn] module config_log_module is already
loaded, skipping
[Tue Feb 4 23:49:24 2003] [warn] module mime_module is already loaded,
skipping
[Tue Feb 4 17:49:26 2003] [error] (2)No such file or directory:
mod_mime_magic: can’t read magic file /etc/apache/share/magic
[Tue Feb 4 17:49:26 2003] [notice] Apache configured – resuming normal
operations
[Tue Feb 4 17:49:26 2003] [notice] suEXEC mechanism enabled (wrapper:
/usr/lib/apache/suexec)
[Tue Feb 4 17:49:26 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Tue Feb 4 17:49:30 2003] [error] Can’t write to
’/var/log/rt2/rt.log.9258.0’: No such file or directory at /usr/share/perl5/
Log/Dispatch/File.pm line 69.
[Tue Feb 4 17:49:32 2003] [error] Can’t write to
’/var/log/rt2/rt.log.9258.0’: No such file or directory at /usr/share/perl5/
Log/Dispatch/File.pm line 69.
#fff
[Tue Feb 4 17:56:29 2003] [error] Can’t write to
’/var/log/rt2/rt.log.9258.0’: No such file or directory at /usr/share/perl5/
Log/Dispatch/File.pm line 69.

I did exactly everything written in the read-me file (hopefully). Could
somebody please give me a hint what to do?

Thanks.

Kind Regards,

  - Daniel


Daniel Schoenland Mobil +49 170 41 92 7 29
Henrietten Weg 8
20259 Hamburg


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

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

DocumentRoot /usr/local/rt2/local/WebRT/html ServerName rt.speeddoesmatter.com

(btw: is it usual, that the html directory is totally empty?)

yes. that directory is for local modifications of the mason files. it
is not the correct DocumentRoot. See rtfm, for how to install.
http://www.fsck.com/rtfm/article.html?id=2#49

seph