Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 08:14:50 -0700
From:      "Brock, Anthony - NET" <Anthony.Brock@oregonstate.edu>
To:        =?iso-8859-1?B?TmFneSBM4XN6bPM=?= <nagylzs@enternet.hu>, <freebsd-questions@freebsd.org>
Subject:   RE: cyradmin cannot connect (was: Shared IMAP Folder)
Message-ID:  <7B4268E5ACB878429B58D4BE5B780E83010B6B88@NWS-EXCH2.nws.oregonstate.edu>
In-Reply-To: <44B36DCC.9040707@enternet.hu>

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



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