1

Topic: LDAP fail on freebsd installation

==== Required information ====
- iRedMail version: 0.86
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: FreeBSD 9.2
- Related log if you're reporting an issue:

/usr/local/etc/rc.d/slapd start
Starting slapd.
Bus error
/usr/local/etc/rc.d/slapd: WARNING: failed to start slapd

====

Hi.

In a new installation of freebsd, i try to install the new version of iredmail.
After install the system, i rebooted the server and LDAP does not started.
I changed in slapd.conf file:
loglevel    -1

I received in screen:
/usr/local/etc/rc.d/slapd start
Starting slapd.
Bus error
/usr/local/etc/rc.d/slapd: WARNING: failed to start slapd

And on log file:
Jan 20 14:35:50 bsdiredmail slapd[1679]: @(#) $OpenLDAP: slapd 2.4.38 (Jan 15 2014 18:37:40) $  root@bsdiredmail.k2s.in:/usr/ports/net/openldap24-server/work/openldap-2.4.38/servers/slapd
Jan 20 14:35:50 bsdiredmail root: /usr/local/etc/rc.d/slapd: WARNING: failed to start slapd
Jan 20 14:35:50 bsdiredmail kernel: pid 1679 (slapd), uid 389: exited on signal 10

Do you have any idea what can be?
I need to install 2 servers with iredmail.

Thanks a lot.

----

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

2

Re: LDAP fail on freebsd installation

I cannot get OpenLDAP started also. But MySQL and PostgreSQL backends work fine.

3

Re: LDAP fail on freebsd installation

Hi.

What can i do now?
Can i install a previous version?
All the servers using LDAP backends.

4

Re: LDAP fail on freebsd installation

Hi Jorge,

I repacked iRedMail-0.8.6 days ago, all 3 backends now works on FreeBSD 9/10. You can download it here:
http://www.iredmail.org/download.html

5

Re: LDAP fail on freebsd installation

Hi Zang,

Now it works. Follows only one error when i was installing:

===>  Building package for python27-2.7.6_1
Creating package /var/ports/basejail/usr/ports/lang/python27/work/python27-2.7.6_1.tbz
Registering depends: gettext-0.18.3.1 libiconv-1.14_1.
Creating bzip'd tar ball in '/var/ports/basejail/usr/ports/lang/python27/work/python27-2.7.6_1.tbz'
tar: lib/python2.7/lib-dynload/dl.so: Cannot stat: No such file or directory
tar: lib/python2.7/lib-dynload/imageop.so: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** [do-package] Error code 1

Stop in /basejail/usr/ports/lang/python27.
*** [build-depends] Error code 1

Stop in /basejail/usr/ports/devel/py-setuptools.
*** [build-depends] Error code 1

Stop in /basejail/usr/ports/net/py-ldap2.
< ERROR > Port was not success installed, please fix it manually and then re-execute this script.

I reinstall python27 using ports and works fine.

Thanks a lot.