[DAS] Problems installing Lightweight DAS server

Gosink, Mark (SEA) Mark.Gosink@sea.celltechgroup.com
Fri, 18 Oct 2002 16:33:04 -0700


Hello all,
	I am having problem getting the server to function which I beleive
can be tied the environmental variables used by the default web account. I
hope someone can suggest a work-around. I'm trying to set up the system on a
sun-solaris box.
	During the testing of the installation of the software. I kept
getting an 'Could not open database' error. I changed the line (line #80 in
my version) in the das app subroutine 'openDB' from

my $db = eval { Bio::DB::GFF->new(@args) };
          to
my $db = Bio::DB::GFF->new(@args);

so that the apache error logs would be more helpful, and found the following
message:

install_driver(mysql) failed: Can't load
'/comp/software/release/lib/perl/sun4-solaris/auto/DBD/mysql/mysql.so' for
module DBD::mysql: ld.so.1: /usr/local/bin/perl: fatal: libz.so: open
failed: No such file or directory at
/usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
 at (eval 13) line 3
Compilation failed in require at (eval 13) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at /comp/software/release/lib/perl/Bio/DB/GFF/Adaptor/dbi/caching_handle.pm
line 140
[Fri Oct 18 16:15:38 2002] [error] [client 10.128.220.25] Premature end of
script headers: /usr/local/www/mgosink/cgi-bin/das

I wrote this short script to test the connection:

#!/usr/local/bin/perl -I/comp/software/release/lib/perl
use Bio::DB::GFF 1.02;
my @args = (-adaptor => "dbi::mysql");
push @args,(-dsn     => "dbi:mysql:database=dicty;host=localhost");
push @args,(-user    => "<myusername>");
push @args,(-pass    => "<mypassword>");
my $db = Bio::DB::GFF->new(@args);
print "DB - $db\n";

When I connect as myself it works fine; however when I connect as the
default web-user I get the above error message.

Has anyone seen this error before and/or have any suggestions on how to fix
it?
Thanks,
Mark


The information contained in this email is intended for the
personal and confidential use of the addressee only.  It may
also be privileged information.  If you are not the intended 
recipient then you are hereby notified that you have recieved
this doucment in error and that any review, distribution or
copying of this doucment is strictly prohibited.  If you have
received this communication in error, please notify Celltech
immediately on:

+44 (0)1753 534655, or email "is@celltech.co.uk"