Hi Rich,<br>Thanks for your reply.<br>Please find the logging from the problems below.<br>The serverb55 is one of 2 servers in a multiple masters configuration that consists of serverb55 and serverb05.<br><br>The problem I inititially had was that I had 2 entries that could not be 
deleted serverb55.<br><br>Here&#39;s logging from the access file.<br>=======================================================================<br>access.20100614-092820:[15/Jun/2010:09:20:49 +0200] conn=342177 op=7 SRCH base=&quot;uid=dbeijk, ou=people, dc=directory,dc=intern&quot; scope=0 filter=&quot;(objectClass=*)&quot; attrs=ALL<br>
access.20100614-092820:[15/Jun/2010:09:20:49 +0200] conn=342177 op=7 RESULT err=0 tag=101 nentries=1 etime=0<br>access.20100614-092820:[15/Jun/2010:09:22:08 +0200] conn=342177 op=8 SRCH base=&quot;uid=dbeijk, ou=people, dc=directory,dc=intern&quot; scope=1 filter=&quot;(objectClass=*)&quot; attrs=&quot;objectClass&quot;<br>
access.20100614-092820:[15/Jun/2010:09:22:08 +0200] conn=342177 op=8 RESULT err=0 tag=101 nentries=0 etime=0 notes=U<br>access.20100614-092820:[15/Jun/2010:09:22:08 +0200] conn=342177 op=9 DEL dn=&quot;uid=dbeijk, ou=people, dc=directory,dc=intern&quot;<br>
access.20100614-092820:[15/Jun/2010:09:22:08 +0200] conn=342177 op=9 RESULT err=1 tag=107 nentries=0 etime=0 csn=4c172a21000000370000<br>access.20100614-092820:[15/Jun/2010:09:22:08 +0200] conn=342177 op=10 SRCH base=&quot;uid=dbeijk, ou=people, dc=directory,dc=intern&quot; scope=1 filter=&quot;(objectClass=*)&quot; attrs=&quot;objectClass&quot;<br>
access.20100614-092820:[15/Jun/2010:09:22:08 +0200] conn=342177 op=10 RESULT err=0 tag=101 nentries=0 etime=0 notes=U<br>=======================================================================<br><br>LDAP error 1 i found means &#39;unwiling to perform&#39;. First I thought something might be wrong with the entry itself.<br>
The error log found in the error log from the serverb55 I&#39;ve added below seemed to point in that direction.<br><br><br>When I logged on the the other ldapserver, serverb05, I tried to delete the same entry to see if this slapd had the same issue but here it worked. <br>
Replicating the delete didn&#39;t. The following error was logged to the errorlog of this :<br><br>========================================================================<br>[15/Jun/2010:09:35:17 +0200] NSMMReplicationPlugin - agmt=&quot;cn=serverb55&quot; (serverb55:636): Consumer failed to replay change (uniqueid a276337c-5dc511df-852cfef8-667fa4d4, CSN 4c172d36000000050000): Operations error. Will retry later.<br>
=======================================================================<br><br>
So there seemed to be a problem with the serverb55 only.<br>Since I assumed the database got somehow corrupt or inconsistent I&#39;ve 
tried the following steps to try and recreate the database or had it 
checked in order to get it right again.<br>
First there&#39;s the errors from the account that could not be deleted.<br>I &#39;reinitialised the consumer&#39; from the working serverb05 to 
the problematic serverb55. <br>Then I restarted the slapd.<br>
Made an export of the database and imported that. <br>Slapd stopped the database.<br><br>Please find the logging from /var/log/dirsrv/slapd-serverb55/errors from
 the actions leading to the problem of the fatal server stop.<br>

======================================================================<br>        CentOS-Directory/8.1.0 B2009.134.1334                                                                                                                                                           <br>
        serverb55:636 (/etc/dirsrv/slapd-serverb55)                                                                                                                                  <br>                                                                                                                                                                                                        <br>
