[Koha] DBD Mysql Error problem solved on Debian Installation

Marc Nürnberger marc.nuernberger at gmx.de
Tue Aug 4 02:35:05 NZST 2009


Dear Sunita,

Thanks a lot for this nice follow up! Are you now able to successfully 
reboot your test systems?

I immediately ran at test with Debian 5.0.2 and Koha 3.00.03 this 
morning. Thanks to your hints, I found that there seems to be a be a 
typo in the debian-lenny.packages file (KOHA 3.00.03), it should 
probably read:

libparams-util-perl
instead of:
libparam-util-perl

##############################################

Further problems I encountered in attempt #1:

If you choose to install the described mysql and apache2packages using 
synaptic, there seems to be a problem with apache2-mpm-worker that 
will get removed if you choose to install libapache2-mod-php5.

Neglected this and removed the following packages from 
debian-lenny.packages, since they get already installed manually via 
synaptic when installing apache2, libapache2-mod-perl2, 
libapache2-mod-php5, libapache2-mod-python, mysql-admin, mysql-client, 
mysql-server, libdbd-mysql, libdbd-sqlite3-perl, libmysqlclient15-dev:

apache2
apache2-mpm-worker
gcc
libdbd-mysql-perl (2x)
libdbd-sqlite3-perl
libdbi-perl
libmysqlclient15-dev
libtimedate-perl
mysql-server

Had to additionally cpan without force:

GD 2.39
GD::Barcode::UPCE
JSON
PDF::Reuse::Barcode

BUT: make test still lead to the DBD driver Error:

t/Circulation_barcodedecode....NOK 1/16
#   Failed test 'use C4::Circulation;'
#   at t/Circulation_barcodedecode.t line 10.
#     Tried to use 'C4::Circulation'.
#     Error:  DBD driver has not implemented the AutoCommit attribute 
at /usr/lib/perl5/DBI.pm line 690.
# Compilation failed in require at 
/home/koha/koha-3.00.03/blib/PERL_MODULE_DIR/C4/Circulation.pm line 25.

##############################################

Attempt #2:

Started off installing the same packages as above via synaptic:
apache2, libapache2-mod-perl2, libapache2-mod-php5, 
libapache2-mod-python, mysql-admin, mysql-client, mysql-server, 
libdbd-mysql, libdbd-sqlite3-perl, libmysqlclient15-dev.

Then I choose (for lack of ideas) to install all the other packages 
from debian-lenny.packages also using synaptic as well  - this lead to 
only one complaint: libgd2-noxpm-dev could not be installed.

Ignoring this, I had the first time a good "make test" - no DBD driver 
error! So I proceeded and ran the web installer with success.

BUT on first reboot thereafter, once again I could not access koha 
anymore:

DBD driver has not implemented the AutoCommit attribute at 
/usr/lib/perl5/DBI.pm line 690.Compilation failed in require at 
/usr/share/koha/lib/C4/Circulation.pm line 25.

Best wishes,
Marc




More information about the Koha mailing list