tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Charles Vachon <cvachon2 () mrn ! gouv ! qc ! ca>
To: tru64-unix-managers
Subject: how does portmap choose IP ports
Date: Mon, 26 Jun 2000 19:25:16 +0000	[thread overview]
Message-ID: <96204763407343.tru64-unix-managers.marc@archive.invalid> (raw)

Hello again Tru-managers,

After rebooting a DU40.D host, I ended up having portmap and inetd
clashing on the usage of port TCP 901, for no reason that I can find. I
used to run SWAT, Samba's graphical administration interface on port
TCP:901. SWAT is defined in /etc/services as:
swat    901/tcp

and it is fired up by inetd using (in /etc/inetd.conf):
swat      stream tcp nowait  root    /loc/app/samba/bin/swat swat

Now, messages such as "inetd[450]: swat/tcp: bind: Address already in
use" are cropping up in daemon.log, and doing a rpcinfo on this host
shows entries like these:

100005    1   tcp    901  mountd
100005    3   tcp    901  mountd

mountd is indeed using the TCP:901 port, so inetd complains about it!  A
quick survey of our Unix hosts (all running some version of DU/TU) show
that the port used by mountd varies between hosts: 901, 900, 899, 933,
878 have all been observed for mountd.

My question is: how does one control the availibiliy of ports for use by
the portmap daemon? The simple and obvious solution to my problem is to
run SWAT at some untouched port, say 9901 instead of 901, but I remain
curious as to how does portmap works.

Thanks in advance.
--

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Charles Vachon tel: (418) 627-6355 x2760
  email: cvachon2@mrn.gouv.qc.ca
  Administrateur de syst=E8me
  FRCQ/Minist=E8re des Ressources
  Naturelles du Qu=E9bec
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

                 reply	other threads:[~2000-06-26 19:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox