portmap assigning wrong ports

David Jansen jansen at strw.leidenuniv.nl
Wed Jan 19 19:37:32 UTC 2005


On Wed, Jan 19, 2005 at 07:51:20AM -0800, Rich Lafferty wrote:
> On Tue, Jan 18, 2005 at 01:12:49PM +0100, David Jansen <jansen at strw.leidenuniv.nl> wrote:
> > Does anyone know how to tell portmap which ports to give out? 
> 
> Portmap reports decisions, it doesn't make them -- if portmap says
> a service is on port N, then that service started up on port N and
> then told portmap where it was.
> 
> You'll need to find out what service is in the way, and address it
> directly, either by disabling it, starting it up after dovecot, or
> reconfiguring it if possible.
> 
> If it's always ypserv and you're an NIS server, you'll want to pass
> ypserv a '-p PORTNUM' argument.

Thanks, that works, at least for ypserv and related utilities which are
the only ones I had problems with so far. I was looking in the wrong
direction, assuming portmap was handing out the port numbers. No wonder
I couldn't find the solution.

David




More information about the fedora-list mailing list