1825719 Members
2946 Online
109686 Solutions
New Discussion

startup slurpd problem

 
sindodm
Occasional Advisor

startup slurpd problem

I am trying to follow the admin guide to configure the openldap replication , I run the /usr/bin/slurpd , then it pop the message " Error: Malformed "replica" line in slapd config file, line 72 , Warning: failed to add replica "resues2.com:389 - ignoring replica " , I sure the server resues.com is reachable , can anyone advise what is possible reason for the error ? thx

my slapd.conf

replogfile /var/lib/ldap/master-slapd.replog
database ldbm
suffix "dc=resues1,dc=com"
rootdn "cn=Manager,dc=resues1,dc=com"
rootpw secret
rootpw {SSHA}UKfX5uzttkfXd9nMEFWl3l9BfdafOjsV8TQKv
directory /var/lib/ldap/resues1.com
replica host=resues2:389
index objectClass,uid,uidNumber,gidNumber,memberUid eq
index cn,mail,surname,givenname eq
binddn="cn=replicator,dc=resues1,dc=com"
bindmethod=simple credentials=password
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: startup slurpd problem

Shalom,

Check that iptables firewall is not running, it blocks ldap by default.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
sindodm
Occasional Advisor

Re: startup slurpd problem

thx reply,

I have disable firewall , I think this is not caused by firewall as the both the master and slave can authenticate each other, the port 389 , is surely opened , I am really not know what is wrong in my setting , can suggest ? thx.
Kodjo Agbenu
Honored Contributor

Re: startup slurpd problem

Hello,

Have a look at this :

http://www.openldap.org/lists/openldap-software/200604/msg00049.html

Good lcuk.
Kodjo
Learn and explain...
Andrea Rossi
Frequent Advisor

Re: startup slurpd problem

why did you duplicate the rootpw line?