[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Single Page

Top Document: ph (cso nameserver) Frequently Asked Questions (FAQ)
Previous Document: 1.4 How do I enable phquery for fuzzy mail addressing?
Next Document: 1.6 How can I register my CSO server?


1.5 Can I run multiple databases on different ports?


Yes.  You can use one binary (copy of the software).  On a Unix system,
make multiple entries in /etc/services and /etc/inetd.conf, and use the
-DATABASE option with each entry in /etc/inetd.conf to specify the desired
database for that port. 

Here are some sample entries from /etc/services and /etc/inetd.conf

/etc/services:
ns              105/tcp         # CCSO nameserver
ns-clio         106/tcp
ns-eha          107/tcp

/etc/inetd.conf:
ns              stream  tcp     nowait  root    /usr/local/etc/qi qi
ns-clio         stream  tcp     nowait  root    /usr/local/etc/qi qi \
 -DATABASE=/usr/users/nameserv/db/clio
ns-eha          stream  tcp     nowait  root    /usr/local/etc/qi qi \
 -DATABASE=/usr/users/nameserv/db/eha

        (ns-clio and ns-eha are each one line, no breaks.)

(Samples contributed by Steve Madsen  <smadsen@cs.muohio.edu>)



Top Document: ph (cso nameserver) Frequently Asked Questions (FAQ)
Previous Document: 1.4 How do I enable phquery for fuzzy mail addressing?
Next Document: 1.6 How can I register my CSO server?

Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
noel@camelcity.com (PH FAQ Coordinators)

Last Update September 05 2008 @ 00:15 AM

© 2008 FAQS.ORG. All rights reserved.