[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP and MySQL



Thanks for working this through with me.

SLAPD_USE_SQL=mysql make sql
Initiating LDAP tests for SQL...
Cleaning up test run directory leftover from previous run.
Running ./scripts/sql-all...
#######################################################################
###                                                                 ###
### SQL tests                                                       ###
###                                                                 ###
#######################################################################
###
### SQL tests require the sql backend, a properly configured
### ODBC and a database populated with data from the applicable
### servers/slapd/back-sql/rdbms_depend/* files.
###
### Set SLAPD_USE_SQL to the desired RDBMS to enable this test;
###
### Currently supported RDBMSes are:
###         ibmdb2, mysql, pgsql
###
### Set SLAPD_USE_SQLWRITE=yes to enable the write tests
###
### See servers/slapd/back-sql/rdbms_depend/README for more
### details on how to set up the RDBMS and the ODBC
###
>>>>> Executing all LDAP tests for sql
>>>>> Starting sql-test000-read ...
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 (1)!
./scripts/sql-test000-read: line 55: kill: (28825) - No such process
>>>>> ./scripts/sql-test000-read failed (exit 1)
make: *** [sql-yes] Error 1


and with SLAPD_USE_SQL=mysql SLAPD_DEBUG=1 make sql Initiating LDAP tests for SQL... Cleaning up test run directory leftover from previous run. Running ./scripts/sql-all... ####################################################################### ### ### ### SQL tests ### ### ### ####################################################################### ### ### SQL tests require the sql backend, a properly configured ### ODBC and a database populated with data from the applicable ### servers/slapd/back-sql/rdbms_depend/* files. ### ### Set SLAPD_USE_SQL to the desired RDBMS to enable this test; ### ### Currently supported RDBMSes are: ### ibmdb2, mysql, pgsql ### ### Set SLAPD_USE_SQLWRITE=yes to enable the write tests ### ### See servers/slapd/back-sql/rdbms_depend/README for more ### details on how to set up the RDBMS and the ODBC ### >>>>> Executing all LDAP tests for sql >>>>> Starting sql-test000-read ... 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 (1)! ./scripts/sql-test000-read: line 55: kill: (27957) - No such process >>>>> ./scripts/sql-test000-read failed (exit 1) make: *** [sql-yes] Error 1


I appreciate the help!

Pierangelo Masarati wrote:
On Tue, 2006-05-23 at 19:30 -0400, Russell Handorf wrote:
Ah, thank you! The README in "servers/slapd/back-sql/rdbms_depend/README" indicates to use the test031 (SLAPD_USE_SQL=mysql ./run test031). So I've since followed the differing instructions for testing in the "tests" directory.

per the instructions, when I execute 'SLAPD_USE_SQL=mysql ; make sql' I

Try to omit the ";" between the variable declaration and the command:

'SLAPD_USE_SQL=mysql make sql'

p.




Ing. Pierangelo Masarati Responsabile Open Solution OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office: +39.02.23998309 Mobile: +39.333.4963172
Email: pierangelo.masarati@sys-net.it
------------------------------------------



-- Russell Handorf

< < < < > > > >
The information transmitted is intended only for the person(s) or entity
to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination, or
other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender
and delete the material from any computer.