Error starting slapd
by HQuest from LinuxQuestions.org on (#6CA0J)
OpenLDAP -current package needs to be recompiled. The slapd process from openldap2.6.4-x86_64-3 (as found on -current) fails to start with a runtime symbol lookup error (all libraries shows linked on ldd though):
Code:/usr/sbin/slapd: symbol lookup error: /usr/sbin/slapd: undefined symbol: PL_current_contextRecompiling against recent updates from -current clears it:
Code:/usr/sbin/slapd -u ldap -h ldapi:/// ldap:///
usage: /usr/sbin/slapd options
-4 IPv4 only
-6 IPv6 only
-T {acl|add|auth|cat|dn|index|modify|passwd|test}
Run in Tool mode
-c cookie Sync cookie of consumer
-d level Debug level
-f filename Configuration file
-F dir Configuration directory
-g group Group (id or name) to run as
-h URLs List of URLs to serve
-l facility Syslog facility (default: LOCAL4)
-n serverName Service name
-o <opt>[=val] generic means to specify options; supported options:
slp[={on|off|(attrs)}] enable/disable SLP using (attrs)
-r directory Sandbox directory to chroot to
-s level Syslog level
-u user User (id or name) to run as
-V print version info (-VV exit afterwards, -VVV print
info about static overlays and backends)
Code:/usr/sbin/slapd: symbol lookup error: /usr/sbin/slapd: undefined symbol: PL_current_contextRecompiling against recent updates from -current clears it:
Code:/usr/sbin/slapd -u ldap -h ldapi:/// ldap:///
usage: /usr/sbin/slapd options
-4 IPv4 only
-6 IPv6 only
-T {acl|add|auth|cat|dn|index|modify|passwd|test}
Run in Tool mode
-c cookie Sync cookie of consumer
-d level Debug level
-f filename Configuration file
-F dir Configuration directory
-g group Group (id or name) to run as
-h URLs List of URLs to serve
-l facility Syslog facility (default: LOCAL4)
-n serverName Service name
-o <opt>[=val] generic means to specify options; supported options:
slp[={on|off|(attrs)}] enable/disable SLP using (attrs)
-r directory Sandbox directory to chroot to
-s level Syslog level
-u user User (id or name) to run as
-V print version info (-VV exit afterwards, -VVV print
info about static overlays and backends)