1

Topic: Can't login to roundcube - slapd not starting

Hey,

My iiRedMail nstallation went well and can access my mail server from another machine on http://mydomainname/mail. However when I try to login to roundcube using the default user created during installation (www@mydomainname), the login fails.

I notice when restarting the server that slapd fails to start and from the mail log am seeing the error:
"Unable to bind to server ldap://127.0.0.1:389 as cn=vmail,dc=mydomainname, dc=com:-1 (Can't contact LDAP server)"

Advice please?

----

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

2

Re: Can't login to roundcube - slapd not starting

Check whether openldap is running with below command:

# netstat -ntlp | grep 389

3

Re: Can't login to roundcube - slapd not starting

ZhangHuangbin wrote:

netstat -ntlp | grep 389

Sorry, am new at using FreeBSD. What is the same FreeBSD command?

4

Re: Can't login to roundcube - slapd not starting

netstat -nt | grep 389

5

Re: Can't login to roundcube - slapd not starting

icedevil wrote:

netstat -nt | grep 389

Yeah, you can see whether the slapd works netstat -na |grep 389

But, I have the same problem too. I use freebsd7.3.

on freebsd7 or 8, slapd is not stable.

it crashes unexpectedly with roundcube.
iredmail is getting well but this problem is bad.
I wish  the someone found a solve this issue or developed other programme instead openldap.

6

Re: Can't login to roundcube - slapd not starting

bulend wrote:
icedevil wrote:

netstat -nt | grep 389

Yeah, you can see whether the slapd works netstat -na |grep 389

But, I have the same problem too. I use freebsd7.3.

on freebsd7 or 8, slapd is not stable.

it crashes unexpectedly with roundcube.
iredmail is getting well but this problem is bad.
I wish  the someone found a solve this issue or developed other programme instead openldap.

I did a fresh install and slapd is now running, However, am still not able to login using roundmail and the from dovecot log getting the errors:

   Error: LDAP binding failed (dn cn=vmail,de=mydomainname,dc=com): Invalid credentials
   auth (default): Info: ldap (web@mydomainname.com,127.0.0.1): Aborting (timeout), we're not connected to LDAP server

Thanks for the linux distro advice. I think I'll stick to my favorite - Ubuntu

7

Re: Can't login to roundcube - slapd not starting

You can try Ubuntu 10.04 LTS, it works as expected.