portmap assigning wrong ports

Dave Mitchell davem at iabyn.com
Tue Jan 18 12:28:29 UTC 2005


On Tue, Jan 18, 2005 at 01:12:49PM +0100, David Jansen wrote:
> Does anyone know how to tell portmap which ports to give out? I have now
> noticed a couple of times that some service fails after a reboot, and
> then it turns out that portmap has assigned a random portmapper to
> e.g. ypserv and that random number just happens to be the port another
> service needs. Like this morning:
> 
> Jan 18 09:35:46 maas dovecot: Fatal: 
> Jan 18 09:35:46 maas dovecot: listen(993) failed: Address already in use
> Jan 18 09:35:46 maas dovecot: dovecot startup failed

Ports just below 1024 are suppoosed to ephemeral - that is to say they are
a pool of temporary port numbers used by root processes for things like
the portmapper or rsh. If an application has been hard-coded to use port
993, then that application is probably misconfigured.

Dave.

-- 
print+qq&$}$"$/$s$,$*${d}$g$s$@$.$q$,$:$.$q$^$,$@$*$~$;$.$q$m&if+map{m,^\d{0\,},,${$::{$'}}=chr($"+=$&||1)}q&10m22,42}6:17*2~2.3 at 3;^2dg3q/s"&=~m*\d\*.*g




More information about the fedora-list mailing list