From owner-freebsd-hackers Wed Apr 8 19:52:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA06729 for freebsd-hackers-outgoing; Wed, 8 Apr 1998 19:52:47 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA06708 for ; Wed, 8 Apr 1998 19:52:22 -0700 (PDT) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id TAA08649; Wed, 8 Apr 1998 19:52:21 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp02.primenet.com, id smtpd008634; Wed Apr 8 19:52:15 1998 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id TAA23848; Wed, 8 Apr 1998 19:52:14 -0700 (MST) From: Terry Lambert Message-Id: <199804090252.TAA23848@usr02.primenet.com> Subject: Re: ipopd/imapd - -ERR Can't get lock. Try again or use IMAP instead To: avalon@coombs.anu.edu.au (Darren Reed) Date: Thu, 9 Apr 1998 02:52:14 +0000 (GMT) Cc: hackers@FreeBSD.ORG In-Reply-To: <199804081137.EAA18764@hub.freebsd.org> from "Darren Reed" at Apr 8, 98 09:38:43 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Having compiled tkrat 1.1 and installed ipop{2,3}d as well as imapd > on FreeBSD 2.2.5, all three of the daemons fail to work with the > following error: > > -ERR Can't get lock. Try again or use IMAP instead > > Can anyone shed any light on why this might happen ? Is this the U of Washington code, or the CMU Cyrus code? The answer is different for them. I am most familiar with operating Cyrus, but most familiar hacking the U of W (I rewrote it in C++ on a lark; boy, does the code, as distributed, have cases where it can make calls to unitiialized pointers out the wazoo!). For the Cyrus case, this will happen if the /tmp directory is not accessible, if the semaphore is set during a crash (use the rebuild program; I forget the name, but it comes with Cyrus), or if the POP maildrop is already open by another user (POP protocol enforces single user access to maildrops). You could also look in the log files, since the reason was probably syslog'ed. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message