
Hi again ! Thanks for the help ! I've deleted the Apache subdirectory and then commented back some DBI lines in apache2-perl-startup.pl (if I got it correctly). Apache started, however when I try to access installer.pl it tells me that Kernel/Config.pm isn't writable and that I should set it writable for the webserver user. I've set permissions for that file to be writable for all and I still get that message that Kernel.pm isn't writable. I guess I'm missing something, could you please tell me what ? Thank you ! andrei 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
__________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com

Hi Andrei, On Mon, Apr 14, 2003 at 01:55:48AM -0700, Andrei Cenja wrote:
I've deleted the Apache subdirectory and then commented back some DBI lines in apache2-perl-startup.pl (if I got it correctly).
Fine.
Apache started, however when I try to access installer.pl it tells me that Kernel/Config.pm isn't writable and that I should set it writable for the webserver user.
I've set permissions for that file to be writable for all and I still get that message that Kernel.pm isn't writable.
I guess I'm missing something, could you please tell me what ?
I think you use OTRS 1.0.x!? If yes, the installer.pl will not work with mod_perl2/apache2. OTRS 1.1.x comes with full mod_perl2 support and installer.pl will work. .-) -=> ftp://ftp.gwdg.de/pub/misc/otrs
andrei
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "Security is a process, not a product." - Bruce Schneier
participants (2)
-
Andrei Cenja
-
Martin Edenhofer