Hi -
I am a relative beginner at Linux, so it was a big struggle for me, but let
me give you my impressions and "experience". Please forgive the rambly
nature of the following. I gave up on the latest RedHat (could not even get
up2date running) and installed SuSE, as recommended by Martin of the core
team. However, the RPM did not work on that either so I did a manual
install. Overall, I like SuSE better, even though I have more experience
with RedHat - we run our bind and web server on it.
Some key points -
* After a full install, I still had to run YOU, yast online update, to get
all the packages properly updated. ModPerl did not work before I did this.
* Apache2 seemed to start but when I used ps to see what was running, it was
not there. RedHat was worse than SuSE in this respect, and I felt at least
with SuSE I could do a rcapache2 restart-hup and get any "junk" out of the
ps list.
* The permissions script that comes with OTRS was key, but, it was hard to
find the right "combination" of group, user etc. Actually, after the rest of
these steps, I just kept doing this in various combinations until it worked.
* I spent a lot of time using the tail command on the logs.
* Apache2 runs its "plugins" like mod_perl from within the httpd.conf. There
is a separate directory, at least on SuSE, which Apache references, and the
path is - /etc/apache2/conf.d/mod_perl.conf. I took the stuff which was in
the RPM version otrs.conf file, same directory, and added it to Apache2's
mod_perl.conf file -
# --
# added for OTRS (http://otrs.org/)
# --
# agent, admin and customer frontend
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
ErrorDocument 403 /otrs/customer.pl
ErrorDocument 403 /otrs/index.pl
SetHandler perl-script
PerlHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
Order allow,deny
Allow from all
</Location>
Order deny,allow
Allow from all
</Location>
Actually, I am pretty sure that I sort of cobbled the above together from
reading the various posts in the mailing lists, and looking at the apache
manual. I still am not really clear on the Order, and Allow from directives.
Have to follow that up. Those were key, I believe, as they told the system
"allow access to this directory".
--
Then I took the stuff in the otrs startup script from the RPM, and added it
to /etc/apache2/mod_perl-startup.pl. The OTRS RPM has its own script, but I
could not get it running so I just combined it with the one that was
running. Well, if there is an upgrade I will have to struggle, but there you
have it. In this startup script, there are a lot of modules which otrs
expects, so I just added them all into this "native" apache file, which was
very sparse at first, despite the fact that I tried installing all the perl
modules from the YOU system and cpan.
One important area of this file was the section that tells the system where
the libs are -
use lib "/usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi/";
use lib "/opt/otrs/";
use lib "/opt/otrs/Kernel/cpan-lib";
use lib qw(/srv/www/perl-lib);
The above helped with specific errors during apache startup, about not
finding this or that perl library.
Hope the above helps you even a little.
Regards,
Rick
-----Original Message-----
From: robscentral-otrs@yahoo.com [mailto:robscentral-otrs@yahoo.com]
Sent: Wednesday, July 14, 2004 6:11 PM
To: otrs@otrs.org
Subject: [otrs] Installing otrs on Redhat Enterprise 3
Hello,
I am struggling to get this working. Below is a brief summary of what I have
done so far. My problem arises when I attempt to access
http://localhost/otrs/installer.pl
I get the following in Apache:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Do I have a permissions issue or do I need to maybe edit the httpd.conf
file?
1.) I downloaded the redhat RPM and installed, all dependancies were met and
went OK.
2.) I have all CPAN modules installed except LDAP and GD
3.) The user otrs is added and assigned to the apache group
4.) I have restarted both the Apache and mysql daemons both shutdown and
restarted OK and I can access the test Apache page at http://localhost
Cheers,
Robert
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/