From owner-freebsd-stable@FreeBSD.ORG Sun Mar 13 10:28:39 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86C5916A4CE for ; Sun, 13 Mar 2005 10:28:39 +0000 (GMT) Received: from clever.eusc.inter.net (clever.eusc.inter.net [213.73.101.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC5C643D5C for ; Sun, 13 Mar 2005 10:28:38 +0000 (GMT) (envelope-from msch@snafu.de) Received: from pd9e6a9c8.dip0.t-ipconnect.de ([217.230.169.200] helo=stable.alpenflugzentrum.de) by clever.eusc.inter.net with asmtp (Exim 3.36 #4) id 1DAQKr-0006AW-00; Sun, 13 Mar 2005 11:28:37 +0100 Received: from stable.alpenflugzentrum.de (localhost.alpenflugzentrum.de [127.0.0.1])j2DASZFT000949; Sun, 13 Mar 2005 11:28:35 +0100 (CET) (envelope-from msch@snafu.de) Received: from localhost (localhost [[UNIX: localhost]]) j2DASSVb000948; Sun, 13 Mar 2005 11:28:28 +0100 (CET) (envelope-from msch@snafu.de) X-Authentication-Warning: stable.alpenflugzentrum.de: matthias set sender to msch@snafu.de using -f From: Matthias Schuendehuette Organization: Micro$oft-free Zone To: Sean Winn Date: Sun, 13 Mar 2005 11:28:28 +0100 User-Agent: KMail/1.7.2 References: <200503130000.37579.msch@snafu.de> <452b1dfca7666f3f6510dc53aa770ff9@gothic.net.au> In-Reply-To: <452b1dfca7666f3f6510dc53aa770ff9@gothic.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200503131128.28424.msch@snafu.de> cc: freebsd-stable@freebsd.org Subject: Re: amd(8) on port 631?? [SOLVED] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: msch@snafu.de List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2005 10:28:39 -0000 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 , Berlin (Germany) PGP-Key at and ID: 0xDDFB0A5F