[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Bizarre error while initializing a DIT



On jue, 2008-08-21 at 22:43 +0200, Pierangelo Masarati wrote:

> Chris G. Sellers wrote:
> > I'm curious why the error says "DC= " yet your file says "dc="  The case 
> > mismatch is interesting, however, should not matter.
> > 
> > PROXIED attribute DC inserted is more of what I'm interested in.  Is 
> > this server setup with replication by chance already?  If so, you will 
> > want to turn that off before you initialize it otherwise that could get 
> > in the way.   Or, do you have referrals setup already?  (didn't see them 
> > in the config).
> 
> The fact that DC is proxied means that the server did not get fed with 
> appropriate schema info.
> 
> p.

I though it would has something to do with some db corruption. I'd have
to cold reboot my machine in some ocassions.

After a db4.2_recover with exit status 0 I was more intrigued.

Then I regenerate another cn=config and did a diff. Most of diff chunk
are related to {create,modify}Timestamp operation attributes. Other are
sustitutions like s/1.3.6.1.4.1.1466.115.121.1.27/OMsInteger/ and so.

These ones called my attention.

----
diff -urN slapd.d-200809151220/cn=config/cn=schema.ldif
slapd.d/cn=config/cn=schema.ldif
--- slapd.d-200809151220/cn=config/cn=schema.ldif       2008-08-05
15:24:49.000000000 -0400
+++ slapd.d/cn=config/cn=schema.ldif    2008-09-15 12:20:44.000000000
-0400
@@ -106,9 +106,9 @@
 olcAttributeTypes: ( 1.3.6.1.4.1.4203.666.1.10 NAME 'monitorContext'
DESC 'mon
  itor context' SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE
NO-USER-MODIF
  ICATION USAGE dSAOperation )
-olcAttributeTypes: ( 1.3.6.1.4.1.4203.666.11.1.1 NAME 'configContext'
DESC 'co
- nfig context' SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE
NO-USER-MODIF
- ICATION USAGE dSAOperation )
+olcAttributeTypes: ( 1.3.6.1.4.1.4203.1.12.2.1 NAME 'configContext'
DESC 'conf
+ ig context' SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE
NO-USER-MODIFIC
+ ATION USAGE dSAOperation )
----

----
@@ -725,7 +714,7 @@
  d configuration' SUP olcDatabaseConfig STRUCTURAL )
 olcObjectClasses: ( OLcfgOvOc:1.1 NAME 'olcSyncProvConfig' DESC
'SyncRepl Prov
  ider configuration' SUP olcOverlayConfig STRUCTURAL MAY
( olcSpCheckpoint $ o
- lcSpSessionlog $ olcSpNoPresent ) )
+ lcSpSessionlog $ olcSpNoPresent $ olcSpReloadHint ) )
 olcObjectClasses: ( OLcfgOvOc:4.1 NAME 'olcAccessLogConfig' DESC
'Access log c
  onfiguration' SUP olcOverlayConfig STRUCTURAL MUST olcAccessLogDB MAY
( olcAc
  cessLogOps $ olcAccessLogPurge $ olcAccessLogSuccess $ olcAccessLogOld
$ olcA
----

Does the trailing '/' here is relevant?
----
diff -urN slapd.d-200809151220/cn=config.ldif slapd.d/cn=config.ldif
--- slapd.d-200809151220/cn=config.ldif 2008-08-26 13:02:55.000000000
-0400
+++ slapd.d/cn=config.ldif      2008-09-15 12:20:44.000000000 -0400
@@ -1,8 +1,8 @@
 dn: cn=config
 objectClass: olcGlobal
 cn: config
-olcConfigFile: slapd.conf
-olcConfigDir: slapd.d/
+olcConfigFile: __slapd.__conf
+olcConfigDir: slapd.d
----



---------------------------------------
    Red Telematica de Salud - Cuba
    	  CNICM - Infomed