2>&1 WhoAmI failed (1)! ./scripts/relay: line 378: kill: (17893) - No such process test030-relay seg faults Full_Name: Michael Str�der Version: OPENLDAP_REL_ENG_2_3 2005-11-03 20:22 OS: SuSE Linux 10.0 URL: Submission from: (NULL) (83.124.22.229) Changing password to database "o=Example,c=US"... Binding with newly changed password to database "o=Beispiel,c=DE"... ./scripts/relay: line 374: 17893 Segmentation fault $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >$LOG1 2>&1 WhoAmI failed (1)! ./scripts/relay: line 378: kill: (17893) - No such process >>>>> ./scripts/test030-relay failed (exit 1) make[2]: *** [bdb-mod] Error 1 make[2]: Leaving directory `/home/michael/src/openldap-OPENLDAP_REL_ENG_2_3/ldap/tests' make[1]: *** [test] Error 2 make[1]: Leaving directory `/home/michael/src/openldap-OPENLDAP_REL_ENG_2_3/ldap/tests' make: *** [test] Error 2
On Thu, 2005-11-03 at 19:56 +0000, michael@stroeder.com wrote: > 2>&1 > WhoAmI failed (1)! > ./scripts/relay: line 378: kill: (17893) - No such process > test030-relay seg faults please check HEAD code. p. SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
changed notes changed state Open to Test moved from Incoming to Development
Pierangelo Masarati wrote: > On Thu, 2005-11-03 at 19:56 +0000, michael@stroeder.com wrote: > >>2>&1 >>WhoAmI failed (1)! >>./scripts/relay: line 378: kill: (17893) - No such process >>test030-relay seg faults > > please check HEAD code. At least no seg fault is reported. But "No such process". Is that ok? $ ./run -b bdb-mod test030 Cleaning up test run directory leftover from previous run. Running ./scripts/test030-relay... running defines.sh Testing virtual naming context mapping with relay ldap meta backend(s)... Using relay backend... Starting slapd on TCP/IP port 9011... Using ldapsearch to check that slapd is running... 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/relay: line 44: kill: (4563) - No such process Ciao, Michael.
> At least no seg fault is reported. But "No such process". > Is that ok? I suspect you need to kill something before running the test; in any case, the issue was with back-ldap, not back-relay, you should be able to get past the back-relay test at least. p. SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
Pierangelo Masarati wrote: >>At least no seg fault is reported. But "No such process". >>Is that ok? > > I suspect you need to kill something before running the test; I did killall slapd as root to make sure nothing else is running. But still "No such process". My impression is slapd is not started at all. Ciao, Michael. ---------------------------------------------------------------------- $ ./run -b bdb-mod test030 Cleaning up test run directory leftover from previous run. Running ./scripts/test030-relay... running defines.sh Testing virtual naming context mapping with relay ldap meta backend(s)... Using relay backend... Starting slapd on TCP/IP port 9011... Using ldapsearch to check that slapd is running... 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/relay: line 44: kill: (31468) - No such process ---------------------------------------------------------------------- File: testrun/slapd.1.log @(#) $OpenLDAP: slapd 2.X (Nov 3 2005 21:57:57) $ michael@nb2:/home/michael/src/openldap-HEAD/ldap/servers/slapd daemon_init: ldap://localhost:9011/ daemon_init: listen on ldap://localhost:9011/ daemon_init: 1 listeners to open... ldap_url_parse_ext(ldap://localhost:9011/) daemon: listener initialized ldap://localhost:9011/ daemon_init: 2 listeners opened lt-slapd init: initiated server. slap_sasl_init: initialized! Unrecognized database type (bdb-mod) ./testrun/slapd.1.conf: line 42: <database> failed init (bdb-mod)! lt-slapd destroy: freeing system resources. slapd stopped. connections_destroy: nothing to destroy.
My change was not so invasive: a couple of pointers were reset in passwd exop code; I think you need to look at something else (starting from slapd's logs). p. On Thu, 2005-11-03 at 22:54 +0100, Michael Ströder wrote: > Pierangelo Masarati wrote: > >>At least no seg fault is reported. But "No such process". > >>Is that ok? > > > > I suspect you need to kill something before running the test; > > I did killall slapd as root to make sure nothing else is running. But > still "No such process". My impression is slapd is not started at all. > > Ciao, Michael. > > ---------------------------------------------------------------------- > > $ ./run -b bdb-mod test030 > Cleaning up test run directory leftover from previous run. > Running ./scripts/test030-relay... > running defines.sh > > Testing virtual naming context mapping with relay ldap meta backend(s)... > > Using relay backend... > > Starting slapd on TCP/IP port 9011... > Using ldapsearch to check that slapd is running... > 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/relay: line 44: kill: (31468) - No such process > > ---------------------------------------------------------------------- > File: testrun/slapd.1.log > > @(#) $OpenLDAP: slapd 2.X (Nov 3 2005 21:57:57) $ > michael@nb2:/home/michael/src/openldap-HEAD/ldap/servers/slapd > daemon_init: ldap://localhost:9011/ > daemon_init: listen on ldap://localhost:9011/ > daemon_init: 1 listeners to open... > ldap_url_parse_ext(ldap://localhost:9011/) > daemon: listener initialized ldap://localhost:9011/ > daemon_init: 2 listeners opened > lt-slapd init: initiated server. > slap_sasl_init: initialized! > Unrecognized database type (bdb-mod) > ./testrun/slapd.1.conf: line 42: <database> failed init (bdb-mod)! > lt-slapd destroy: freeing system resources. > slapd stopped. > connections_destroy: nothing to destroy. SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
Pierangelo Masarati wrote: > My change was not so invasive: a couple of pointers were reset in passwd > exop code; I think you need to look at something else (starting from > slapd's logs). Aaargh! My fault with -b... Anyway it failed initially before I filed this. Ok, it works now as expected. Ciao, Michael.
changed state Test to Closed
moved from Development to Archive.Development
fixed in HEAD