Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 1127

Administrators • How to remove a MySQL account entry that is not shown with the zmprov commands?

$
0
0
Hi

I have an inconsistency in the MySQL/LDAP database that makes zmblobchk crash and probably causes some other problems. I would like to get rid of that MySQL entries.

Code:

zmblobchk --verbose start 2025-03-14 13:26:29,419 [main] INFO : Setting mysql connector property: maxActive=100Checking mailbox 1.com.zimbra.common.soap.SoapFaultException: no such account: 90e7e49c-5e2a-49d5-b95a-b76de16474cbExceptionId:qtp1279309678-78126:1741955189520:a42ca2177664e068Code:account.NO_SUCH_ACCOUNT

Code:

select * from mailbox where account_id="90e7e49c-5e2a-49d5-b95a-b76de16474cb"    -> ;+----+----------+--------------------------------------+-----------------+--------------------+---------------+-----------------+-------------------+---------------+---------------+----------------+-----------------------------+------------------+--------------+--------------------+-----------------+---------+---------------+----------------------+| id | group_id | account_id                           | index_volume_id | item_id_checkpoint | contact_count | size_checkpoint | change_checkpoint | tracking_sync | tracking_imap | last_backup_at | comment                     | last_soap_access | new_messages | idx_deferred_count | highest_indexed | version | last_purge_at | itemcache_checkpoint |+----+----------+--------------------------------------+-----------------+--------------------+---------------+-----------------+-------------------+---------------+---------------+----------------+-----------------------------+------------------+--------------+--------------------+-----------------+---------+---------------+----------------------+|  1 |        1 | 90e7e49c-5e2a-49d5-b95a-b76de16474cb |               2 |                319 |            43 |               0 |              2800 |           205 |             0 |     1697243522 | galsync.vawnzwsf@xx.ch |                0 |            0 |                  0 | NULL            | 2.7     |    1697464096 |                    0 |+----+----------+--------------------------------------+-----------------+--------------------+---------------+-----------------+-------------------+---------------+---------------+----------------+-----------------------------+------------------+--------------+--------------------+-----------------+---------+---------------+----------------------+
the account is not shown with zmprov -l gaa

Code:

mysql zimbra -e "SELECT comment FROM mailbox WHERE id = 1;"+-----------------------------+| comment                     |+-----------------------------+| galsync.vawnzwsf@xx.ch |+-----------------------------+
I would like to remove the account from the MySQL database, but how can I do that? The problem is that I end up with reference problems that don't allow me to remove the MySQL entries.

Statistics: Posted by oetiker — Fri Mar 14, 2025 12:54 pm



Viewing all articles
Browse latest Browse all 1127

Trending Articles