[15/Jun/2010:09:22:58 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; missing attribute &quot;uidNumber&quot; required by object class &quot;posixAccount&quot;<br>[15/Jun/2010:09:22:58 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; missing attribute &quot;gidNumber&quot; required by object class &quot;posixAccount&quot;<br>
[15/Jun/2010:09:22:58 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; -- attribute &quot;uidNumber&quot; not allowed<br>[15/Jun/2010:09:22:58 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; missing attribute &quot;uid&quot; required by object class &quot;posixAccount&quot;<br>
[15/Jun/2010:09:22:58 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; missing attribute &quot;cn&quot; required by object class &quot;posixAccount&quot;<br>[15/Jun/2010:09:22:58 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; missing attribute &quot;homeDirectory&quot; required by object class &quot;posixAccount&quot;<br>
[15/Jun/2010:09:23:04 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; missing attribute &quot;uidNumber&quot; required by object class &quot;posixAccount&quot;<br>[15/Jun/2010:09:23:18 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; missing attribute &quot;uidNumber&quot; required by object class &quot;posixAccount&quot;<br>
[15/Jun/2010:09:23:18 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; missing attribute &quot;gidNumber&quot; required by object class &quot;posixAccount&quot;<br>[15/Jun/2010:09:23:18 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; required attribute &quot;objectclass&quot; missing<br>
[15/Jun/2010:09:23:18 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; required attribute &quot;objectclass&quot; missing<br>[15/Jun/2010:09:23:18 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; missing attribute &quot;uid&quot; required by object class &quot;posixAccount&quot;<br>
[15/Jun/2010:09:23:18 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; missing attribute &quot;cn&quot; required by object class &quot;posixAccount&quot;<br>[15/Jun/2010:09:23:18 +0200] - Entry &quot;uid=dbeijk, ou=People, dc=directory,dc=intern&quot; missing attribute &quot;homeDirectory&quot; required by object class &quot;posixAccount&quot;<br>
[15/Jun/2010:09:24:56 +0200] - Entry &quot;uid=DEL *.*, ou=People, dc=directory,dc=intern&quot; missing attribute &quot;homeDirectory&quot; required by object class &quot;posixAccount&quot;<br>[15/Jun/2010:09:50:20 +0200] - Entry &quot;cn=wchiman, ou=people, dc=directory,dc=intern&quot; -- attribute &quot;uidNumber&quot; not allowed<br>
[15/Jun/2010:10:12:43 +0200] NSMMReplicationPlugin - multimaster_be_state_change: replica dc=directory,dc=intern is going offline; disabling replication<br>[15/Jun/2010:10:12:43 +0200] - attrcrypt_unwrap_key: failed to unwrap key for cipher AES<br>
[15/Jun/2010:10:12:43 +0200] - Failed to retrieve key for cipher AES in attrcrypt_cipher_init<br>[15/Jun/2010:10:12:43 +0200] - Failed to initialize cipher AES in attrcrypt_init<br>[15/Jun/2010:10:12:43 +0200] - WARNING: Import is running with nsslapd-db-private-import-mem on; No other process is allowed to access the database<br>
[15/Jun/2010:10:12:48 +0200] - import userRoot: Workers finished; cleaning up...<br>[15/Jun/2010:10:12:49 +0200] - import userRoot: Workers cleaned up.<br>[15/Jun/2010:10:12:49 +0200] - import userRoot: Indexing complete.  Post-processing...<br>
[15/Jun/2010:10:12:49 +0200] - import userRoot: Flushing caches...<br>[15/Jun/2010:10:12:49 +0200] - import userRoot: Closing files...<br>[15/Jun/2010:10:12:49 +0200] - import userRoot: Import complete.  Processed 4849 entries in 6 seconds. (808.17 entries/sec)<br>
[15/Jun/2010:10:12:49 +0200] - attrcrypt_unwrap_key: failed to unwrap key for cipher AES<br>[15/Jun/2010:10:12:49 +0200] - Failed to retrieve key for cipher AES in attrcrypt_cipher_init<br>[15/Jun/2010:10:12:49 +0200] - Failed to initialize cipher AES in attrcrypt_init<br>
[15/Jun/2010:10:12:49 +0200] NSMMReplicationPlugin - multimaster_be_state_change: replica dc=directory,dc=intern is coming online; enabling replication<br>[15/Jun/2010:10:12:49 +0200] NSMMReplicationPlugin - replica_reload_ruv: Warning: new data for replica dc=directory,dc=intern does not match the data in the changelog.<br>
 Recreating the changelog file. This could affect replication with replica&#39;s  consumers in which case the consumers should be reinitialized.<br>[15/Jun/2010:10:12:49 +0200] - skipping cos definition cn=nsAccountInactivation_cos,dc=directory,dc=intern--no templates found<br>
[15/Jun/2010:10:55:43 +0200] NSMMReplicationPlugin - multimaster_be_state_change: replica dc=directory,dc=intern is going offline; disabling replication<br>[15/Jun/2010:10:55:43 +0200] - attrcrypt_unwrap_key: failed to unwrap key for cipher AES<br>
[15/Jun/2010:10:55:43 +0200] - Failed to retrieve key for cipher AES in attrcrypt_cipher_init<br>[15/Jun/2010:10:55:43 +0200] - Failed to initialize cipher AES in attrcrypt_init<br>[15/Jun/2010:10:55:43 +0200] - WARNING: Import is running with nsslapd-db-private-import-mem on; No other process is allowed to access the database<br>
[15/Jun/2010:10:55:49 +0200] - import userRoot: Workers finished; cleaning up...<br>[15/Jun/2010:10:55:49 +0200] - import userRoot: Workers cleaned up.<br>[15/Jun/2010:10:55:49 +0200] - import userRoot: Indexing complete.  Post-processing...<br>
[15/Jun/2010:10:55:49 +0200] - import userRoot: Flushing caches...<br>[15/Jun/2010:10:55:49 +0200] - import userRoot: Closing files...<br>[15/Jun/2010:10:55:49 +0200] - import userRoot: Import complete.  Processed 4850 entries in 5 seconds. (970.00 entries/sec)<br>
[15/Jun/2010:10:55:49 +0200] - attrcrypt_unwrap_key: failed to unwrap key for cipher AES<br>[15/Jun/2010:10:55:49 +0200] - Failed to retrieve key for cipher AES in attrcrypt_cipher_init<br>[15/Jun/2010:10:55:49 +0200] - Failed to initialize cipher AES in attrcrypt_init<br>
[15/Jun/2010:10:55:49 +0200] NSMMReplicationPlugin - multimaster_be_state_change: replica dc=directory,dc=intern is coming online; enabling replication<br>[15/Jun/2010:10:55:49 +0200] NSMMReplicationPlugin - replica_reload_ruv: Warning: new data for replica dc=directory,dc=intern does not match the data in the changelog.<br>
 Recreating the changelog file. This could affect replication with replica&#39;s  consumers in which case the consumers should be reinitialized.<br>[15/Jun/2010:10:55:49 +0200] - skipping cos definition cn=nsAccountInactivation_cos,dc=directory,dc=intern--no templates found<br>
[15/Jun/2010:10:59:57 +0200] - slapd shutting down - signaling operation threads<br>[15/Jun/2010:10:59:57 +0200] - slapd shutting down - waiting for 26 threads to terminate<br>[15/Jun/2010:10:59:57 +0200] - slapd shutting down - closing down internal subsystems and plugins<br>
[15/Jun/2010:10:59:58 +0200] - Waiting for 4 database threads to stop<br>[15/Jun/2010:10:59:59 +0200] - All database threads now stopped<br>[15/Jun/2010:10:59:59 +0200] - slapd stopped.<br>        CentOS-Directory/8.1.0 B2009.134.1334<br>
        &lt;host&gt;:&lt;port&gt; (/etc/dirsrv/slapd-serverb55)<br><br>[15/Jun/2010:11:00:01 +0200] - Entry &quot;cn=schema&quot; single-valued attribute &quot;modifyTimestamp&quot; has multiple values<br>        CentOS-Directory/8.1.0 B2009.134.1334<br>
        serverb55:636 (/etc/dirsrv/slapd-serverb55)<br><br>[15/Jun/2010:11:00:01 +0200] - CentOS-Directory/8.1.0 B2009.134.1334 starting up<br>[15/Jun/2010:11:00:01 +0200] - I&#39;m resizing my cache now...cache was 20000000 and is now 8000000<br>
[15/Jun/2010:11:00:01 +0200] - attrcrypt_unwrap_key: failed to unwrap key for cipher AES<br>[15/Jun/2010:11:00:01 +0200] - Failed to retrieve key for cipher AES in attrcrypt_cipher_init<br>[15/Jun/2010:11:00:01 +0200] - Failed to initialize cipher AES in attrcrypt_init<br>
[15/Jun/2010:11:00:01 +0200] - attrcrypt_unwrap_key: failed to unwrap key for cipher AES<br>[15/Jun/2010:11:00:01 +0200] - Failed to retrieve key for cipher AES in attrcrypt_cipher_init<br>[15/Jun/2010:11:00:01 +0200] - Failed to initialize cipher AES in attrcrypt_init<br>
[15/Jun/2010:11:00:01 +0200] - skipping cos definition cn=nsAccountInactivation_cos,dc=directory,dc=intern--no templates found<br>[15/Jun/2010:11:00:01 +0200] NSMMReplicationPlugin - replica_check_for_data_reload: Warning: data for replica dc=directory,dc=intern was reloaded and it no longer matches the data in the changelog (replica data &gt; changelog). Recreating the changelog file. This could affect replication with replica&#39;s consumers in which case the consumers should be reinitialized.<br>
[15/Jun/2010:11:00:01 +0200] - skipping cos definition cn=nsAccountInactivation_cos,dc=directory,dc=intern--no templates found<br>[15/Jun/2010:11:00:01 +0200] - slapd started.  Listening on All Interfaces port 389 for LDAP requests<br>
[15/Jun/2010:11:00:01 +0200] - Listening on All Interfaces port 636 for LDAPS requests<br>[15/Jun/2010:11:29:59 +0200] - slapd shutting down - signaling operation threads<br>[15/Jun/2010:11:29:59 +0200] - slapd shutting down - closing down internal subsystems and plugins<br>
[15/Jun/2010:11:30:00 +0200] - Waiting for 4 database threads to stop<br>[15/Jun/2010:11:30:00 +0200] - All database threads now stopped<br>[15/Jun/2010:11:30:00 +0200] - slapd stopped.<br>        CentOS-Directory/8.1.0 B2009.134.1334<br>
        &lt;host&gt;:&lt;port&gt; (/etc/dirsrv/slapd-serverb55)<br><br>[15/Jun/2010:11:30:03 +0200] - Entry &quot;cn=schema&quot; single-valued attribute &quot;modifyTimestamp&quot; has multiple values<br>        CentOS-Directory/8.1.0 B2009.134.1334<br>
        serverb55:636 (/etc/dirsrv/slapd-serverb55)<br><br>[15/Jun/2010:11:30:03 +0200] - CentOS-Directory/8.1.0 B2009.134.1334 starting up<br>[15/Jun/2010:11:30:03 +0200] - attrcrypt_unwrap_key: failed to unwrap key for cipher AES<br>
[15/Jun/2010:11:30:03 +0200] - Failed to retrieve key for cipher AES in attrcrypt_cipher_init<br>[15/Jun/2010:11:30:03 +0200] - Failed to initialize cipher AES in attrcrypt_init<br>[15/Jun/2010:11:30:03 +0200] - attrcrypt_unwrap_key: failed to unwrap key for cipher AES<br>
[15/Jun/2010:11:30:03 +0200] - Failed to retrieve key for cipher AES in attrcrypt_cipher_init<br>[15/Jun/2010:11:30:03 +0200] - Failed to initialize cipher AES in attrcrypt_init<br>[15/Jun/2010:11:30:03 +0200] - skipping cos definition cn=nsAccountInactivation_cos,dc=directory,dc=intern--no templates found<br>
[15/Jun/2010:11:30:03 +0200] - skipping cos definition cn=nsAccountInactivation_cos,dc=directory,dc=intern--no templates found<br>[15/Jun/2010:11:30:03 +0200] - slapd started.  Listening on All Interfaces port 389 for LDAP requests<br>
[15/Jun/2010:11:30:03 +0200] - Listening on All Interfaces port 636 for LDAPS requests<br>[15/Jun/2010:11:40:44 +0200] - Beginning export of &#39;userroot&#39;<br>[15/Jun/2010:11:40:44 +0200] - export userRoot: Processed 139 entries (100%).<br>
[15/Jun/2010:11:40:44 +0200] - Export finished.<br>[15/Jun/2010:11:46:12 +0200] NSMMReplicationPlugin - multimaster_be_state_change: replica dc=directory,dc=intern is going offline; disabling replication<br>[15/Jun/2010:11:46:12 +0200] - attrcrypt_unwrap_key: failed to unwrap key for cipher AES<br>
[15/Jun/2010:11:46:12 +0200] - Failed to retrieve key for cipher AES in attrcrypt_cipher_init<br>[15/Jun/2010:11:46:12 +0200] - Failed to initialize cipher AES in attrcrypt_init<br>[15/Jun/2010:11:46:12 +0200] - WARNING: Import is running with nsslapd-db-private-import-mem on; No other process is allowed to access the database<br>
[15/Jun/2010:11:46:14 +0200] - libdb: page 1: illegal page type or format<br>[15/Jun/2010:11:46:14 +0200] - libdb: PANIC: Invalid argument<br>[15/Jun/2010:11:46:14 +0200] - FATAL ERROR at by MCC ou=people  dc=directory dc=intern (77); server stopping as database recovery needed.<br>
        CentOS-Directory/8.1.0 B2009.134.1334<br>        &lt;host&gt;:&lt;port&gt; (/etc/dirsrv/slapd-serverb55<br>======================================================================<br><br>Finally my questions :<br>What could be the cause of the problem ?<br>
What would be the best procedure to get the serverb55 up and running again ?<br><br>Thanks for any advise.<br><br>Regards,<br>Mark<br><br> <br><br>=======<br><br><br><div class="gmail_quote">On Tue, Jun 15, 2010 at 7:04 PM, Rich Megginson <span dir="ltr">&lt;<a href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">mark benschop wrote:<br>
&gt; Hi All,<br>
&gt;<br>
&gt; I&#39;m having a problem on a CentOs Directory Server 8.1 multiple master<br>
&gt; setup.<br>
&gt; The database of one of the servers has been marked as corrupt and has<br>
&gt; been brought offline by the Directory Server.<br>
</div>Can you post any relevant error messages from the error log of the server?<br>
<div class="im">&gt; Ldapclients querying the ldapserver for e.g. loggin in of users get an<br>
&gt; errormessage, effectively disabling users to log in.<br>
</div>What error message?<br>
<div class="im">&gt;<br>
&gt; I&#39;m wondering what the best method is to recover from this situation.<br>
&gt; I can think of a few :<br>
&gt; 1) Starting the ldapserver, deleting the database, recreating it and<br>
&gt; restoring a backup.<br>
<br>
&gt; 2) Starting the ldapserver, deleting the database and reinitialising<br>
&gt; the server from the other master.<br>
</div>If you reinitialize the problem server from another server, you don&#39;t<br>
need to delete the database, reinit will do that for you.<br>
<div class="im">&gt;<br>
&gt; Can anyone give me some hints if this wil work or would another<br>
&gt; approach be better ?<br>
&gt;<br>
&gt; Thanks for your advise,<br>
&gt; Mark<br>
</div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; --<br>
&gt; 389 users mailing list<br>
&gt; <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
<font color="#888888"><br>
--<br>
389 users mailing list<br>
<a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
</font></blockquote></div><br>