
Hi Gregor,
On Wed, Feb 05, 2003 at 09:23:01AM -0800, Gregor wrote:
I started testing with mod_perl and the startupscript as delivered in RC3
and get the following error: ------ [Wed Feb 05 11:16:46 2003] [error] 14386: ModPerl::Registry: Died at /opt/otrs/Kernel/cpan-lib/CGI/Carp.pm line 301. ------
then I took out the line: #Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
got this error: ------ 14402: ModPerl::Registry: Can't locate Kernel/Config.pm in @INC (@INC contains: //../../Kernel/cpan-lib //../.. /usr/local/lib/perl5/5.8.0/i686-linux /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/i686-linux /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl .) at /opt/otrs/bin/cgi-bin/index.pl line 51. BEGIN failed--compilation aborted at /opt/otrs/bin/cgi-bin/index.pl line
I did all that:
[root@otrs otrs]# ls -all Kernel/
total 68
drwxrwxrwx 8 root root 4096 Feb 5 15:44 .
drwxrwxrwx 8 otrs otrs 4096 Feb 5 12:36 ..
drwxrwxrwx 2 root root 4096 Feb 4 20:00 Config
-rwxrwxrwx 1 root root 4188 Feb 5 15:44 Config.pm
-rwxrwxrwx 1 root root 4188 Jan 3 08:24 Config.pm.dist
-rwxrwxrwx 1 root root 4174 Feb 4 20:00 Config.pm.orig
drwxrwxrwx 9 root root 4096 Feb 4 22:40 cpan-lib
drwxrwxrwx 2 root root 4096 Feb 3 15:40 Language
-rwxrwxrwx 1 root root 9970 Jan 10 15:33 Language.pm
drwxrwxrwx 2 root root 4096 Feb 3 15:40 Modules
drwxrwxrwx 5 root root 4096 Feb 3 15:40 Output
drwxrwxrwx 10 root root 4096 Feb 5 12:28 System
[root@otrs otrs]# ls -all Kernel/Config
total 88
drwxrwxrwx 2 root root 4096 Feb 4 20:00 .
drwxrwxrwx 8 root root 4096 Feb 5 15:44 ..
-rwxrwxrwx 1 root root 51073 Feb 3 14:08 Defaults.pm
-rwxrwxrwx 1 root root 1073 Feb 5 15:47 GenericAgent.pm
-rwxrwxrwx 1 root root 1073 Jan 5 05:59 GenericAgent.pm.dist
-rwxrwxrwx 1 root root 3399 Jan 27 10:47
GenericAgent.pm.examples
-rwxrwxrwx 1 root root 1761 Jan 3 08:16
ModulesCustomerPanel.pm
-rwxrwxrwx 1 root root 1178 Jan 3 08:16 ModulesCustom.pm
-rwxrwxrwx 1 root root 1687 Jan 3 08:16 Modules.pm
Still get this:
[Wed Feb 05 15:44:42 2003] [error] [client 192.168.0.150] Died at
/opt/otrs/bin/cgi-bin/../../Kernel/System/Log.pm line 60.
Any other idea?
Thank you.
----- Original Message -----
From: "Martin Edenhofer"
------
You need to copy "cp Kernel/Config.pm.dist Kernel/Config.pm" and "cd Kernel/Config/ for foo in *.dist; do cp $foo `basename $foo .dist`; done" (see INSTALL).
then I took out the mod perl part:
SetHandler perl-script PerlHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders </Location> got this error:
------- Died at /opt/otrs/bin/cgi-bin/../../Kernel/System/Log.pm line 60. -------
Yes, the "Kernel/Config.pm" is missing.
PS: Try it to get it working with plain CGI. If the system is working try to use mod_perl2.
PS: It would be nice if we get feedback about OTRS and mod_perl2. :) Thanks!
Gregor
Martin
-- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- nohl: 10:21pm up 105 days, 58 min, 6 users, load average: 0.29, 0.20, 0.18 _______________________________________________ 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