Hi, my Zimbra 8.0.7 in Ubuntu 10.04 not start, I get this error:
Host correo.alguien.dom
Starting ldap...Done.
Failed.
Failed to start slapd. Attempting debug start to determine error.
55c39d91 mdb_db_open: database "": mdb_dbi_open(/opt/zimbra/data/ldap/mdb/db/ad2i) failed: MDB_CORRUPTED: Located page was wrong type (-30796).
55c39d91 backend_startup_one (type=mdb, suffix=""): bi_db_open failed! (-30796)
How to repair MDB file?
[Solved] Ldap MDB file corrupted
[Solved] Ldap MDB file corrupted
try searching for your problem before posting. This one is already solved.
https://community.zimbra.com/collaborat ... /t/1091407
https://community.zimbra.com/collaborat ... /t/1091407
- evilside
- Advanced member
- Posts: 62
- Joined: Sat Sep 13, 2014 3:24 am
- Location: Chile
- ZCS/ZD Version: zcs-8.8.15_GA_3918.UBUNTU14_64
[Solved] Ldap MDB file corrupted
Thanks, but my problem was other. Here is my solution in spanish: http://community.zimbra.com/hispano/f/1937/t/1139991
Re: [Solved] Ldap MDB file corrupted
evilside wrote:Thanks, but my problem was other. Here is my solution in spanish: http://community.zimbra.com/hispano/f/1937/t/1139991
http://community.zimbra.com/ does not open,
[rant]
thnx to those people that do not waste his time to rewrite the solution here
[/rant]
Re: [Solved] Ldap MDB file corrupted
There is another one that encountered the same problem on the internet: https://blog.sajjan.com.np/2016/03/06/zimbra-recovery/ - I haven't read that but is it of any use?
- L. Mark Stone
- Ambassador
- Posts: 2800
- Joined: Wed Oct 09, 2013 11:35 am
- Location: Portland, Maine, US
- ZCS/ZD Version: 10.0.7 Network Edition
- Contact:
Re: [Solved] Ldap MDB file corrupted
The reply containing that link is from three years ago FWIW, but yes, posting the actual steps instead of a link would have been better.maumar wrote:evilside wrote:Thanks, but my problem was other. Here is my solution in spanish: http://community.zimbra.com/hispano/f/1937/t/1139991
http://community.zimbra.com/ does not open,
[rant]
thnx to those people that do not waste his time to rewrite the solution here
[/rant]
Sometimes just dumping and re-adding the LDAP database works:
Code: Select all
ldap stop
/opt/zimbra/libexec/zmslapcat /tmp (or other good location)
cd /opt/zimbra/data/ldap
mv mdb mdb.backup
mkdir -p mdb/db
cd ~
/opt/zimbra/libexec/zmslapadd /tmp/ldap.bak
ldap start
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
Re: [Solved] Ldap MDB file corrupted
I got this error while running the command :
/opt/zimbra/libexec/zmslapcat /tmp
5c3af248 mdb_db_open: database "": mdb_dbi_open(/opt/zimbra/data/ldap/mdb/db/ad2i) failed: MDB_PAGE_NOTFOUND: Requested page not found (-30797).
5c3af248 backend_startup_one (type=mdb, suffix=""): bi_db_open failed! (-30797)
slap_startup failed
Re: [Solved] Ldap MDB file corrupted
The link provided in the solution is no longer available:
https://community.zimbra.com/collaborat ... /t/1091407
It is purported to have solution of problem:
Starting ldap:
Failed.
Failed to start slapd. Attempting to debug start to determine error.
mdb_db_open: database "": mdb_dbi_open(/opt/zimbra/data/ldap/mdb/db/ad2i) failed: MDB_CORRUPTED: Located page was wrong type (-30796).
backend_startup_one (type=mdb, suffix=""): bi_db_open failed! (-30796)
https://community.zimbra.com/collaborat ... /t/1091407
It is purported to have solution of problem:
Starting ldap:
Failed.
Failed to start slapd. Attempting to debug start to determine error.
mdb_db_open: database "": mdb_dbi_open(/opt/zimbra/data/ldap/mdb/db/ad2i) failed: MDB_CORRUPTED: Located page was wrong type (-30796).
backend_startup_one (type=mdb, suffix=""): bi_db_open failed! (-30796)