[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: database is not a shadow
Ok, this is embarrassing.
Issue: I'd set the provider to itself (on ldapmaster2):
syncrepl rid=1
provider=ldaps://ldapmaster2.corp.aptimus.net
type=refreshAndPersist
interval=00:00:10:00
searchbase="dc=unix,dc=aptimus,dc=net"
bindmethod=simple
binddn="uid=root,ou=people,dc=unix,dc=aptimus,dc=net"
credentials="Ten%20two"
retry="15 20 60 +"
mirrormode on
changed to what it should be (ldapmaster1) and it started up fine.
Odd error though.
PS: I'd love to reply to my original message, but I haven't received it (I had recently changed my options to receive an email for each, rather than a digest)
-----Original Message-----
From: Chris Jacobs
Sent: Friday, March 12, 2010 2:54 PM
To: 'openldap-technical@openldap.org'
Subject: database is not a shadow
I'm getting a really odd error when trying to start slapd:
[root@ldapmaster2 ~]# /usr/local/libexec/slapd -u ldap -h 'ldap:/// ldaps:///' -d5
@(#) $OpenLDAP: slapd 2.4.21 (Mar 9 2010 10:37:55) $
root@localhost.localdomain:/cust/appbuilds/openldap-2.4.21/servers/slapd
ldap_pvt_gethostbyname_a: host=ldapmaster2.corp.aptimus.net, r=0
daemon_init: ldap:/// ldaps:///
daemon_init: listen on ldap:///
daemon_init: listen on ldaps:///
daemon_init: 2 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: listener initialized ldap:///
ldap_url_parse_ext(ldaps:///)
daemon: listener initialized ldaps:///
daemon_init: 4 listeners opened
ldap_create
slapd init: initiated server.
slap_sasl_init: initialized!
bdb_back_initialize: initialize BDB backend
bdb_back_initialize: Berkeley DB 4.6.21: (September 27, 2007)
hdb_back_initialize: initialize HDB backend
hdb_back_initialize: Berkeley DB 4.6.21: (September 27, 2007)
==> translucent_initialize
>>> dnNormalize: <>
<<< dnNormalize: <>
>>> dnNormalize: <cn=Subschema>
=> ldap_bv2dn(cn=Subschema,0)
<= ldap_bv2dn(cn=Subschema)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=subschema)=0
<<< dnNormalize: <cn=subschema>
>>> dnNormalize: <ou=assets,dc=unix,dc=aptimus,dc=net>
=> ldap_bv2dn(ou=assets,dc=unix,dc=aptimus,dc=net,0)
<= ldap_bv2dn(ou=assets,dc=unix,dc=aptimus,dc=net)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(ou=assets,dc=unix,dc=aptimus,dc=net)=0
<<< dnNormalize: <ou=assets,dc=unix,dc=aptimus,dc=net>
bdb_db_init: Initializing BDB database
>>> dnPrettyNormal: <dc=unix,dc=aptimus,dc=net>
=> ldap_bv2dn(dc=unix,dc=aptimus,dc=net,0)
<= ldap_bv2dn(dc=unix,dc=aptimus,dc=net)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=unix,dc=aptimus,dc=net)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=unix,dc=aptimus,dc=net)=0
<<< dnPrettyNormal: <dc=unix,dc=aptimus,dc=net>, <dc=unix,dc=aptimus,dc=net>
>>> dnPrettyNormal: <uid=root,ou=people,dc=unix,dc=aptimus,dc=net>
=> ldap_bv2dn(uid=root,ou=people,dc=unix,dc=aptimus,dc=net,0)
<= ldap_bv2dn(uid=root,ou=people,dc=unix,dc=aptimus,dc=net)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=root,ou=people,dc=unix,dc=aptimus,dc=net)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=root,ou=people,dc=unix,dc=aptimus,dc=net)=0
<<< dnPrettyNormal: <uid=root,ou=people,dc=unix,dc=aptimus,dc=net>, <uid=root,ou=people,dc=unix,dc=aptimus,dc=net>
>>> dnNormalize: <dc=unix,dc=aptimus,dc=net>
=> ldap_bv2dn(dc=unix,dc=aptimus,dc=net,0)
<= ldap_bv2dn(dc=unix,dc=aptimus,dc=net)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=unix,dc=aptimus,dc=net)=0
<<< dnNormalize: <dc=unix,dc=aptimus,dc=net>
>>> dnNormalize: <uid=root,ou=people,dc=unix,dc=aptimus,dc=net>
=> ldap_bv2dn(uid=root,ou=people,dc=unix,dc=aptimus,dc=net,0)
<= ldap_bv2dn(uid=root,ou=people,dc=unix,dc=aptimus,dc=net)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(uid=root,ou=people,dc=unix,dc=aptimus,dc=net)=0
<<< dnNormalize: <uid=root,ou=people,dc=unix,dc=aptimus,dc=net>
put_filter: "(objectclass=*)"
put_filter: simple
put_simple_filter: "objectclass=*"
ber_scanf fmt (m) ber:
ldap_url_parse_ext(ldaps://ldapmaster2.corp.aptimus.net)
ldap_url_parse_ext(ldap:///)
ldap_url_parse_ext(ldap:///)
ldap_url_parse_ext(ldaps:///)
/etc/openldap/slapd.conf: line 75: <mirrormode> database is not a shadow
slapd destroy: freeing system resources.
syncinfo_free: rid=001
slapd stopped.
connections_destroy: nothing to destroy.
Needless to say, this server will be a mirror - and I'd had this config working previously. The other server, setup seemingly identically works fine.
What the heck does this error mean?
- chris
Chris Jacobs, Jr. Linux Administrator, Information Technology & Operations
Apollo Group | Apollo Marketing | Aptimus, Inc.
2001 6th Ave | Ste 3200 | Seattle, WA 98121
phone: 206.441-9100 x1245 | cell: 206.601.3256 | Fax: 208.441.9661
email: chris.jacobs@apollogrp.edu
This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.