
Hi, I installed OTRS using at first just CGI and it worked fine but slowly, so I decided to try using mod_perl. I followed the instructions in README.webserver but when modifying apache2-perl-startup.pl (I uncommented the 3 lines as specified in the readme) and trying to restart httpd, it complained about not finding Apache/DBI, so I looked for DBI.pm on the machine (RedHat 9, BTW), found it, then created a subdirectory called Apache in /opt/otrs/Kernel/cpan-lib/ and copied DBI.pm there. But then when I tried to restart apache, it gave me this: Starting httpd: [Fri Apr 11 10:01:42 2003] mysql.pm: Had to create DBI::_dbistate unexpectedly at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 249. Could you please send me some suggestions ? Thanks ! andrei __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com

Hi Andrei, On Fri, Apr 11, 2003 at 01:20:48AM -0700, Andrei Cenja wrote:
I installed OTRS using at first just CGI and it worked fine but slowly, so I decided to try using mod_perl.
I followed the instructions in README.webserver but when modifying apache2-perl-startup.pl (I uncommented the 3 lines as specified in the readme) and trying to restart httpd, it complained about not finding Apache/DBI, so I looked for DBI.pm on the machine (RedHat 9, BTW), found it, then created a subdirectory called Apache in /opt/otrs/Kernel/cpan-lib/ and copied DBI.pm there.
But then when I tried to restart apache, it gave me this:
Starting httpd: [Fri Apr 11 10:01:42 2003] mysql.pm: Had to create DBI::_dbistate unexpectedly at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 249.
Apache/DBI means module Apache::DBI. It's different to DBI. Apache::DBI is used for establish datababase connections on process startup (httpd). (_not required to use mod_perl_). If you want to use Apache::DBI (establish datababase...) then you need to install Apache::DBI from cpan via shell. shell> perl -MCPAN -e shell; -first time you need con config cpan- cpan> install Apache::DBI PS: Please remove the /opt/otrs/Kernel/cpan-lib/Apache directory, this will not work.
andrei
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- nohl: 2:42pm up 55 days, 5 min, 6 users, load average: 0.12, 0.42, 0.36
participants (2)
-
Andrei Cenja
-
Martin Edenhofer