cyradm - unable to authenticate server as cyrus
Mike Zupan
hijinks at gmail.com
Wed Jul 9 12:06:42 EDT 2008
is it possible you have any remote auth like ldap in place?
On 7/9/08, Stephen Liu <satimis at yahoo.com> wrote:
>
> Hi Nicolas,
>
>
> Thanks for your advice.
>
>
>
> > In /etc/imapd.conf file you must add this line (reads the comments to
> > understand what you make):
> >
> > # Uncomment the following and add the space-separated users who
> > # have admin rights for all services.
> > admins: cyrus
>
>
>
> This line already uncommented previously. Otherwise "cyradm --user
> cyrus localhost" won't work before.
>
>
>
> > # Space-separated list of users that have imapd "admin" status, in
> > # addition to those in the admins: entry above
> > imap_admins: cyrus
>
>
>
> Uncomment above line.
>
>
> $ sudo /etc/init.d/cyrus2.2 restart
> Stopping Cyrus IMAPd: cyrmaster.
> Waiting for complete shutdown....
> Starting Cyrus IMAPd: cyrmaster.
>
>
>
> $ cyradm -user cyrus localhost
> Password:
> cyradm: cannot authenticate to server as cyrus
>
>
>
> Still fail.
>
>
> $ tail /var/log/syslog
> Jul 9 23:45:03 satimis cyrus/ctl_cyrusdb[4531]: archiving log file:
> /var/lib/cyrus/db/log.0000000001
> Jul 9 23:45:03 satimis cyrus/ctl_cyrusdb[4531]: archiving database
> file: /var/lib/cyrus/mailboxes.db
> Jul 9 23:45:03 satimis cyrus/ctl_cyrusdb[4531]: archiving log file:
> /var/lib/cyrus/db/log.0000000001
> Jul 9 23:45:03 satimis cyrus/ctl_cyrusdb[4531]: done checkpointing
> cyrus databases
> Jul 9 23:45:03 satimis cyrus/master[4527]: process 4531 exited, status
> 0
> Jul 9 23:45:30 satimis cyrus/master[4534]: about to exec
>
> /usr/lib/cyrus/bin/imapd
>
> Jul 9 23:45:30 satimis cyrus/imap[4534]: executed
> Jul 9 23:45:30 satimis cyrus/imap[4534]: accepted connection
> Jul 9 23:45:36 satimis cyrus/imap[4534]: badlogin:
>
> localhost.localdomain [127.0.0.1] DIGEST-MD5 [SASL(-13): user not
> found: no secret in database]
>
> Jul 9 23:46:01 satimis /USR/SBIN/CRON[4536]: (root) CMD (cd
>
> /var/www/SugarCE-Full-5.0.0e; php -f cron.php > /dev/null 2>&1)
> * end *
>
>
>
> I think the problem may be here;
> Jul 9 23:45:36 satimis cyrus/imap[4534]: badlogin:
>
> localhost.localdomain [127.0.0.1] DIGEST-MD5 [SASL(-13): user not
> found: no secret in database]
>
>
>
> $ tail /var/log/messages
> Jul 9 23:38:01 satimis kernel: [ 37.643909] IPv6 over IPv4 tunneling
> driver
> Jul 9 23:38:02 satimis kernel: [ 39.876339] ppdev: user-space
> parallel port driver
> Jul 9 23:38:39 satimis kernel: [ 77.087829] Installing knfsd
>
> (copyright (C) 1996 okir at monad.swb.de).
>
> Jul 9 23:38:39 satimis kernel: [ 77.206053] NFSD: Using
>
> /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
>
> Jul 9 23:38:39 satimis kernel: [ 77.206070] NFSD: recovery directory
>
> /var/lib/nfs/v4recovery doesn't exist
>
> Jul 9 23:38:39 satimis kernel: [ 77.206073] NFSD: starting 90-second
> grace period
> Jul 9 23:38:43 satimis squid[4313]: Squid Parent: child process 4315
> started
> Jul 9 23:38:45 satimis kernel: [ 82.765973] ip_tables: (C) 2000-2002
> Netfilter core team
> Jul 9 23:38:45 satimis kernel: [ 82.959424] Netfilter messages via
> NETLINK v0.30.
> Jul 9 23:38:45 satimis kernel: [ 82.972513] ip_conntrack version 2.4
>
> (4095 buckets, 32760 max) - 312 bytes per conntrack
>
> * end *
>
>
> Nothing specific here.
>
>
>
> B.R.
> Stephen L
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20080709/11356a6f/attachment.html
More information about the Info-cyrus
mailing list