Problema provocado por apagados bruscos o incorrectos de zimbra. USEN UN UPS Y APRENDAN A APAGAR SU SERVIDOR! !!!!!!!
Y sino tengan un backup que funcione.....
login as: root
root@mail.dominio.com's password:
Last login: Tue Sep 4 15:01:41 2012 from mail.infa.gob.ec
[root@mail zimbra]# su zimbra
[zimbra@mail ~]$ zmcontrol start
Host mail.dominio.com
Starting ldap...Done.
Failed.
Failed to start slapd. Attempting debug start to determine error.
bdb_db_close: database "": txn_checkpoint failed: Invalid argument (22).
backend_startup_one (type=hdb, suffix=""): bi_db_open failed! (22)
bdb_db_close: database "": alock_close failed
[zimbra@mail ~]$ zmcontrol stop
Host mail.dominio.com
Stopping stats...Done.
Stopping mta...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping cbpolicyd...Done.
Stopping archiving...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping imapproxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping zmconfigd...Done.
Stopping ldap...Done.
[zimbra@mail ~]$ cd /
[zimbra@mail /]$ cd opt
[zimbra@mail opt]$ cd zimbra
[zimbra@mail ~]$ cd data
[zimbra@mail data]$ cd ldap
[zimbra@mail ldap]$ cd hdb
[zimbra@mail hdb]$ cd db
[zimbra@mail db]$ ls
alock dn2id.bdb zimbraDomainName.bdb
cn.bdb entryCSN.bdb zimbraForeignPrincipal.bdb
__db.001 entryUUID.bdb zimbraId.bdb
__db.002 givenName.bdb zimbraMailAlias.bdb
__db.003 id2entry.bdb zimbraMailCatchAllAddress.bdb
__db.004 mail.bdb zimbraMailDeliveryAddress.bdb
__db.005 objectClass.bdb zimbraMailForwardingAddress.bdb
__db.006 sn.bdb zimbraMailHost.bdb
DB_CONFIG uid.bdb zimbraMailTransport.bdb
displayName.bdb zimbraACE.bdb zimbraVirtualHostname.bdb
[zimbra@mail db]$ /opt/zimbra/bdb (aquí hay doble tab para ver la versión)
bdb/ bdb-4.7.25.4/
[zimbra@mail db]$ /opt/zimbra/bdb-4.7.25.4/bin/db_recover -vv
Finding last valid log LSN: file: 47 offset 4632342
Recovery starting from [47][4632197]
Recovery complete at Tue Sep 4 16:36:33 2012
Maximum transaction ID 80000002 Recovery checkpoint [47][4632342]
[zimbra@mail db]$ ls (noten los db.000x eliminados automáticamente)
alock id2entry.bdb zimbraId.bdb
cn.bdb mail.bdb zimbraMailAlias.bdb
DB_CONFIG objectClass.bdb zimbraMailCatchAllAddress.bdb
displayName.bdb sn.bdb zimbraMailDeliveryAddress.bdb
dn2id.bdb uid.bdb zimbraMailForwardingAddress.bdb
entryCSN.bdb zimbraACE.bdb zimbraMailHost.bdb
entryUUID.bdb zimbraDomainName.bdb zimbraMailTransport.bdb
givenName.bdb zimbraForeignPrincipal.bdb zimbraVirtualHostname.bdb
[zimbra@mail ldap]$ cd /
[zimbra@mail /]$ zmcontrol start
Host mail.dominio.com
Starting ldap...Done.
Starting zmconfigd...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting spell...Done.
Starting mta...Done.
Starting stats...Done.
[zimbra@mail /]$ zmcontrol status
Host mail.dominio.com
ldap Running
logger Running
mailbox Running
mta Running
spell Running
stats Running
zmconfigd Running
Otras fuentes: http://www.ecualug.org/2010/03/15/forums/problemas_con_zimbra
Y sino tengan un backup que funcione.....
login as: root
root@mail.dominio.com's password:
Last login: Tue Sep 4 15:01:41 2012 from mail.infa.gob.ec
[root@mail zimbra]# su zimbra
[zimbra@mail ~]$ zmcontrol start
Host mail.dominio.com
Starting ldap...Done.
Failed.
Failed to start slapd. Attempting debug start to determine error.
bdb_db_close: database "": txn_checkpoint failed: Invalid argument (22).
backend_startup_one (type=hdb, suffix=""): bi_db_open failed! (22)
bdb_db_close: database "": alock_close failed
[zimbra@mail ~]$ zmcontrol stop
Host mail.dominio.com
Stopping stats...Done.
Stopping mta...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping cbpolicyd...Done.
Stopping archiving...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping imapproxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping zmconfigd...Done.
Stopping ldap...Done.
[zimbra@mail ~]$ cd /
[zimbra@mail /]$ cd opt
[zimbra@mail opt]$ cd zimbra
[zimbra@mail ~]$ cd data
[zimbra@mail data]$ cd ldap
[zimbra@mail ldap]$ cd hdb
[zimbra@mail hdb]$ cd db
[zimbra@mail db]$ ls
alock dn2id.bdb zimbraDomainName.bdb
cn.bdb entryCSN.bdb zimbraForeignPrincipal.bdb
__db.001 entryUUID.bdb zimbraId.bdb
__db.002 givenName.bdb zimbraMailAlias.bdb
__db.003 id2entry.bdb zimbraMailCatchAllAddress.bdb
__db.004 mail.bdb zimbraMailDeliveryAddress.bdb
__db.005 objectClass.bdb zimbraMailForwardingAddress.bdb
__db.006 sn.bdb zimbraMailHost.bdb
DB_CONFIG uid.bdb zimbraMailTransport.bdb
displayName.bdb zimbraACE.bdb zimbraVirtualHostname.bdb
[zimbra@mail db]$ /opt/zimbra/bdb (aquí hay doble tab para ver la versión)
bdb/ bdb-4.7.25.4/
[zimbra@mail db]$ /opt/zimbra/bdb-4.7.25.4/bin/db_recover -vv
Finding last valid log LSN: file: 47 offset 4632342
Recovery starting from [47][4632197]
Recovery complete at Tue Sep 4 16:36:33 2012
Maximum transaction ID 80000002 Recovery checkpoint [47][4632342]
[zimbra@mail db]$ ls (noten los db.000x eliminados automáticamente)
alock id2entry.bdb zimbraId.bdb
cn.bdb mail.bdb zimbraMailAlias.bdb
DB_CONFIG objectClass.bdb zimbraMailCatchAllAddress.bdb
displayName.bdb sn.bdb zimbraMailDeliveryAddress.bdb
dn2id.bdb uid.bdb zimbraMailForwardingAddress.bdb
entryCSN.bdb zimbraACE.bdb zimbraMailHost.bdb
entryUUID.bdb zimbraDomainName.bdb zimbraMailTransport.bdb
givenName.bdb zimbraForeignPrincipal.bdb zimbraVirtualHostname.bdb
[zimbra@mail ldap]$ cd /
[zimbra@mail /]$ zmcontrol start
Host mail.dominio.com
Starting ldap...Done.
Starting zmconfigd...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting spell...Done.
Starting mta...Done.
Starting stats...Done.
[zimbra@mail /]$ zmcontrol status
Host mail.dominio.com
ldap Running
logger Running
mailbox Running
mta Running
spell Running
stats Running
zmconfigd Running
Otras fuentes: http://www.ecualug.org/2010/03/15/forums/problemas_con_zimbra
y para la version 8.7 de zimbra como seria la solucion ,porque ejecuto y los comandos no funcionan
ResponderEliminar