amd(8) on port 631?? [SOLVED]

Matthias Schuendehuette msch at snafu.de
Sun Mar 13 02:28:39 PST 2005


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


More information about the freebsd-stable mailing list