[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with Debian OTRS Package



Hello Michael,
The OTRS package installs with PostgreSQL, so there’s no need for MySQL.

The system works if I don’t make any change in the Config.pm file. This is what driving me nuts. A simple Config.pm file in vi crashes the whole OTRS. It’s bizarre.

On Feb 8, 2014, at 13:30, Schoormann <schoormann@gmx.de> wrote:

> Hi Vinícius Ferrão,
> 
> It's look like you haven't install the mysql Lib for Perl. I think that isn't a debian Problem.
> 
> BR
> Michael
> 
>> Am 08.02.2014 um 15:53 schrieb Vinícius Ferrão <ferrao@if.ufrj.br>:
>> 
>> Hi guys,
>> 
>> I’m trying to install OTRS from Wheezy-backports in my company but it fails miserably when I made any modification at /etc/otrs/Kernel/Config.pm
>> 
>> Here’s the output:
>> [Sat Feb  8 12:51:08 2014] Config.pm: Use of uninitialized value $Kernel::Config::dbtype in string eq at /usr/share/otrs//Kernel/Config.pm line 28.
>> [Sat Feb  8 12:51:08 2014] (eval 135): Subroutine Load redefined at (eval 135) line 2.
>> ERROR: DatabasePw not defined!
>> [Sat Feb  8 12:51:08 2014] -e: Use of uninitialized value in pattern match (m//) at /usr/share/otrs//Kernel/System/DB.pm line 116.
>> [Sat Feb 08 12:51:08 2014] [error] install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /usr/share/otrs/Custom /usr/share/otrs/Kernel/cpan-lib /usr/share/otrs/ /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2) at (eval 138) line 3.\nPerhaps the DBD::mysql perl module hasn't been fully installed,\nor perhaps the capitalisation of 'mysql' isn't right.\nAvailable drivers: DBM, ExampleP, File, Gofer, Pg, Proxy, Sponge.\n at /usr/share/otrs//Kernel/System/DB.pm line 254\n
>> [Sat Feb  8 12:51:13 2014] Config.pm: Use of uninitialized value $Kernel::Config::dbtype in string eq at /usr/share/otrs//Kernel/Config.pm line 28.
>> [Sat Feb  8 12:51:13 2014] (eval 132): Subroutine Load redefined at (eval 132) line 2.
>> 
>> It’s curious because, if I restart the Apache2 Service, the website opens, but my changes in the Config.pm isn’t loaded. If I simple open the file in file and them exit, the modifications are “enabled” and everything breaks.
>> 
>> I’ve never seen this behavior in any Unix system.
>> 
>> Thanks in advance,
>> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


Reply to: