1

Topic: iredapd won't start (fresh install)

==== Required information ====
- iRedMail version (check /etc/iredmail-release): iRedMail-0.9.4
- Linux/BSD distribution name and version: FreeBSD 10.2-RELEASE #0 r286666
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? iRedAdmin-Pro-SQL-2.3.1
- Related log if you're reporting an issue:
====

root@mxs01:/var/log/iredapd # cat iredapd.log
2016-02-02 09:00:00 INFO * Query SQL server to get mail domain names.
2016-02-02 09:10:00 INFO * Query SQL server to get mail domain names.
2016-02-02 09:20:00 INFO * Query SQL server to get mail domain names.
2016-02-02 09:30:00 INFO * Query SQL server to get mail domain names.
2016-02-02 09:40:00 INFO * Query SQL server to get mail domain names.
2016-02-02 09:50:02 INFO * Query SQL server to get mail domain names.
2016-02-02 10:00:00 INFO * Query SQL server to get mail domain names.
root@mxs01:/var/log/iredapd # service iredapd restart
iredapd is already stopped.
Starting iredapd.
Traceback (most recent call last):
  File "/opt/iredapd/iredapd.py", line 25, in <module>
    from libs.ldaplib.modeler import Modeler
  File "/opt/iRedAPD-1.8.0/libs/ldaplib/modeler.py", line 4, in <module>
    import ldap
ImportError: No module named ldap
root@mxs01:/var/log/iredapd #

----

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

2

Re: iredapd won't start (fresh install)

Try this:

cd /opt/iredapd/
find . -name '*pyc' | xargs rm -f {}
service iredapd restart

3

Re: iredapd won't start (fresh install)

Progress. Thanks.