From users-return-3924-apmail-directory-users-archive=directory.apache.org@directory.apache.org Tue Jun 14 08:54:52 2011 Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AFF066F67 for ; Tue, 14 Jun 2011 08:54:52 +0000 (UTC) Received: (qmail 901 invoked by uid 500); 14 Jun 2011 08:54:52 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 878 invoked by uid 500); 14 Jun 2011 08:54:52 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 870 invoked by uid 99); 14 Jun 2011 08:54:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 08:54:52 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prvs=139032103=manish.kutaula@tcs.com designates 121.242.48.3 as permitted sender) Received: from [121.242.48.3] (HELO inblrg01.tcs.com) (121.242.48.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 08:54:45 +0000 X-IronPort-AV: E=Sophos;i="4.65,363,1304274600"; d="scan'208";a="46799031" X-DISCLAIMER: FALSE In-Reply-To: <8E7F5632-5CD7-43D6-998E-D551EA1FEE1A@marcelot.net> References: <8E7F5632-5CD7-43D6-998E-D551EA1FEE1A@marcelot.net> To: users@directory.apache.org MIME-Version: 1.0 Subject: Re: unable to delete custom schema from apacheds X-KeepSent: 8202CAF7:BC9D58B8-652578AF:0030CD15; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.2FP1 November 30, 2010 Message-ID: From: Manish Kutaula Date: Tue, 14 Jun 2011 14:24:08 +0530 X-MIMETrack: Serialize by Router on InBlrM14/TCS(Release 8.5.2FP1|November 29, 2010) at 06/14/2011 14:24:10, Serialize complete at 06/14/2011 14:24:10 Content-Type: multipart/alternative; boundary="=_alternative 0030E72B652578AF_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 0030E72B652578AF_= Content-Type: text/plain; charset="US-ASCII" 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 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 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 : ]; 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 : ] > > 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 > > --=_alternative 0030E72B652578AF_=--