Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 528592

Summary: openldap init script with syntax error
Product: Gentoo Linux Reporter: Thomas Stein <himbeere>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Stein 2014-11-07 21:47:39 UTC
Hello.

Openldap-2.4.40-r2.

/etc/init.d/slapd restart
 * Stopping ldap-server ...                                                                                                                      [ ok ]
/etc/init.d/slapd: eval: line 51: syntax error near unexpected token `('
/etc/init.d/slapd: eval: line 51: `awk /^(directory|olcDbDirectory:)/{print $2} /etc/openldap/slapd.conf'
config file testing succeeded
 * Starting ldap-server ... 

I suppose there is a syntax error in line 51.

cheers
t.


Reproducible: Always
Comment 1 Thomas Stein 2014-11-07 21:50:59 UTC
Sorry for the noise. It's a wrong FQDN.

http://directory.fedoraproject.org/docs/389ds/FAQ/faq.html#syntax-error-near-unexpected-token-
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-08 14:55:37 UTC

*** This bug has been marked as a duplicate of bug 527724 ***