主题: bakup时奇怪的问题,请各位大大、张大大进来帮帮我。。谢谢
我在Ubuntu10.04环境下搭建了一台mailserver,使用的是ldap+iRedMail-0.7.4-rc3.tar,然后,想做热备,无奈水平有限,只好先拿另一台机器,做同样的配置。
按照此帖操作:http://www.iredmail.com/wiki/index.php?title=IRedMail/FAQ/Backup#Backup_MySQL_Databases
操作过程如下:
#/etc/init.d/slapd stop
Stopping OpenLDAP: slapd.
#vi /etc/ldap/slapd.conf
database bdb
suffix dc=smarter-semi,dc=com
directory /var/lib/ldap/smarter-semi.com
rootdn cn=Manager,dc=smarter-semi,dc=com
rootpw {SSHA}jLMA1pG1Z0WCuqoX0xKXtBhCRjn3BSyY
sizelimit 1000
cachesize 1000
#cd /var/lib/ldap/smarter-semi.com
#rm -rf *
#cd backup/ldap/2011.11/21/
#bunzip2 2011.11.21.14.55.36.ldif.bz2
#slapadd -f /etc/ldap/slapd.conf -l ./2011.11.21.14.55.36.ldif
bdb_db_open: warning - no DB_CONFIG file found in directory /var/lib/ldap/smarter-semi.com: (2).
Expect poor performance for suffix