Full_Name: Quanah Gibson-Mount
Version: HEAD
OS: N/A
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (47.208.148.239)
We should delete the stub man page for slapd-ldbm(5) from our repository, as it
died with OpenLDAP 2.3.
This is a cryptographically signed message in MIME format.
--------------ms000008090101090902090203
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
marceloandril(a)yahoo.com.br wrote:
> Full_Name: marcelo
> Version: 2.4.44
> OS: centos 7.2
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (177.69.83.5)
>=20
>=20
> Good morning, I'm having a problem using syncrepl by haproxy. The serve=
r can not
> re-create the database. I am using mdb.
1. The ITS is for reporting bugs to the OpenLDAP team, not for asking usa=
ge questions.
Please post those to openldap-technical mailing list:
https://www.openldap.org/lists/mm/listinfo/openldap-technical
2. I'd recommend against pointing to a HA address in syncrepl config stat=
ements. You can
have more than one syncrepl statement within a database configuration and=
let slapd do
the fail-over to another available provider internally.
Ciao, Michael.
--------------ms000008090101090902090203
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
CucwggT9MIID5aADAgECAhBFRleVrRF8X5GwbV0tcLCgMA0GCSqGSIb3DQEBCwUAMHUxCzAJ
BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBD
ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGll
bnQgQ0EwHhcNMTYwOTE2MDcxNjUxWhcNMTkxMjE2MDcxNjUxWjBEMR0wGwYDVQQDDBRtaWNo
YWVsQHN0cm9lZGVyLmNvbTEjMCEGCSqGSIb3DQEJARYUbWljaGFlbEBzdHJv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EyBTdGFydENvbSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRD
b20gQ2xhc3MgMSBDbGllbnQgQ0ECEEVGV5WtEXxfkbBtXS1wsKAwDQYJKoZIhvcNAQEBBQAE
ggEACOKnuhh5CM7f4xCZlgoANk4aov5w0qSDFFj5t8MkTa0lD17Ik2/yuVPP1Q3SqYg3pfDX
1RyhQ7cAQpcHjU3p+cjcTh9zHGkNekVzzrHpZn73NpAxJtvnawXQpW4uUQiywp1iBbaFRBPV
VePCPXnkLq6uWdh4Ihx/FSBBa1cb0Mt8r+I6xIO/nTrHDDrPvv7KtgKac9KhFanhNDC6xk5t
vjGhyXnHuc4vvWUCh7qshPTDWO2rabVGCLaJ0zZA2Q/5Me8WJ5GVEHHCqZqLt0PbP+pQa11B
Lxpbrpnjw4alcSVvZ1JCvVbQKeBXYGKvQNYN+J6zzSujIs7I/C4QhPn6rgAAAAAAAA==
--------------ms000008090101090902090203--
Full_Name: marcelo
Version: 2.4.44
OS: centos 7.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (177.69.83.5)
Good morning, I'm having a problem using syncrepl by haproxy. The server can not
re-create the database. I am using mdb.
Log:
slapd[22501]: dn_callback : entries have identical CSN
slapd[22501]: syncrepl_entry: rid=001 entry unchanged, ignored
slapd[22501]: do_syncrep2: rid=001 (-1) Can't contact LDAP server
slapd[22501]: do_syncrepl: rid=001 rc -1 retrying
Full_Name: marcelo
Version: 2.4.44
OS: centos 7.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (177.69.83.5)
Good morning, I'm having a problem using syncrepl by haproxy. The server can not
re-create the database. I am using mdb.
Log:
slapd[22501]: dn_callback : entries have identical CSN
slapd[22501]: syncrepl_entry: rid=001 entry unchanged, ignored
slapd[22501]: do_syncrep2: rid=001 (-1) Can't contact LDAP server
slapd[22501]: do_syncrepl: rid=001 rc -1 retrying
On Sat, 12 Aug 2017 02:58:20 +0900,
Ryan Tandy wrote:
> > I've added slapd.service file. Please check.
>
> Looks good to me. Thanks again for working on this! :)
>
> Just minor comments:
>
> > - $(srcdir)/slapd.conf > slapd.conf.tmp ; \
> > + $(srcdir)/slapd.conf > slapd.conf.tmp || exit $$?; \
>
> > - $(srcdir)/slapd.ldif > slapd.ldif.tmp ; \
> > + $(srcdir)/slapd.ldif > slapd.ldif.tmp || exit $$?
>
> Is there any difference between this and using && instead of ;? (Not asking for any change, I just want to make sure I understand.)
In Makefile, /bin/sh is invoked without -e option.
> > + if test -n "$(systemdsystemunitdir)"; then \
>
> This is echoed while the rest aren't; maybe it could be either appended to the above command, or change to @if.
Fixed. Thanks!
--
-- Name: SATOH Fumiyasu @ OSS Technology Corp. (fumiyas @ osstech co jp)
-- Business Home: http://www.OSSTech.co.jp/
-- GitHub Home: https://GitHub.com/fumiyas/
-- PGP Fingerprint: BBE1 A1C9 525A 292E 6729 CDEC ADC2 9DCA 5E1C CBCA
muthukumardce(a)gmail.com wrote:
> Full_Name: Muthukumar
> Version: LMDB 0.82
> OS: OSX
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (49.207.184.177)
>
>
> # Writer
>
> ```
> import lmdb
>
> db_path = "test.db"
> DB_MAX_SIZE = 40 * 1000 * 1000 * 1000
> env = lmdb.Environment(db_path, DB_MAX_SIZE, sync=True)
> txn = env.begin(write=True, buffers=True)
> for i in xrange(5000000):
> value = "*" * 100
> txn.put("i="+str(i), value)
> txn.commit()
> ```
>
> I ran the above python program in my machine which took almost 8 secs to
> complete. Simultaneously i try to copy the database using mdb_copy, but it
> started copying only after the write program completes its execution.
>
> Please note: First i run the writer program then the mdb_copy, if i start
> mdb_copy first it runs smoothly.
>
> Please help.
The ITS is for bug reports, not help requests. Use the openldap-technical
mailing list for assistance.
The mdb_copy program needs to acquire the DB write mutex before executing, to
ensure it gets a consistent snapshot. It obviously can't do that until any
other active writer finishes.
Closing this ITS.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Full_Name: Muthukumar
Version: LMDB 0.82
OS: OSX
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (49.207.184.177)
# Writer
```
import lmdb
db_path = "test.db"
DB_MAX_SIZE = 40 * 1000 * 1000 * 1000
env = lmdb.Environment(db_path, DB_MAX_SIZE, sync=True)
txn = env.begin(write=True, buffers=True)
for i in xrange(5000000):
value = "*" * 100
txn.put("i="+str(i), value)
txn.commit()
```
I ran the above python program in my machine which took almost 8 secs to
complete. Simultaneously i try to copy the database using mdb_copy, but it
started copying only after the write program completes its execution.
Please note: First i run the writer program then the mdb_copy, if i start
mdb_copy first it runs smoothly.
Please help.