From owner-freebsd-current Fri Sep 7 11:28:54 2001 Delivered-To: freebsd-current@freebsd.org Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (Postfix) with ESMTP id 0753D37B407 for ; Fri, 7 Sep 2001 11:28:46 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by hcshh.hcs.de (Postfix) with ESMTP id 38746BA4B; Fri, 7 Sep 2001 20:28:45 +0200 (CEST) Received: from hcswork.hcs.de (hcswork.hcs.de [172.24.124.5]) by hcshh.hcs.de (Postfix) with ESMTP id F0554BA27; Fri, 7 Sep 2001 20:28:43 +0200 (CEST) Received: by hcswork.hcs.de (Postfix, from userid 200) id C8F4C529; Fri, 7 Sep 2001 20:28:43 +0200 (METDST) Subject: Re: postfix fails to start In-Reply-To: <86k7zaga3s.fsf@mharnois.workgroup.net> "from Michael Harnois at Sep 7, 2001 12:54:31 pm" To: Michael Harnois Date: Fri, 7 Sep 2001 20:28:43 +0200 (METDST) Cc: Hellmuth Michaelis , Giorgos Keramidas , FreeBSD Current Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL84 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1 Message-Id: <20010907182843.C8F4C529@hcswork.hcs.de> From: hm@hcs.de (Hellmuth Michaelis) X-Virus-Scanned-HCS: by AMaViS perl-11 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From=20the keyboard of Michael Harnois: > > Sep 7 16:19:49 hmscrap postfix[372]: fatal: could not find any > > active network interfaces >=20 > Do you have a way to try dhclient? As I said, that failed with a > similar error for me. I=B4ll see if i can try. In the meantime i tried to find out why postfix fails: for the "postfix" port, it fails in postfix=B4 src/util/inet_addr_local.c and (thank Wietse Venema, it seems _all_ files have a builtin TEST case with a main() !!!) one can compile just this file with=20 cc -o TEST -DTEST -DFREEBSD5 -I../../include -L../../lib inet_addr_local.c = -lutil in that same subdirctory and get a program TEST which when executed exhibits the above described behaviour. The main thing this program does is to open a socket and then do a ioctl(sock, SIOCGIFCONF, (char *) &ifc) which does not fail, but seems that it somehow does not work as advertized anymore. Perhaps i can find out more later as i now have to tell my kids a goodnight story .... hellmuth --=20 Hellmuth Michaelis Tel +49 40 55 97 47= -70 HCS Hanseatischer Computerservice GmbH Fax +49 40 55 97 47= -77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de D-22457 Hamburg WWW http://www.hcs.= de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message