1

Topic: Internal server error on FreeBSD 10

Hello,

This is the first installation iRedmail on FreeBSD10.2, and i get internal error when trying to access iredadmin/

Please advise how to fix it.
Thank you.


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

pmail.domaintest.org [pid: 678|app: 0|req: 7/7] 192.168.1.70 () {48 vars in 1000 bytes} [Tue Nov 24 11:53:10 2015] GET /iredadmin => generated 21 bytes in 5 msecs (HTTP/1.1 500) 2 headers in 155 bytes (2 switches on core 0)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/web/application.py", line 239, in process
    return self.handle()
  File "/usr/local/lib/python2.7/site-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/local/lib/python2.7/site-packages/web/application.py", line 416, in _delegate
    mod = __import__(mod, None, None, [''])
  File "/usr/local/www/iRedAdmin-0.4.2/controllers/ldap/basic.py", line 4, in <module>
    import ldap
ImportError: No module named ldap

pmail.domaintest.org [pid: 678|app: 0|req: 8/8] 192.168.1.70 () {50 vars in 1031 bytes} [Tue Nov 24 11:53:12 2015] GET /iredadmin => generated 21 bytes in 4 msecs (HTTP/1.1 500) 2 headers in 155 bytes (2 switches on core 0)

====

----

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

2

Re: Internal server error on FreeBSD 10

me again,

i fixed the issue by install py-ldap.
Thanks for great product!