Cyrus 2.4.6: RENAME/XFER problems
Jukka Huhta
jukka.huhta at helsinki.fi
Tue Jan 18 10:45:51 EST 2011
Hello list,
I've tried to test Cyrus-imapd 2.4.6 (v2.4.6-Invoca-RPM-2.4.6-0.9,
thanks, Simon!) in a test environment with no problems until I tried
moving user mailboxes to different partitions.
In 2.3.16, the procedure works almost but replication is broken if you
move a user to a different spool on a same backend (but works when
using different backend).
In 2.4.6, every renm/xfer command I can come up with in cyradm fails
somehow. Below is my test mailbox and failed commands attached with
their respective log entries. In particular, the "Mailbox name too
long" error msg is a bit funny. Why is it trying to find
socket/mupdate.target in the first place as I'm using standard murder?
Now, what do you suggest? How should I move half of my ~50000 user
mailboxes to 24 newly created 500G partitions? Is there a bug in my
syntax/configuration or in Cyrus/cyradm?
BTW, according to the cyradm's help, one shouldn't be able to give the
backend hostname at all, see:
cyradm> help renm
renm, alias for renamemailbox [--partition partition] oldname newname [partition]
rename (and optionally relocate) mailbox
That is somewhat contradictory to what we see below (getaddrinfo).
Here's some info about our (test) config:
- mupdate_config: standard
- frontend: m2v1t.mappi.helsinki.fi
- mupdate master: lcluster.mappi.helsinki.fi
- backends: m2v2t.mappi.helsinki.fi & m2v3t.mappi.helsinki.fi
- spool partitions: m2v2t, m2v2t-b & m2v3t, m2v3t-b accordingly
- running on clustered CentOS 5.5
m2v1t.mappi.helsinki.fi> info user.jtest400
{user.jtest400}:
partition: m2v3t
server: m2v3t.mappi.helsinki.fi
[...]
m2v1t.mappi.helsinki.fi> renm user.jtest400 user.jtest400 m2v2t.mappi.helsinki.fi
renamemailbox: The remote Server(s) denied the operation
Jan 18 12:30:16 m2cn1t m2v2t/imap[23386]: kick_mupdate: can't connect to target: No such file or directory
Jan 18 12:30:16 m2cn1t m2v2t/imap[23386]: IOERROR: Mailbox name too long (user.jtest400)
Jan 18 12:30:16 m2cn1t m2v3t/imap[23784]: Could not move mailbox: user.jtest400, LOCALCREATE failed
m2v3t.mappi.helsinki.fi> renm user.jtest400 user.jtest400 m2v2t.mappi.helsinki.fi
renamemailbox: The remote Server(s) denied the operation
Jan 18 12:37:31 m2cn1t m2v2t/imap[23392]: kick_mupdate: can't connect to target: No such file or directory
Jan 18 12:37:31 m2cn1t m2v2t/imap[23392]: IOERROR: Mailbox name too long (user.jtest400)
Jan 18 12:37:31 m2cn1t m2v3t/imap[23876]: Could not move mailbox: user.jtest400, LOCALCREATE failed
m2v3t.mappi.helsinki.fi> renm user.jtest400 user.jtest400 m2v3t-2
renamemailbox: Server(s) unavailable to complete operation
Jan 18 12:38:53 m2cn1t m2v3t/imap[23876]: getaddrinfo(m2v3t-2) failed: Name or service not known
m2v3t.mappi.helsinki.fi> renm user.jtest400 user.jtest400 m2v3t-2
renamemailbox: Server(s) unavailable to complete operation
Jan 18 12:38:53 m2cn1t m2v3t/imap[23876]: getaddrinfo(m2v3t-2) failed: Name or service not known
m2v3t.mappi.helsinki.fi> renm user.jtest400 user.jtest400 m2v3t.mappi.helsinki.fi!m2v3t-2
renamemailbox: Invalid server requested
m2v3t.mappi.helsinki.fi> xfer user.jtest400 m2v3t.mappi.helsinki.fi m2v3t-2
xfermailbox: Invalid server requested
m2v3t.mappi.helsinki.fi> xfer user.jtest400 m2v3t.mappi.helsinki.fi!m2v3t-2
xfermailbox: Server(s) unavailable to complete operation
Jan 18 12:42:38 m2cn1t m2v3t/imap[23876]: getaddrinfo(m2v3t.mappi.helsinki.fi!m2v3t-2) failed: Name or service not known
m2v3t.mappi.helsinki.fi> xfer user.jtest400 m2v3t
xfermailbox: The remote Server(s) denied the operation
Jan 18 12:43:28 m2cn1t m2v3t/imap[23876]: Could not move mailbox: user.jtest400, LOCALCREATE failed
m2v3t.mappi.helsinki.fi> xfer user.jtest400 m2v2t-2
xfermailbox: Server(s) unavailable to complete operation
Jan 18 12:44:13 m2cn1t m2v3t/imap[23876]: getaddrinfo(m2v2t-2) failed: Name or service not known
m2v3t.mappi.helsinki.fi> xfer user.jtest400 m2v2t.mappi.helsinki.fi!m2v2t-2
xfermailbox: Server(s) unavailable to complete operation
Jan 18 12:44:25 m2cn1t m2v3t/imap[23876]: getaddrinfo(m2v2t.mappi.helsinki.fi!m2v2t-2) failed: Name or service not known
m2v3t.mappi.helsinki.fi> xfer user.jtest400 m2v2t
xfermailbox: The remote Server(s) denied the operation
Jan 18 12:44:07 m2cn1t m2v2t/imap[23411]: kick_mupdate: can't connect to target: No such file or directory
Jan 18 12:44:07 m2cn1t m2v2t/imap[23411]: IOERROR: Mailbox name too long (user.jtest400)
Jan 18 12:44:07 m2cn1t m2v3t/imap[23876]: Could not move mailbox: user.jtest400, LOCALCREATE failed
m2v1t.mappi.helsinki.fi> xfer user.jtest400 m2v3t.mappi.helsinki.fi m2v3t-2
xfermailbox: bad parameters to function
Jan 18 12:47:32 m2cn3t im/mupdate[16394]: accepted connection
Jan 18 12:47:32 m2cn3t im/mupdate[16394]: login: lcluster.mappi.helsinki.fi [...] User logged in
Jan 18 12:47:32 m2cn3t m2v1t/imapm2v1t[9845]: MUPDATE: lost connection, retrying
Jan 18 12:47:32 m2cn3t im/mupdate[16394]: accepted connection
Jan 18 12:47:32 m2cn3t im/mupdate[16394]: login: lcluster.mappi.helsinki.fi [...] User logged in
Jan 18 12:47:32 m2cn3t m2v1t/imapm2v1t[9845]: Could not move mailbox: user.jtest400, MUPDATE DEACTIVATE failed
Jan 18 12:47:32 m2cn3t m2v1t/imapm2v1t[9845]: MUPDATE: lost connection, retrying
Jan 18 12:47:32 m2cn3t im/mupdate[16394]: New worker thread started, for a total of 7
Jan 18 12:47:32 m2cn3t im/mupdate[16394]: accepted connection
Jan 18 12:47:32 m2cn3t im/mupdate[16394]: login: lcluster.mappi.helsinki.fi [...] User logged in
Jan 18 12:47:32 m2cn3t m2v1t/imapm2v1t[9845]: Could not back out mupdate during move of user.jtest400 (bad parameters to function)
--
Jukka Huhta
University of Helsinki
More information about the Info-cyrus
mailing list