Installation on Fedora Core 1

I've grabbed otrs-1.2.3-01.tar.gz, dumped it into /opt, and am trying to get it running. My problem right now is with PerlHandler in /etc/httpd/conf/httpd.conf. PerlHandler, PerlSendHeader, and PerlSetupEnv give errors when I try to restart apache. The error is: Starting httpd: Syntax error on line 337 of /etc/httpd/conf/httpd.conf: Invalid command 'PerlHandler', perhaps mis-spelled or defined by a module not included in the server configuration [FAILED] So, any suggestions here? I get the same error if I comment this out with PerlSendHeader and PerlSetupEnv. I tried just using the 2 CGI lines in httpd.conf, but I get a 403 error when I goto http://localhost/otrs/installer.pl Thanks! ~David -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Black holes were created when God divided by zero

On Thursday, May 06, 2004 7:42 PM
David Hansen Jr.
I've grabbed otrs-1.2.3-01.tar.gz, dumped it into /opt, and am trying to get it running. My problem right now is with PerlHandler in /etc/httpd/conf/httpd.conf. PerlHandler, PerlSendHeader, and PerlSetupEnv give errors when I try to restart apache. The error is: Starting httpd: Syntax error on line 337 of /etc/httpd/conf/httpd.conf: Invalid command 'PerlHandler', perhaps
Do you have mod_perl installed? If not, comment out those erratic lines, and it works via CGI. hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

Hi, On Fri, 7 May 2004, Robert Kehl wrote:
On Thursday, May 06, 2004 7:42 PM David Hansen Jr.
wrote:
I've grabbed otrs-1.2.3-01.tar.gz, dumped it into /opt, and am trying to get it running. My problem right now is with PerlHandler in /etc/httpd/conf/httpd.conf. PerlHandler, PerlSendHeader, and PerlSetupEnv give errors when I try to restart apache. The error is: Starting httpd: Syntax error on line 337 of /etc/httpd/conf/httpd.conf: Invalid command 'PerlHandler', perhaps
Do you have mod_perl installed? If not, comment out those erratic lines, and it works via CGI.
It seems I have the same problem with SuSE-9.1 (apache2-mod_perl is installed, but rpm is crying for mod_perl), but your advice does only help to get apache2 running, but not OTRS. With http://localhost/otrs/installer.pl I simply get the option to view that file with an editor or to download it to disk. Cheers -e -- Eberhard Moenkeberg (emoenke@gwdg.de, em@kki.org)

On Saturday, May 08, 2004 5:24 PM
Eberhard Moenkeberg
It seems I have the same problem with SuSE-9.1 (apache2-mod_perl is installed, but rpm is crying for mod_perl), but your advice does only help to get apache2 running, but not OTRS.
Seems we have to overwork the .spec for SuSE-9.1, don't we? :( In the meantime, you may want to follow the tarry way of installing OTRS: http://doc.otrs.org/1.2/en/html/install-cli.html http://doc.otrs.org/1.2/de/html/install-cli.html
With http://localhost/otrs/installer.pl I simply get the option to view that file with an editor or to download it to disk.
That would point towards a faulty Perl integration in Apache... Your webserver isn't capable of executing perl scripts.
Cheers -e
cat ~/greets/happy >>$THISMAIL Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

Hi, On Sat, 8 May 2004, Robert Kehl wrote:
On Saturday, May 08, 2004 5:24 PM Eberhard Moenkeberg
wrote:
It seems I have the same problem with SuSE-9.1 (apache2-mod_perl is installed, but rpm is crying for mod_perl), but your advice does only help to get apache2 running, but not OTRS.
Seems we have to overwork the .spec for SuSE-9.1, don't we? :(
Yes, slightly. The rpm did install using --nodeps. Further I had to change rcapache to rcapache2 in /etc/sysconfig/otrs.
In the meantime, you may want to follow the tarry way of installing OTRS: http://doc.otrs.org/1.2/en/html/install-cli.html http://doc.otrs.org/1.2/de/html/install-cli.html
Due to my lazyness, I did it with the RPM. ;_))
With http://localhost/otrs/installer.pl I simply get the option to view that file with an editor or to download it to disk.
That would point towards a faulty Perl integration in Apache... Your webserver isn't capable of executing perl scripts.
Yes, this was the main fault: I had forgotten to add "perl" to the
APACHE_MODULES setting in /etc/sysconfig/apache2.
SUSE does not do it automatically when installing apache2-mod_perl.
The last thing I had to do before I could run
http://localhost/otrs/installer.pl was to add
Order allow,deny
Allow from all
under

