I posted a message yesterday regarding a failure in my system. I am
convinced it is a configuration/environment issue, but I cannot easily
resolve it, and I don't have the time to figure it out right now.
I will pay a minimum of $100 for up to one hour of assistance, with $75/hr
thereafter for someone to straighten this out. Please send me your "bid,"
ie. what you think you can do for me.
I will give you SSH access and temporary root to debug and fix.
The particulars of the problem are in the attachment.
Regards,
Chris
----------------------------------------------------
Chris Weiss, Blueoak Database Engineering
http://www.blueoakdb.com
PH: 517-381-9305
CELL: 517-974-5634
eFAX: 801-340-0740

I can't get past the make test portion of the software installation. I
need to get this working for a project, so any help would be appreciated.
Having used OpenLDAP in the past, I am not a newbie, but I am far from an
expert. I used LDAP with Perl to run a few applications. I am trying to do
the same with a JSP/Java app, but the software is several releases newer
than the last time I used it.
Installed:
BDB 4.1.25 (High Encryption option)
openldap 2.1.21
Machine:
RH 7.3 (all pertinent updated applied)
Dual Athalon
1 GB of Ram.
Version 2.96 of GCC
Linux 2.4.20-18.7smp #1 SMP Thu May 29 06:44:21 EDT 2003 i686
Tests I tried:
* Shut off ipchains and xinetd (rebooted to make sure it was clean)
* Built 2.1.15 with the same result
* Tried to build 2.0.9, but I believe it requires an older version of BDB
and died in the make phase.
Results:
During make test, slapd fails to start with a seg fault in the test000
script. I get a failure after an install and I attempted to start the
daemon directly.
Relevant entries from slapd.conf:
include /usr/local/etc/openldap/schema/core.schema
pidfile /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args
database bdb
suffix "dc=chrisweiss.com,dc=com"
rootdn "cn=chris,dc=chrisweiss,dc=com"
rootpw <<< A hash
directory /usr/local/var/openldap-data
index objectClass eq
The attached file is the strace from trying to start the daemon. It comes
up and goes down *without* a seg fault. It complained about the following
issues:
-> Could not find /etc/ld.so.preload
-> connect(3, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1
ENOENT (No such file or directory)
-> open("/var/nis/NIS_COLD_START", O_RDONLY) = -1 ENOENT (No such file or
directory)
-> open("/var/nis/NIS_COLD_START", O_RDONLY) = -1 ENOENT (No such file or
directory)
-> open("/root/ldaprc", O_RDONLY) = -1 ENOENT (No such file or
directory)
-> open("/root/.ldaprc", O_RDONLY) = -1 ENOENT (No such file or
directory)
-> open("ldaprc", O_RDONLY) = -1 ENOENT (No such file or
directory)
-> socket(PF_INET6, SOCK_STREAM, 0) = -1 EAFNOSUPPORT (Address family
not supported by protocol)
-> open("/usr/lib/sasl/slapd.conf", O_RDONLY) = -1 ENOENT (No such file or
directory)
-> open("/etc/sasldb", O_RDONLY) = -1 ENOENT (No such file or
directory)
-> open("/etc/sasldb", O_RDONLY) = -1 ENOENT (No such file or
directory)
-> shutdown(5, 2 /* send and receive */) = -1 ENOTSOCK (Socket operation
on non-socket)
-> shutdown(4, 2 /* send and receive */) = -1 ENOTSOCK (Socket operation
on non-socket)
-> unlink("/usr/local/var/slapd.pid") = -1 ENOENT (No such file or
directory)
-> unlink("/usr/local/var/slapd.args") = -1 ENOENT (No such file or
directory)
I was unable to identify any of these as reasons for the daemon to die
without any warning.