IUBio

inetd and acedb ....

F. Coulier coulier at marseille.inserm.fr
Wed Aug 29 04:35:35 EST 2001


Ed,

I've followed your advice, and Kemin Zhou's recipe, and ran acedb
through inetd instead of xinetd.

And it worked! After so much time, I was rather happy! Thanks for all
your help!

I was running acedb 4.9a, and WS39.

The whole purpose of this was to move acedb running on my own computer
(4.7l, with RPC), to another one that is supposed to work as a server to
other people in the building. So, I decided it would be a good idea to
upgrade to 4.9c and WS50, so that people will have access to the last
data and features.

So, I moved first to 4.9c. And that went OK.

I then installed WS50. Instead of overwriting WS39, and since I had
enough disk space, I installed it on another directory (on another
partition).

I edited /etc/services and /etc/inetd.conf so that I can run either
acedb WS39 or acedb WS50, i.e. on 2 different port numbers :

/etc/services:
# added by FC, 13/6/01
acedb   20113/tcp
acedb2  20114/tcp

/etc/inetd.conf:
acedb   stream  tcp     wait    acedb   /usr/local/bin/saceserver
saceserver /database2/acedb 200:200:0
acedb2  stream  tcp     wait    acedb   /usr/local/bin/saceserver
saceserver /database/acedb 200:200:0 


And now something weird:

I can run 
saceclient myhost -port 20114  # that is acedb WS39

but not 
saceclient myhost -port 20113  # that is acedb WS50

I get the damned FATAL ERROR:
Please enter userid: fc
Please enter passwd:
FATAL ERROR -  (fc on grun.marseille.inserm.fr) reported by program
saceclient (ACEDB 4_9c), in file sclientlib.c, at line 208: Error in
reading from socket, closing down connection.  

Of course, I've checked that I can run saceserver and saceclient in the
foreground with WS50...

I do not see any obvious file permission problems with WS50 (i.e. the
wspec/* or database/* files have the same permissions in the 2 versions)


Any idea?

François

-- 
François Coulier,        mél: coulier at marseille.inserm.fr
INSERM Unité 119, 27 bd Leï Roure, 13009 Marseille, France 
Tel: 33 (0) 4 91 75 84 23 Fax: 33 (0) 4 91 26 03 64
Site ouaibe: http://u119.marseille.inserm.fr/





More information about the Acedb mailing list

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