Setting of CS_OPT_TEXTSIZE failed

Hilfe zu Znuny Problemen aller Art
Locked
[ST]
Znuny newbie
Posts: 68
Joined: 13 Feb 2009, 14:00
Znuny Version: 2.4.6

Setting of CS_OPT_TEXTSIZE failed

Post by [ST] »

Hallo Forum,

ich habe in meinem otrs seit Beginn im Apache error.log alle 2 Sekunden die folgenden Meldungen:

[Mon Aug 2 10:57:23 2010] -e: Setting of CS_OPT_TEXTSIZE failed. at /usr/share/perl5/Apache/DBI.pm line 281.
[Mon Aug 2 10:57:23 2010] -e: Setting of CS_OPT_TEXTSIZE failed. at /usr/lib/perl5/DBI.pm line 693.
[Mon Aug 2 10:57:26 2010] -e: Setting of CS_OPT_TEXTSIZE failed. at /usr/share/perl5/Apache/DBI.pm line 281.
[Mon Aug 2 10:57:26 2010] -e: Setting of CS_OPT_TEXTSIZE failed. at /usr/lib/perl5/DBI.pm line 693.
[Mon Aug 2 10:57:28 2010] -e: Setting of CS_OPT_TEXTSIZE failed. at /usr/share/perl5/Apache/DBI.pm line 281.
[Mon Aug 2 10:57:28 2010] -e: Setting of CS_OPT_TEXTSIZE failed. at /usr/lib/perl5/DBI.pm line 693.


Es ist ja bekannt, dass dies passiert, wenn man einen MSSQL Server als Kundendatenbank nutzt. Genau verstehe ich das aber nicht.

Ich habe in der otrs liste diesen Eintrag gefunden (von 2008!): http://lists.otrs.org/pipermail/cvs-log ... 14957.html

Code: Select all

Fixed mssql/sybase/freetds database problem "Setting of CS_OPT_TEXTSIZE failed. at" if a mssql customer backend is used. The problem is, that LongReadLen is not supported by dbd::sybase (this is the reason of this error message).  So the database customer is no improved to set all database attributes in CustomerUser config. For example this is the solution to prevent the sybase error message:

    $Self->{CustomerUser} = {
        Name   => 'Database Backend',
        Module => 'Kernel::System::CustomerUser::DB',
        Params => {
            DSN        => 'DBI:sybase:yourdsn',
            User       => 'some_user',
            Password   => 'some_password',
            Table      => 'customer_user',
            Attributes => {},
        },
    [...]

For more info see: http://www.perlmonks.org/index.pl?node_id=663835

Author: martin
Aber genau so ist der MSSQL Server angebunden.

Code: Select all

    $Self->{CustomerUser2} = {
        Name   => '(Read Only) Navision Database Backend (Read Only)',
        Module => 'Kernel::System::CustomerUser::DB',
        Params => {
            DSN        => 'DBI:Sybase:server=Navision;database=Navision',
            User       => 'XXX',
            Password   => 'XXX',
            #Type       => 'mssql',
            Table      => 'Ticket',
            Attributes => {},
Trotzdem laufen die Logs voll. Es muss doch eine Möglichkeit geben, das abzustellen. Was mache ich falsch? Und warum wird der Fehler als "fixed" bezeichnet?

Vielen Dank und viele Grüße

Stephan
OTRS: 2.4.9, OTRS::ITSM 2.1.1, OTRS-CiCS 3.3.7, iPhoneHandle 0.9.6
OS: Debian Lenny
Apache2 / MySQL 5
schorschi
Znuny expert
Posts: 199
Joined: 05 Dec 2007, 12:07

Re: Setting of CS_OPT_TEXTSIZE failed

Post by schorschi »

Hallo Stephan,

hast du schon eine Lösung gefunden? Wir haben momentan mit den gleichen Problemchen auf unserem Testsystem zu kämpfen. Wir greifen per Sybase & FreeTDS auf eine SQL Server 2008 DB zu.

Kurze Info wäre nett, vielen Dank.

Gruß,
Schorschi.
Produktivsystem: SuSE Enterprise Server 11 64 Bit Service Pack II || OTRS 3.1.7 | MySQL 5 || LDAP ||
Testsystem: SuSE Enterprise Server 11 64 Bit Service Pack II || OTRS 3.1.8 | MySQL 5 ||
Locked