Hi, On Sat, 8 May 2004, Eberhard Moenkeberg wrote:
On Sat, 8 May 2004, Robert Kehl wrote:
On Saturday, May 08, 2004 5:24 PM Eberhard Moenkeberg
wrote: It seems I have the same problem with SuSE-9.1 (apache2-mod_perl is installed, but rpm is crying for mod_perl), but your advice does only help to get apache2 running, but not OTRS.
Seems we have to overwork the .spec for SuSE-9.1, don't we? :(
Yes, slightly. The rpm did install using --nodeps. Further I had to change rcapache to rcapache2 in /etc/sysconfig/otrs.
I see that there is a directory /opt/otrs/var/log with ownership root:root. This inhibits procmail to log: May 8 23:02:36 lxi001 procmail[14230]: Error while writing to "/opt/otrs/var/log/procmail-2004-05.log" I think it would be better to design it as /var/log/otrs/ with ownership otrs:www. After changing the ownership of /opt/otrs/var/log/, I see procmail complaining there about not being able to write a lock file... Did I miss a general step of setting ownerships/permissions? Cheers -e -- Eberhard Moenkeberg (emoenke@gwdg.de, em@kki.org)

On Saturday, May 08, 2004 11:16 PM
Eberhard Moenkeberg
On Sat, 8 May 2004, Eberhard Moenkeberg wrote: I see that there is a directory /opt/otrs/var/log with ownership root:root. This inhibits procmail to log: May 8 23:02:36 lxi001 procmail[14230]: Error while writing to "/opt/otrs/var/log/procmail-2004-05.log" I think it would be better to design it as /var/log/otrs/ with ownership otrs:www.
Sorry, we want to stay inside the given /opt/otrs tree. /var is no option, as long you don't use syslog's facilities local{0-7} or similar.
After changing the ownership of /opt/otrs/var/log/, I see procmail complaining there about not being able to write a lock file... Did I miss a general step of setting ownerships/permissions?
Revert .procmailrc to it's initial state and execute bin/SetPermissions.sh to set the proper permissions. Regards, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

Hi, On Sun, 9 May 2004, award-winning Robert Kehl wrote:
On Saturday, May 08, 2004 11:16 PM Eberhard Moenkeberg
wrote: On Sat, 8 May 2004, Eberhard Moenkeberg wrote:
I see that there is a directory /opt/otrs/var/log with ownership root:root. This inhibits procmail to log: May 8 23:02:36 lxi001 procmail[14230]: Error while writing to "/opt/otrs/var/log/procmail-2004-05.log" I think it would be better to design it as /var/log/otrs/ with ownership otrs:www.
Sorry, we want to stay inside the given /opt/otrs tree. /var is no option, as long you don't use syslog's facilities local{0-7} or similar.
OK.
After changing the ownership of /opt/otrs/var/log/, I see procmail complaining there about not being able to write a lock file... Did I miss a general step of setting ownerships/permissions?
Revert .procmailrc to it's initial state and execute bin/SetPermissions.sh to set the proper permissions.
Should not something like this run automatically during the RPM install? Cheers -e -- Eberhard Moenkeberg (emoenke@gwdg.de, em@kki.org)

On Sunday, May 09, 2004 12:37 AM
Eberhard Moenkeberg
After changing the ownership of /opt/otrs/var/log/, I see procmail complaining there about not being able to write a lock file... Did I miss a general step of setting ownerships/permissions?
Revert .procmailrc to it's initial state and execute bin/SetPermissions.sh to set the proper permissions.
Should not something like this run automatically during the RPM install?
You're right. We don't know by now if you bended something to the wrong side or if it were a general error in the RPM, but we're in the process of re-checking our RPMs right now. Regards, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
participants (3)
-
David Hansen Jr.
-
Eberhard Moenkeberg
-
Robert Kehl