From owner-freebsd-questions@FreeBSD.ORG Tue Jul 11 15:15:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 A9E0516A4DD for ; Tue, 11 Jul 2006 15:15:45 +0000 (UTC) (envelope-from Anthony.Brock@oregonstate.edu) Received: from smtp3.oregonstate.edu (smtp3.oregonstate.edu [128.193.0.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2049D43D93 for ; Tue, 11 Jul 2006 15:14:53 +0000 (GMT) (envelope-from Anthony.Brock@oregonstate.edu) Received: from localhost (localhost [127.0.0.1]) by smtp3.oregonstate.edu (Postfix) with ESMTP id 56C3A1043E1; Tue, 11 Jul 2006 08:14:53 -0700 (PDT) X-Virus-Scanned: amavisd-new at oregonstate.edu X-Spam-Score: -1.44 X-Spam-Level: X-Spam-Status: No, score=-1.44 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1.44] Received: from smtp3.oregonstate.edu ([127.0.0.1]) by localhost (smtp.oregonstate.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vFWXHSesJMdz; Tue, 11 Jul 2006 08:14:52 -0700 (PDT) Received: from NWS-EXSMTP.nws.oregonstate.edu (nws-exsmtp.nws.oregonstate.edu [128.193.7.124]) by smtp3.oregonstate.edu (Postfix) with ESMTP id 2F5281041B5; Tue, 11 Jul 2006 08:14:52 -0700 (PDT) Received: from NWS-EXCH2.nws.oregonstate.edu ([128.193.7.74]) by NWS-EXSMTP.nws.oregonstate.edu with Microsoft SMTPSVC(6.0.3790.1830); Tue, 11 Jul 2006 08:14:51 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 11 Jul 2006 08:14:50 -0700 Message-ID: <7B4268E5ACB878429B58D4BE5B780E83010B6B88@NWS-EXCH2.nws.oregonstate.edu> In-reply-to: <44B36DCC.9040707@enternet.hu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: cyradmin cannot connect (was: Shared IMAP Folder) thread-index: Acaky3bjT3UCE8O0RlK18hAmzAyPIwALxidg From: "Brock, Anthony - NET" To: =?iso-8859-1?B?TmFneSBM4XN6bPM=?= , X-OriginalArrivalTime: 11 Jul 2006 15:14:51.0950 (UTC) FILETIME=[C1F65CE0:01C6A4FC] Cc: Subject: RE: cyradmin cannot connect (was: Shared IMAP Folder) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 15:15:45 -0000 You then need to make sure the server is running. The error message = "cyradm: cannot connect to server" can indicate that you don't have the = imap service running. You should be able to see something similar to: # lsof -i | egrep 'PID|imap' | egrep 'PID|LIST' COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME master 26691 cyrus 5u IPv4 172199 TCP localhost:imap = (LISTEN) master 26691 cyrus 10u IPv6 172202 TCP localhost:imap = (LISTEN) master 26691 cyrus 13u IPv6 172206 TCP *:imaps (LISTEN) master 26691 cyrus 16u IPv4 172209 TCP *:imaps (LISTEN) imapd 26782 cyrus 4u IPv6 172206 TCP *:imaps (LISTEN) imapd 26791 cyrus 4u IPv6 172206 TCP *:imaps (LISTEN) imapd 26792 cyrus 4u IPv6 172206 TCP *:imaps (LISTEN) imapd 26833 cyrus 4u IPv4 172209 TCP *:imaps (LISTEN) imapd 26836 cyrus 4u IPv4 172209 TCP *:imaps (LISTEN) imapd 27712 cyrus 4u IPv4 172209 TCP *:imaps (LISTEN) imapd 27789 cyrus 4u IPv4 172209 TCP *:imaps (LISTEN) imapd 27842 cyrus 4u IPv4 172209 TCP *:imaps (LISTEN) imapd 28451 cyrus 4u IPv4 172209 TCP *:imaps (LISTEN) imapd 28452 cyrus 4u IPv4 172209 TCP *:imaps (LISTEN) imapd 28460 cyrus 4u IPv4 172209 TCP *:imaps (LISTEN) If you don't see the "master" process listening to 143/tcp, then cyradm = will never work (it connects to this process to manage the server). = Also, at least with the version I'm running, cyradm does NOT support = unencrypted connections. So I have imap listening to 143/tcp on = localhost with the following in my '/etc/cyrus.conf' file: imap cmd=3D"imapd" listen=3D"localhost:imap" prefork=3D0 Good luck! Tony > -----Original Message----- > From: owner-freebsd-questions@freebsd.org=20 > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Nagy = L=E1szl=F3 > Sent: Tuesday, July 11, 2006 2:22 AM > To: freebsd-questions@freebsd.org > Subject: cyradmin cannot connect (was: Shared IMAP Folder) >=20 >=20 > Hello, >=20 > I'm trying to install sasl2 + cyrus-imapd, using this article: >=20 > http://www.onlamp.com/pub/a/onlamp/2005/10/06/cyrus_imap.html?page=3D2 >=20 > I found the article very helpful. I could do everything until=20 > the point=20 > where I need to create a user in cyrus. There I have an error message: >=20 > #cyradm --user admin 127.0.0.1 > cyradm: cannot connect to server >=20 > I see no messages in /var/log/messages. The program immediately=20 > terminates with this error message. What can be the problem? >=20 > Thanks, >=20 > Laszlo >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" >=20