Hello,

I compiled and installed openldap-2.4.34 by enabling the back-sql.  I installed PostgreSQL database , created the users in DB as per the OpenLDAP Admin guide.

However,  OpenLDAP server is unable to start and connect to the PostgreSQL database.  I got a following problem while I was running a sample SQL read operation from the PostgreSQL DB.                                                 

 root@DevelopmentServer:~/Shekhar/OpenLDAP/openldap-2.4.34/tests# SLAPD_USE_SQL=pgsql ./run sql-test000         

Cleaning up test run directory leftover from previous run.

Running ./scripts/sql-test000-read for bdb...

running defines.sh

Starting slapd on TCP/IP port 9011...

Testing SQL backend read operations...

Waiting 5 seconds for slapd to start...

Waiting 5 seconds for slapd to start...

Waiting 5 seconds for slapd to start...

Waiting 5 seconds for slapd to start...

Waiting 5 seconds for slapd to start...

Waiting 5 seconds for slapd to start...

ldapsearch failed (255)!

kill: 57: No such process           

root@DevelopmentServer:~/Shekhar/OpenLDAP/openldap-2.4.34/tests#



Regards,
Shekhar Podicheti