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

[ Available lists | Index of freebsd-stable | Month of Mar 2005 | Week of 13 Mar 2005 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Matthias Schuendehuette <msch@snafu.de>
Date
13 Mar 2005 10:28:39
Subject
Re: amd(8) on port 631?? [SOLVED]
Message-ID
200503131128.28424.msch@snafu.de


[ Hide this part ]
Hi Sean,

Am Sonntag, 13. Mrz 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


Elapsed time: 0.134 seconds