CentrioHost Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


[SOLVED]CRITICAL! LDAP primary MDB database is 90% full in Zimbra

You may get this type errors as email in the zimbra admin email account. This was related with the zimbra 8.x changes in ldap db configuration. You may probably see this issue during a zimbra migration or restore task
First check the following values in your zimbra

#su - zimbra
#zmlocalconfig -s ldap_db_maxsize
ldap_db_maxsize = 85899345920
#zmlocalconfig -s ldap_accesslog_maxsize
ldap_accesslog_maxsize = 85899345920

You can see the db size and accesslog size is same that is 80 GB , Now please setup the size as follows,

# zmlocalconfig -e ldap_db_maxsize=85899345920

# zmlocalconfig -e ldap_accesslog_maxsize=10737418240

Give some time for applying the changes

# sleep 90

Now stop slapd

# ldap stop

Go to database directory

# cd /opt/zimbra/data/ldap/mdb/db

Take a backup of ldap database

# /opt/zimbra/libexec/zmslapcat /opt/zimbra/data/ldap/mdb/db

Rename the original db to .old

# mv data.mdb data.mdb.old

Recreate database with new size and restore from backup

# /opt/zimbra/openldap/sbin/slapadd -q -b "" -F /opt/zimbra/data/ldap/config -l /opt/zimbra/data/ldap/mdb/db/ldap.bak

Now start slapd

# ldap start

Tar the original if you need

# gzip data.mdb.old

The above will fix your issue

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 1
2345678
9101112131415
16171819202122
23242526272829
30 

Over 20000 Satisfied Customers!

  • web hosting reviewer
    Valerie Quinn
    CTO, Acteon Group

    Centriohost staff were fantastic, I had a concern with a domain and they got back to me very quickly and they helped me to resolve the issue! ~ . . . Read more

  • Joomla hosting reviewer
    Collin Bryan
    Photographer, Allister Freeman

    I'm using centrio for my portfolio since 2006. The transition was seamless, the support was immediate, and everything works perfectly. ~ . . . Read more

  • dedicated server reviewer
    Harry Collett
    Actor, A&J Artists

    Very easy to understand & use even though I am not very technologically minded. No complications whatsoever & I wouldn't hesitate to recommend it to all. ~ . . . Read more

  • vps web hosting reviewer
    Porfirio Santos
    Technician, Diageo PLC

    Centrio support team have been amazingly responsive and helpful to any of my queries, thank you so much to the Centriohost have been amazingly responsive and helpful to any of my queries ๐Ÿ‘๐Ÿ‘๐Ÿ‘ ~ . . . Read more

  • wordpress hosting plans reviewer
    Catherine Auer
    Doctor, SmartClinics

    Anytime I've had a problem I can't solve, I've found Centriohost to be diligent and persistent. They simply won't let an issue go until the client is happy. ~ . . . Read more

  • reseller hosting reviewer
    Effectivo Social
    Freelancer, Fiverr

    Recommend their shared hosting for all my SME web design clients. Their cloud or VME offerings are too great to deal with. Pricing is perfect and suitable for all users (อ โ‰– อœส–อ โ‰–) ๐Ÿ‘Œ ~ . . . Read more

Top