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 PIDUSER FD TYPE DEVICE SIZE NODE NAME
master26691 cyrus5u IPv4 172199 TCP localhost:imap (LISTEN)
master26691 cyrus 10u IPv6 172202 TCP localhost:imap (LISTEN)
master26691 cyrus 13u IPv6 172206 TCP *:imaps (LISTEN)
master26691 cyrus 16u IPv4 172209 TCP *:imaps (LISTEN)
imapd 26782 cyrus4u IPv6 172206 TCP *:imaps (LISTEN)
imapd 26791 cyrus4u IPv6 172206 TCP *:imaps (LISTEN)
imapd 26792 cyrus4u IPv6 172206 TCP *:imaps (LISTEN)
imapd 26833 cyrus4u IPv4 172209 TCP *:imaps (LISTEN)
imapd 26836 cyrus4u IPv4 172209 TCP *:imaps (LISTEN)
imapd 27712 cyrus4u IPv4 172209 TCP *:imaps (LISTEN)
imapd 27789 cyrus4u IPv4 172209 TCP *:imaps (LISTEN)
imapd 27842 cyrus4u IPv4 172209 TCP *:imaps (LISTEN)
imapd 28451 cyrus4u IPv4 172209 TCP *:imaps (LISTEN)
imapd 28452 cyrus4u IPv4 172209 TCP *:imaps (LISTEN)
imapd 28460 cyrus4u 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=imapd listen=localhost:imap prefork=0
Good luck!
Tony
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nagy László
Sent: Tuesday, July 11, 2006 2:22 AM
To: freebsd-questions@freebsd.org
Subject: cyradmin cannot connect (was: Shared IMAP Folder)
Hello,
I'm trying to install sasl2 + cyrus-imapd, using this article:
http://www.onlamp.com/pub/a/onlamp/2005/10/06/cyrus_imap.html?page=2
I found the article very helpful. I could do everything until
the point
where I need to create a user in cyrus. There I have an error message:
#cyradm --user admin 127.0.0.1
cyradm: cannot connect to server
I see no messages in /var/log/messages. The program immediately
terminates with this error message. What can be the problem?
Thanks,
Laszlo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]