directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre-Arnaud Marcelot ...@marcelot.net>
Subject Re: unable to delete custom schema from apacheds
Date Tue, 14 Jun 2011 08:59:22 GMT
Yep.
That's also a good solution if you want to start again with a fresh default schema.

Regards,
Pierre-Arnaud

On 14 juin 2011, at 10:54, Manish Kutaula wrote:

> Thanks for the help,
> I actually deleted the schema folder  from the server root and restarted 
> the server.
> voila!! it works.
> 
> Manish Kutaula
> 
> 
> 
> From:
> Pierre-Arnaud Marcelot <pa@marcelot.net>
> To:
> users@directory.apache.org
> Date:
> 06/14/2011 01:36 PM
> Subject:
> Re: unable to delete custom schema from apacheds
> Sent by:
> Pierre-Arnaud Marcelot <pajbam@gmail.com>
> 
> 
> 
> Hi,
> 
> This is because you need to remove schema elements in a specific order to 
> avoid inconsistencies in ApacheDS schema registries.
> In your case, the server is failing to remove the attribute type because 
> an object class still depends on it.
> 
> Try removing your depending object classes first and then the attribute 
> type.
> 
> Regards,
> Pierre-Arnaud
> 
> 
> On 14 juin 2011, at 09:05, Manish Kutaula wrote:
> 
>> hi,
>> 
>> I have added a new custom object class and atrributes cn=conference in 
> the 
>> ou= schema.
>> on deleting it from apache directory studio it is giving the error:
>> 
>> Error while deleting entry
>> - [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for     Del reques
>> javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 
>> UNWILLING_TO_PERFORM: failed for     Del request   Entry : 
>> 'm-oid=1.3.6.1.4.1.18060.0.4.3.2.2, ou=attributeTypes, cn=conference, 
>> ou=schema'
>> : ERR_346 Cannot delete the AttributeType 
>> m-oid=1.3.6.1.4.1.18060.0.4.3.2.2, ou=attributeTypes, cn=conference, 
>> ou=schema from the registries, the resulting registries would be 
>> inconsistent : 
>> org.apache.directory.shared.ldap.exception.LdapProtocolErrorException: 
>> ERR_11012 Cannot remove 1.3.6.1.4.1.18060.0.4.3.2.2 for the registries, 
> it 
>> would become inconsistent. The following SchemaOjects are referencing 
> this 
>> SchemaObject : <OBJECT_CLASS,1.3.6.1.4.1.18060.0.4.3.3.2>]; remaining 
> name 
>> 'm-oid=1.3.6.1.4.1.18060.0.4.3.2.2, ou=attributeTypes, cn=conference, 
>> ou=schema'
>>       at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
>>       at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
>>       at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
>>       at com.sun.jndi.ldap.LdapCtx.c_destroySubcontext(Unknown Source)
>>       at 
>> com.sun.jndi.toolkit.ctx.ComponentContext.p_destroySubcontext(Unknown 
>> Source)
>>       at 
>> 
> com.sun.jndi.toolkit.ctx.PartialCompositeContext.destroySubcontext(Unknown 
> 
>> Source)
>>       at 
>> 
> org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$5.run(JNDIConnectionWrapper.java:753)
>>       at 
>> 
> org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1272)
>>       at 
>> 
> org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.checkConnectionAndRunAndMonitor(JNDIConnectionWrapper.java:1203)
>>       at 
>> 
> org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.deleteEntry(JNDIConnectionWrapper.java:799)
>>       at 
>> 
> org.apache.directory.studio.ldapbrowser.core.jobs.DeleteEntriesJob.deleteEntry(DeleteEntriesJob.java:358)
>>       at 
>> 
> org.apache.directory.studio.ldapbrowser.core.jobs.DeleteEntriesJob.optimisticDeleteEntryRecursive(DeleteEntriesJob.java:227)
>>       at 
>> 
> org.apache.directory.studio.ldapbrowser.core.jobs.DeleteEntriesJob.optimisticDeleteEntryRecursive(DeleteEntriesJob.java:265)
>>       at 
>> 
> org.apache.directory.studio.ldapbrowser.core.jobs.DeleteEntriesJob.optimisticDeleteEntryRecursive(DeleteEntriesJob.java:265)
>>       at 
>> 
> org.apache.directory.studio.ldapbrowser.core.jobs.DeleteEntriesJob.executeNotificationJob(DeleteEntriesJob.java:147)
>>       at 
>> 
> org.apache.directory.studio.ldapbrowser.core.jobs.AbstractNotificationJob.executeAsyncJob(AbstractNotificationJob.java:43)
>>       at 
>> 
> org.apache.directory.studio.ldapbrowser.core.jobs.AbstractEclipseJob.run(AbstractEclipseJob.java:101)
>>       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>> 
>> [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for     Del request
>>       Entry : 'm-oid=1.3.6.1.4.1.18060.0.4.3.2.2, ou=attributeTypes, 
>> cn=conference, ou=schema'
>> : ERR_346 Cannot delete the AttributeType 
>> m-oid=1.3.6.1.4.1.18060.0.4.3.2.2, ou=attributeTypes, cn=conference, 
>> ou=schema from the registries, the resulting registries would be 
>> inconsistent : 
>> org.apache.directory.shared.ldap.exception.LdapProtocolErrorException: 
>> ERR_11012 Cannot remove 1.3.6.1.4.1.18060.0.4.3.2.2 for the registries, 
> it 
>> would become inconsistent. The following SchemaOjects are referencing 
> this 
>> SchemaObject : <OBJECT_CLASS,1.3.6.1.4.1.18060.0.4.3.3.2>]
>> 
>> Any ideas why i am getting this error.
>> 
>> 
>> -Manish Kutaula
>> =====-----=====-----=====
>> Notice: The information contained in this e-mail
>> message and/or attachments to it may contain 
>> confidential or privileged information. If you are 
>> not the intended recipient, any dissemination, use, 
>> review, distribution, printing or copying of the 
>> information contained in this e-mail message 
>> and/or attachments to it are strictly prohibited. If 
>> you have received this communication in error, 
>> please notify us by reply e-mail or telephone and 
>> immediately and permanently delete the message 
>> and any attachments. Thank you
>> 
>> 
> 
> 
> 


Mime
View raw message