From owner-freebsd-questions@FreeBSD.ORG Tue Oct 5 14:31:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88E6C16A4CE for ; Tue, 5 Oct 2004 14:31:07 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FA1443D55 for ; Tue, 5 Oct 2004 14:31:07 +0000 (GMT) (envelope-from apeiron@comcast.net) Received: from prophecy.dyndns.org ([68.83.169.224]) by comcast.net (rwcrmhc12) with SMTP id <2004100514305601400rfh8ve> (Authid: apeiron); Tue, 5 Oct 2004 14:31:06 +0000 From: Christopher Nehren To: Perttu Laine In-Reply-To: <4759.62.183.166.174.1096955953.squirrel@ssl.nebula.fi> References: <4759.62.183.166.174.1096955953.squirrel@ssl.nebula.fi> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-VBNKdjdh+1UScMrh0j5u" Date: Tue, 05 Oct 2004 10:30:52 -0400 Message-Id: <1096986652.1096.48.camel@prophecy.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0FreeBSD GNOME Team Port cc: freebsd-questions@freebsd.org Subject: Re: imapd problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2004 14:31:07 -0000 --=-VBNKdjdh+1UScMrh0j5u Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-10-05 at 08:59 +0300, Perttu Laine wrote: > I have problem with imapd. I can't start dovecot 'cause it says this: >=20 > -- > koaze# /usr/local/sbin/dovecot > Fatal: listen(143) failed: Address already in use > koaze# I appreciate your choice in IMAP servers. :) > But I don't know what could be using that address. I had cyrus for a > while, but I removed it and ps aux show nothing that could use imapd port= . > Only other email app running is postfix as smtp. `ps aux' doesn't show which ports are in use. For that, you should use the most wonderful sockstat(1). Running something like this should show you the "Address already in use" culprit: 'sockstat -4 | egrep ":143\W"' > So. What could be wrong here? Exactly what the error message says: the address is already in use. Trust error messages: they're almost never wrong, especially when they're straight from libc. --=-VBNKdjdh+1UScMrh0j5u Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBYrAck/lo7zvzJioRAgT4AJwKjKAglz7R5LiwQZFvX5ax50vAcACghvHl qD4yzBj1kkKK6n0uTTkRWtY= =0VDu -----END PGP SIGNATURE----- --=-VBNKdjdh+1UScMrh0j5u--