Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 1998 02:52:14 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        avalon@coombs.anu.edu.au (Darren Reed)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: ipopd/imapd - -ERR Can't get lock.  Try again or use IMAP instead
Message-ID:  <199804090252.TAA23848@usr02.primenet.com>
In-Reply-To: <199804081137.EAA18764@hub.freebsd.org> from "Darren Reed" at Apr 8, 98 09:38:43 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804090252.TAA23848>