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

RE: Install problems



David Sonenberg:

> I actually missed a step in the build.  I forgot to do a make test.
> Here are the results:
>
>
> # make test
> cd tests; make test make[1]: Entering directory
> `/usr/src/openldap/openldap-2.2.17/tests'
> make[2]: Entering directory `/usr/src/openldap/openldap-2.2.17/tests'
> Initiating LDAP tests for BDB...
> Cleaning up test run directory leftover from previous run.
> Running ./scripts/all...
>
>>>>>> Executing all LDAP tests for bdb
>>>>>> Starting test000-rootdse...
>>>>>>
> running defines.sh Starting slapd on TCP/IP port 9011...
> Using ldapsearch to retrieve the root DSE...
> 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...
> ldap_bind: Can't contact LDAP server (-1)
>
>>>>>> Test failed

[...]

>> ldapsearch -d 255 -D "cn=Manager, dc=strozllc,dc=com" -W ldap_create
>> ldap_bind_s ldap_simple_bind_s ldap_sasl_bind_s ldap_sasl_bind
>> ldap_send_initial_request ldap_new_connection ldap_int_open_connection
>> ldap_connect_to_host: TCP localhost:389
>> ldap_new_socket: 3
>> ldap_prepare_socket: 3
>> ldap_connect_to_host: Trying 127.0.0.1:389
>> ldap_connect_timeout: fd: 3 tm: -1 async: 0
>> ldap_ndelay_on: 3
>> ldap_is_sock_ready: 3
>> ldap_ndelay_off: 3
>> ldap_open_defconn: successful
>> ldap_send_server_request
>> ber_flush: 51 bytes to sd 3
>> 0000: 30 31 02 01 01 60 2c 02 01 03 04 1d 63 6e 3d 4d 01...`,.....cn=M
>> 0010: 61 6e 61 67 65 72 2c 64 63 3d 73 74 72 6f 7a 6c anager,dc=strozl
>> 0020: 6c 63 2c 64 63 3d 63 6f 6d 80 08 73 66 6c 6c 63 lc,dc=com..sfllc
>> 0030: 32 6b 34 2k4
>> ldap_write: want=51, written=51
>> 0000: 30 31 02 01 01 60 2c 02 01 03 04 1d 63 6e 3d 4d 01...`,.....cn=M
>> 0010: 61 6e 61 67 65 72 2c 64 63 3d 73 74 72 6f 7a 6c anager,dc=strozl
>> 0020: 6c 63 2c 64 63 3d 63 6f 6d 80 08 73 66 6c 6c 63 lc,dc=com..sfllc
>> 0030: 32 6b 34 2k4
>> ldap_result msgid 1 ldap_chkResponseList for msgid=1, all=1
>> ldap_chkResponseList returns NULL wait4msg (infinite timeout), msgid 1
>> wait4msg continue, msgid 1, all 1 ** Connections:
>> * host: localhost port: 389 (default)
>> refcnt: 2 status: Connected

[...]

>> ** Outstanding Requests:
>> * msgid 1, origid 1, status InProgress
>> outstanding referrals 0, parent count 0 ** Response Queue:
>> Empty
>> ldap_chkResponseList for msgid=1, all=1 ldap_chkResponseList returns NULL
>> ldap_int_select
>> read1msg: msgid 1, all 1
>> ber_get_next
>> ldap_read: want=8, got=0
>>
>>
>> ber_get_next failed. ldap_perror
>> ldap_bind: Can't contact LDAP server (-1)

The two together look pretty indicative of a segfault to me. The server is
running, and is then thrown out.

--Tonni

-- 
mail: tonye@billy.demon.nl
http://www.billy.demon.nl