[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: need installation help !
Sunil -
Read the solaris-specific installation FAQ at openldap:
http://www.openldap.org/faq/index.cgi?file=10
You will probably have to deal with the pthreads issue as described above.
Then you will need a database backend (gdbm works). You can't add anything
to the ldbm without this, which is probably why ldif2ldbm is failing. Make
gdbm and then rebuild ldap.
-----Original Message-----
From: Sunil Ghelani [mailto:ghelani@cs.umn.edu]
Sent: Tuesday, April 06, 1999 4:28 PM
To: OpenLDAP-software@OpenLDAP.org
Subject: need installation help !
Hi,
I'm a student in the University of Minnesota and I was hoping to get some
help in installing the Openldap package since i'm quite new to the concept
of LDAP and its functionalities.
1) i'm working on a sun ultra workstation with solaris 2.5 operating
system.as of now i just need to install the stand alone ldap server and
write some client programs to test on it.
2) what exactly shud the changes be in the ldapconfig.h.edit file ?
i understand that i shud change these entries....
-----------------------
#define DEFAULT_DIRSEP "/"
#define DEFAULT_BINDIR "%BINDIR%"
#define DEFAULT_SBINDIR "%SBINDIR%"
#define DEFAULT_DATADIR "%DATADIR%"
#define DEFAULT_SYSCONFDIR "%SYSCONFDIR%"
#define DEFAULT_LIBEXECDIR "%LIBEXECDIR%"
#define DEFAULT_RUNDIR "%RUNDIR%"
#define DEFAULT_LDAP_CONF_FILE "%SYSCONFDIR%/ldap.conf"
#define DEFAULT_LDAP_USERRC_FILE "ldaprc"
#define DEFAULT_LDAP_ENV_PREFIX "LDAP"
---------------------------
but WHAT EXACTLY should i change them to ?
3) what config options should i give ?
i tried 'configure' with no options.it seemed to 'make build' and 'make'
without any problems.but 'make' in the 'test' directory gave this error.
-----------------
ln: ./data: cannot overwrite directory
make: [all-local] Error 1 (ignored)
Initiating LDAP tests...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Starting test001-ldif2ldbm ...
running defines.sh .
Datadir is ./data
Cleaning up in ./test-db...
Running ldif2ldbm to build slapd database...
id2entry file: Resource temporarily unavailable
stopping: child exited with status 1
ldif2ldbm failed!
>>>>> ./scripts/test001-ldif2ldbm failed (exit 1)
make: *** [all-local] Error 1
---------------------
4) should i give any options for the ldbm package or use the default ?
I shall appreciate very much if someone could guide me on this !!
Thanks and have a good day,
Sunil Ghelani