1

Topic: Cannot start OpenLDAP after migration

Hi all, I set up iredmail server with below information two years ago.
==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu 12.04 32 bit
- Related log if you're reporting an issue:
====

Now I want to move my mail server to Ubuntu 64bit with the latest iredmail 0.9.2 so I set up a new ubuntu server  14.04 64bit. Then I download and install the latest iredmail and it works OK after installation.
After  that, I backup LDAP in old mail server and migrate to new server and I do as migrate guide from iredmail website. But  after restoring LDAP,I couldn't start slapd service.
If you are in my case,please recommend for me what is the best solutions for this
migrate
Best regards

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Cannot start OpenLDAP after migration

Please turn on debug mode in OpenLDAP config file, then start it. Any related error message in /var/log/openldap.log or /var/log/syslog?

Reference:
http://www.iredmail.org/docs/debug.openldap.html

3 (edited by thuyennguyen.dds 2015-10-02 10:25:18)

Re: Cannot start OpenLDAP after migration

Dear Zhang,

Here is snippet from log/syslog

Post's attachments

mailerror.png 205.17 kb, 2 downloads since 2015-10-02 

You don't have the permssions to download the attachments of this post.

4

Re: Cannot start OpenLDAP after migration

Dear Zhang,

Is there a way to install IREDMAIL 0.8.6 now because I see it check latest version and not let me install v 0.8.6

Because I'm currently running iredmail 0.8.6 so I think if I migrate to new server with same version of iredmail, it would be OK and then I could upgrade latest version of redmail on my new server.

Best regards,

ZhangHuangbin wrote:

Please turn on debug mode in OpenLDAP config file, then start it. Any related error message in /var/log/openldap.log or /var/log/syslog?

Reference:
http://www.iredmail.org/docs/debug.openldap.html

5

Re: Cannot start OpenLDAP after migration

There's a permission error in the log you pasted, please let fix it and try to restart OpenLDAP service again, let's see whether it fixes your issue.

If it doesn't work for you: Do you have daily backup of your ldap database? If yes, please follow tutorial to restore from backup.
http://www.iredmail.org/docs/backup.restore.html

By the way, we offer paid support service if you cannot get it working:
http://www.iredmail.org/support.html