I am unable to create users - always reporting a SOAP error, but I can edit, only not create...
"Server error encountered Message: system failure: createAccount Error code: service.FAILURE Method: ZmCsfeCommand.prototype.invoke Details:soap:Receiver"
My LDAP database crashed completely, and had a backup, but it was not exactly the same time as the other database.
After lots of debugging, stack back traces, logs with debugging - we have worked out where the problem is, but not the solution.
The problem is that mysql (zimbra and others) show users that do not exist in LDAP.
So a quick "select id, comment from mailbox" on zimbra shows two users, 199 and 200 that do not exist in LDAP.
But, if I do a "delete from mailbox where id = 199"
mysql> delete from mailbox where id = 200;
ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails (`mboxgroup100/mail_item`, CONSTRAINT `fk_mail_item_mailbox_id` FOREIGN KEY (`mailbox_id`) REFERENCES `zimbra`.`mailbox` (`id`))
So something is screwy...
My question is, how can I tell Zimbra to use an ID above all of these - as I think the problem is related to no free entry.
Here is a log entry that lead to this issue: (shortened to important line)
} catch (NameAlreadyBoundException e) {
Scott


LinkBack URL
About LinkBacks


