cyradm - unable to authenticate server as cyrus
Stephen Liu
satimis at yahoo.com
Wed Jul 9 10:02:06 EDT 2008
Hi folks,
Ubuntu LAMP 6.06 amd64
Postfix
Cyrus-imap-2.2
Just discovered unable to login cyradm as cyrus
$ cyradm -user cyrus localhost
Password:
cyradm: cannot authenticate to server as cyrus
The password is correct. Also ran;
$ sudo passwd cyrus
to create a new password but without result.
$ tail /var/log/messages
Jul 9 21:00:51 satimis kernel: [ 44.244209] IPv6 over IPv4 tunneling
driver
Jul 9 21:00:51 satimis kernel: [ 47.075285] ppdev: user-space
parallel port d
river
Jul 9 21:01:28 satimis kernel: [ 84.209351] Installing knfsd
(copyright (C) 1
996 okir at monad.swb.de).
Jul 9 21:01:28 satimis kernel: [ 84.321528] NFSD: Using
/var/lib/nfs/v4recove
ry as the NFSv4 state recovery directory
Jul 9 21:01:28 satimis kernel: [ 84.321545] NFSD: recovery directory
/var/lib
/nfs/v4recovery doesn't exist
Jul 9 21:01:28 satimis kernel: [ 84.321548] NFSD: starting 90-second
grace pe
riod
Jul 9 21:01:32 satimis squid[4266]: Squid Parent: child process 4268
started
Jul 9 21:01:34 satimis kernel: [ 89.815137] ip_tables: (C) 2000-2002
Netfilte
r core team
Jul 9 21:01:34 satimis kernel: [ 90.008596] Netfilter messages via
NETLINK v0
.30.
Jul 9 21:01:34 satimis kernel: [ 90.021678] ip_conntrack version 2.4
(4095 bu
ckets, 32760 max) - 312 bytes per conntrack
* end *
$ tail /var/log/syslog
Jul 9 21:15:01 satimis /USR/SBIN/CRON[4518]: (root) CMD (cd
/var/www/SugarCE-Full-5.0.0e; php -f cron.php > /dev/null 2>&1)
Jul 9 21:15:10 satimis cyrus/imap[4478]: accepted connection
Jul 9 21:15:41 satimis cyrus/imap[4478]: badlogin:
localhost.localdomain [127.0.0.1] DIGEST-MD5 [SASL(-13): user not
found: no secret in database]
Jul 9 21:16:01 satimis /USR/SBIN/CRON[4522]: (root) CMD (cd
/var/www/SugarCE-Full-5.0.0e; php -f cron.php > /dev/null 2>&1)
Jul 9 21:16:58 satimis cyrus/master[3829]: process 4478 exited, status
0
Jul 9 21:17:01 satimis /USR/SBIN/CRON[4525]: (root) CMD ( run-parts
--report /etc/cron.hourly)
Jul 9 21:17:01 satimis /USR/SBIN/CRON[4527]: (root) CMD (cd
/var/www/SugarCE-Full-5.0.0e; php -f cron.php > /dev/null 2>&1)
Jul 9 21:18:01 satimis /USR/SBIN/CRON[4530]: (root) CMD (cd
/var/www/SugarCE-Full-5.0.0e; php -f cron.php > /dev/null 2>&1)
Jul 9 21:19:01 satimis /USR/SBIN/CRON[4548]: (root) CMD (cd
/var/www/SugarCE-Full-5.0.0e; php -f cron.php > /dev/null 2>&1)
Jul 9 21:20:01 satimis /USR/SBIN/CRON[4551]: (root) CMD (cd
/var/www/SugarCE-Full-5.0.0e; php -f cron.php > /dev/null 2>&1)
* end *
$ telnet localhost imap
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
* OK satimis.com Cyrus IMAP4 v2.2.12-Debian-2.2.12-4ubuntu1 server
ready
logout
* BAD Invalid tag
.
* BAD Invalid tag
.logout
* BAD Invalid tag
.quit
quit
It just hung there. I can't quit the command.
Previously it worked without problem. What I have done on the server
were setup iptables and installing SugarCRM on this box.
Stop iptables and flush the rules but without result.
$ cyradm --user cyrus localhost
Password:
cyradm: cannot authenticate to server as cyrus
$ tail /var/log/messages
Jul 9 21:00:51 satimis kernel: [ 47.075285] ppdev: user-space
parallel port driver
Jul 9 21:01:28 satimis kernel: [ 84.209351] Installing knfsd
(copyright (C) 1996 okir at monad.swb.de).
Jul 9 21:01:28 satimis kernel: [ 84.321528] NFSD: Using
/var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jul 9 21:01:28 satimis kernel: [ 84.321545] NFSD: recovery directory
/var/lib/nfs/v4recovery doesn't exist
Jul 9 21:01:28 satimis kernel: [ 84.321548] NFSD: starting 90-second
grace period
Jul 9 21:01:32 satimis squid[4266]: Squid Parent: child process 4268
started
Jul 9 21:01:34 satimis kernel: [ 89.815137] ip_tables: (C) 2000-2002
Netfilter core team
Jul 9 21:01:34 satimis kernel: [ 90.008596] Netfilter messages via
NETLINK v0.30.
Jul 9 21:01:34 satimis kernel: [ 90.021678] ip_conntrack version 2.4
(4095 buckets, 32760 max) - 312 bytes per conntrack
Jul 9 21:20:50 satimis -- MARK --
* end *
$ tail /var/log/syslog
Jul 9 21:31:24 satimis cyrus/master[3829]: process 4635 exited, status
0
Jul 9 21:32:01 satimis /USR/SBIN/CRON[4637]: (root) CMD (cd
/var/www/SugarCE-Full-5.0.0e; php -f cron.php > /dev/null 2>&1)
Jul 9 21:33:00 satimis cyrus/master[4662]: about to exec
/usr/lib/cyrus/bin/imapd
Jul 9 21:33:00 satimis cyrus/imap[4662]: executed
Jul 9 21:33:00 satimis cyrus/imap[4662]: accepted connection
Jul 9 21:33:01 satimis /USR/SBIN/CRON[4664]: (root) CMD (cd
/var/www/SugarCE-Full-5.0.0e; php -f cron.php > /dev/null 2>&1)
Jul 9 21:33:08 satimis cyrus/imap[4662]: badlogin:
localhost.localdomain [127.0.0.1] DIGEST-MD5 [SASL(-13): user not
found: no secret in database]
Jul 9 21:34:01 satimis /USR/SBIN/CRON[4667]: (root) CMD (cd
/var/www/SugarCE-Full-5.0.0e; php -f cron.php > /dev/null 2>&1)
Jul 9 21:34:11 satimis cyrus/master[3829]: process 4662 exited, status
0
Jul 9 21:35:01 satimis /USR/SBIN/CRON[4671]: (root) CMD (cd
/var/www/SugarCE-Full-5.0.0e; php -f cron.php > /dev/null 2>&1)
* end *
Please help. TIA
B.R.
Stephen L
Send instant messages to your online friends http://uk.messenger.yahoo.com
More information about the Info-cyrus
mailing list