Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2005 11:28:28 +0100
From:      Matthias Schuendehuette <msch@snafu.de>
To:        Sean Winn <sean@gothic.net.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: amd(8) on port 631?? [SOLVED]
Message-ID:  <200503131128.28424.msch@snafu.de>
In-Reply-To: <452b1dfca7666f3f6510dc53aa770ff9@gothic.net.au>
References:  <200503130000.37579.msch@snafu.de> <452b1dfca7666f3f6510dc53aa770ff9@gothic.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Sean,

Am Sonntag, 13. März 2005 05:33 schrieb Sean Winn:
> On 13/03/2005, at 10:00 AM, Matthias Schuendehuette wrote:
> > Hi,
> >
> > since the last system update today (5.4-PRERELEASE) the
> > automountdaemon
> > amd(8) grabs port tcp/631 which prevents cupsd(8) from starting
> > which in turn prevents smbd(8)/SAMBA from starting.
>
> AMD allocates a random "reserved" port (<1024) - it just hits on 631
> in this case.
>
> Try changing the sysctls:
>
> net.inet.ip.portrange.lowfirst: 1023
> net.inet.ip.portrange.lowlast: 600
>
> (those are the default on my 5.4-PRE/i386 box)

Thanks a lot. I set "net.inet.ip.portrange.lowlast=599" 
in /etc/sysctl.conf and now amd(8) picks port 890 ...

Somtimes randomness is really funny - I don't think that there's 
something to understand...

Anyway - Problem solved! Thanks a lot again!

Matt
-- 
Ciao/BSD - Matthias

Matthias Schuendehuette	<msch [at] snafu.de>, Berlin (Germany)
PGP-Key at <pgp.mit.edu> and <wwwkeys.de.pgp.net> ID: 0xDDFB0A5F



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503131128.28424.msch>