Results 1 to 8 of 8

Thread: Cleaning up store/index/db

  1. #1
    Join Date
    Sep 2005
    Posts
    41
    Rep Power
    10

    Default Cleaning up store/index/db

    Hi,

    I noticed that when I delete an user (usually with zmprov), his store/index/db isn't deleted (at least not right away). How do I clean up those things, making everything related to a deleted user goes away?

    PS: is there a description of what each script in /opt/zimbra/bin does?

    Rodrigo

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Some of the admin commands are explained in the admin guide. They all should have usage info. If you've got particular quiestions we can anwser them for you.
    Last edited by KevinH; 11-30-2005 at 10:25 AM.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    Join Date
    Sep 2005
    Posts
    41
    Rep Power
    10

    Default

    I want to know how to clean up the store/index/db for the deleted accounts. I saw the zmpurgemessages and the zmmaintaintables, does one of these do what I want?

  4. #4
    Join Date
    Sep 2005
    Posts
    41
    Rep Power
    10

    Default

    Quote Originally Posted by rodrigoccurvo
    I want to know how to clean up the store/index/db for the deleted accounts. I saw the zmpurgemessages and the zmmaintaintables, does one of these do what I want?
    I tried to run both, and with both I got something like this:

    Code:
    SOAP request failed: code=500, error=SSL read timeout:
    Can't call method "to_string" on an undefined value at ./zmmaintaintables line 77.

  5. #5
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default admin console vs. zmprov

    Quote Originally Posted by rodrigoccurvo
    I noticed that when I delete an user (usually with zmprov), his store/index/db isn't deleted (at least not right away). How do I clean up those things, making everything related to a deleted user goes away?
    When you delete a user with the admin console, is their store/index/db cleaned up properly?

  6. #6
    Join Date
    Sep 2005
    Posts
    41
    Rep Power
    10

    Default

    Quote Originally Posted by dkarp
    When you delete a user with the admin console, is their store/index/db cleaned up properly?
    Yes. The dirs of index/store are still there, but the contents are gone. The database is gone too. Is there a way to make it work with zmprov? I have to manage tons of accounts at the same time, can't do it by hand...

  7. #7
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Quote Originally Posted by rodrigoccurvo
    Yes. The dirs of index/store are still there, but the contents are gone. The database is gone too. Is there a way to make it work with zmprov? I have to manage tons of accounts at the same time, can't do it by hand...
    We have an open bug to make zmprov use the SOAP api's. This will fix the issue your seeing.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  8. #8
    Join Date
    Sep 2006
    Posts
    9
    Rep Power
    9

    Default zmmaintaintables in 4.5.3

    Getting this error

    [zimbra@smtp1 ~]$ libexec/zmmaintaintables
    Received SOAP fault: no such account: 5a722116-0ce4-41ba-bd67-fb5c2cfb075f
    Can't call method "to_string" on an undefined value at libexec/zmmaintaintables line 74.

    looking at the date of this thread I would have assumed this was fixed at some time

Similar Threads

  1. Cleaning Zimbra Logger logs
    By shelta in forum Administrators
    Replies: 3
    Last Post: 02-15-2008, 04:03 AM
  2. cleaning up a ZDB file under outlook
    By stwendl in forum Administrators
    Replies: 0
    Last Post: 03-09-2007, 10:12 AM
  3. Why JDK?
    By paladine in forum Installation
    Replies: 3
    Last Post: 11-15-2006, 01:43 PM
  4. Cleaning up /opt/zimbra
    By emkay in forum Administrators
    Replies: 1
    Last Post: 08-10-2006, 08:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •