IUBio

local acedb server + aceperl

Ed Griffiths edgrif at sanger.ac.uk
Thu Feb 27 07:46:09 EST 2003


Martijn,

I think this is a problem with the way your computer is resolving the port 20113
to "localhost", have you tried substituting your computers actual host name in
place of localhost ?

cheers Ed


> 
> Hello
> 
> I hope somebody can help me. I managed to install the acedb server on
> a linux machine and I want to access the database with aceperl, but I
> keep getting permission denied errors. I have successfully installed
> the server under inetd, as described in the acedb documents.
> 
> For example, I can successfully start a client with the following
> command:
> 
> saceclient localhost -port 20113
> 
> But when I try to access the database with perl I run into problems.
> This is the code:
> 
> use Ace;
> use strict;
> 
> my ($local);
> 
> $local = Ace->connect (-host=>'localhost' -port=>20113) || die "can't
> open database\n$!\n", Ace->error;
> 
> I get the following error:
> 
> can't open database
> Permission denied
> Couldn't open database at acetest2.pl in line 6.
> 
> (I've allowed anonymous access by setting the access settings in
> wspec/serverconfig.wrm to READ WORLD and WRITE WORLD, but if I try to
> supply a valid username and password I get the same error)
> 
> What am I doing wrong?
> 
> van Iersel

-- 
 ------------------------------------------------------------------------
| Ed Griffiths, Acedb development, Informatics Group,                    |
|        Wellcome Trust Sanger Institute, Wellcome Trust Genome Campus,  |
|               Hinxton, Cambridge CB10 1SA, UK                          |
|                                                                        |
| email: edgrif at sanger.ac.uk  Tel: +44-1223-494780  Fax: +44-1223-494919 |
 ------------------------------------------------------------------------





More information about the Acedb mailing list

Send comments to us at biosci-help [At] net.bio.net