cannot delete domain

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
User avatar
fferraro87
Advanced member
Advanced member
Posts: 99
Joined: Thu Apr 28, 2016 8:58 am

cannot delete domain

Post by fferraro87 »

Hi,

i'm trying to delete a domain from my zimbra server but i can't because i've that output :
ERROR: account.DOMAIN_NOT_EMPTY (domain not empty: georgie.it (remaining entries: ...))

i've deleted all alias,dl and account related to that domain.
also on remaining entries i've only ... and so i can't see what remains still active on that server.

That's the georgie.it domain output of zmprov gd :

Code: Select all

# name georgie.it
DKIMDomain: georgie.it
DKIMIdentity: georgie.it
DKIMKey: -----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDRpHul5OGuhY8PzhJu9tct+9sCDD96+h3MmmQ+L6G0doS9ilGM
4MbCvVDsLgEjqoM2GWuUn83DGtSZyTacycUSqUcYX0+0vorME5fLP7orV2xjx0r3
qxiFhQDjq/R6+mA/mxRd+XnTaDoKgvXm1aVhhSa1mlhSFq597i5L/jmZeQIDAQAB
AoGBAMXOijC8psjyEkuaaEA1PlGQG1RyVA9oImfkoYMflFdfoN3qvgnMKR6kXM+M
lNyfTdDk6WJB6ncWQNWeSp5jr0K3VxDLdAq4lAkCASiAVd45aHdpsqLBrkwOqh2U
poCy+CgMtc9wS5N0jo6kvy5VUJKn26LX5JBqVrjzBeqi7CIVAkEA9qXUdGCESk/8
Z4fcFioHD+9AocYyw0ZCRdspWxEiRMebuwZYGjd79ZFANrSAmsH4sWqS7fVBmCwz
N/EzGVVGWwJBANmXcvHsVg3niMz8fsc0lL0qzrmGSm/u65aXCDrr3GK+pP1JjNhp
YtxwM2z3NjJZGnCsfOA2gEfVH0GXyrM1r7sCQBQV8xQ7G+rVUq+3r6OabpLMoA3M
jyu52AHKVDbXUVwaiUMUxC32YMDhwEH0NxjjPPZtwGNieqICz3T5znh8qksCQBVT
QYGyTvDH62Fjsa0mWxl7E42dOrhjqxU0MitMKGpJEvR7++DN21GNcYzRYa9nii7W
yNpUnRftLEYKcWRE87cCQCUvKLsCz+frl0TicRPBTzg4qZu9mpJnABCfeiKMba9m
sIiYiqMEbFrKoX/b/WoX5O4siacsTrijlxHYvaWJyQU=
-----END RSA PRIVATE KEY-----

DKIMPublicKey: georgie._domainkey	IN	TXT	( "v=DKIM1; k=rsa; "
	  "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDRpHul5OGuhY8PzhJu9tct+9sCDD96+h3MmmQ+L6G0doS9ilGM4MbCvVDsLgEjqoM2GWuUn83DGtSZyTacycUSqUcYX0+0vorME5fLP7orV2xjx0r3qxiFhQDjq/R6+mA/mxRd+XnTaDoKgvXm1aVhhSa1mlhSFq597i5L/jmZeQIDAQAB" )  ; ----- DKIM key georgie for georgie.it

DKIMSelector: georgie
dc: georgie
o: georgie.it domain
objectClass: dcObject
objectClass: organization
objectClass: zimbraDomain
objectClass: amavisAccount
objectClass: DKIM
zimbraAdminConsoleCatchAllAddressEnabled: FALSE
zimbraAdminConsoleDNSCheckEnabled: FALSE
zimbraAdminConsoleLDAPAuthEnabled: FALSE
zimbraAdminConsoleSkinEnabled: FALSE
zimbraAggregateQuotaLastUsage: 7909841861
zimbraAuthMech: zimbra
zimbraAutoProvBatchSize: 20
zimbraAutoProvNotificationBody: Your account has been auto provisioned.  Your email address is ${ACCOUNT_ADDRESS}.
zimbraAutoProvNotificationSubject: New account auto provisioned
zimbraBasicAuthRealm: Zimbra
zimbraCommunityHomeURL: /integration/zimbracollaboration
zimbraCommunityUsernameMapping: uid
zimbraCreateTimestamp: 20160114090958Z
zimbraDNSCheckHostname: smtp.georgie.it
zimbraDomainAggregateQuota: 0
zimbraDomainAggregateQuotaPolicy: ALLOWSENDRECEIVE
zimbraDomainAggregateQuotaWarnPercent: 80
zimbraDomainDefaultCOSId: c53dc8c1-a5c1-46db-b51f-756d77c430c1
zimbraDomainMandatoryMailSignatureEnabled: FALSE
zimbraDomainName: georgie.it
zimbraDomainStatus: active
zimbraDomainType: local
zimbraExternalShareInvitationUrlExpiration: 0
zimbraFileUploadMaxSizePerFile: 2147483648
zimbraFreebusyExchangeCachedInterval: 60d
zimbraFreebusyExchangeCachedIntervalStart: 7d
zimbraFreebusyExchangeServerType: webdav
zimbraGalAccountId: e7a23b20-8974-4dbd-baa6-655439b83a40
zimbraGalAlwaysIncludeLocalCalendarResources: FALSE
zimbraGalAutoCompleteLdapFilter: externalLdapAutoComplete
zimbraGalDefinitionLastModifiedTime: 20160114090958Z
zimbraGalGroupIndicatorEnabled: TRUE
zimbraGalInternalSearchBase: DOMAIN
zimbraGalLdapAttrMap: (binary) userSMIMECertificate=userSMIMECertificate
zimbraGalLdapAttrMap: (certificate) userCertificate=userCertificate
zimbraGalLdapAttrMap: co=workCountry
zimbraGalLdapAttrMap: company=company
zimbraGalLdapAttrMap: description=notes
zimbraGalLdapAttrMap: displayName,cn=fullName,fullName2,fullName3,fullName4,fullName5,fullName6,fullName7,fullName8,fullName9,fullName10
zimbraGalLdapAttrMap: facsimileTelephoneNumber,fax=workFax
zimbraGalLdapAttrMap: givenName,gn=firstName
zimbraGalLdapAttrMap: homeTelephoneNumber,homePhone=homePhone
zimbraGalLdapAttrMap: initials=initials
zimbraGalLdapAttrMap: l=workCity
zimbraGalLdapAttrMap: mobileTelephoneNumber,mobile=mobilePhone
zimbraGalLdapAttrMap: msExchResourceSearchProperties=zimbraAccountCalendarUserType
zimbraGalLdapAttrMap: objectClass=objectClass
zimbraGalLdapAttrMap: ou=department
zimbraGalLdapAttrMap: pagerTelephoneNumber,pager=pager
zimbraGalLdapAttrMap: physicalDeliveryOfficeName=office
zimbraGalLdapAttrMap: postalCode=workPostalCode
zimbraGalLdapAttrMap: sn=lastName
zimbraGalLdapAttrMap: st=workState
zimbraGalLdapAttrMap: street,streetAddress=workStreet
zimbraGalLdapAttrMap: telephoneNumber=workPhone
zimbraGalLdapAttrMap: title=jobTitle
zimbraGalLdapAttrMap: whenChanged,modifyTimeStamp=modifyTimeStamp
zimbraGalLdapAttrMap: whenCreated,createTimeStamp=createTimeStamp
zimbraGalLdapAttrMap: zimbraCalResBuilding=zimbraCalResBuilding
zimbraGalLdapAttrMap: zimbraCalResCapacity,msExchResourceCapacity=zimbraCalResCapacity
zimbraGalLdapAttrMap: zimbraCalResContactEmail=zimbraCalResContactEmail
zimbraGalLdapAttrMap: zimbraCalResFloor=zimbraCalResFloor
zimbraGalLdapAttrMap: zimbraCalResLocationDisplayName=zimbraCalResLocationDisplayName
zimbraGalLdapAttrMap: zimbraCalResSite=zimbraCalResSite
zimbraGalLdapAttrMap: zimbraCalResType,msExchResourceSearchProperties=zimbraCalResType
zimbraGalLdapAttrMap: zimbraDistributionListSubscriptionPolicy=zimbraDistributionListSubscriptionPolicy
zimbraGalLdapAttrMap: zimbraDistributionListUnsubscriptionPolicy=zimbraDistributionListUnsubscriptionPolicy
zimbraGalLdapAttrMap: zimbraId=zimbraId
zimbraGalLdapAttrMap: zimbraMailDeliveryAddress,zimbraMailAlias,mail=email,email2,email3,email4,email5,email6,email7,email8,email9,email10,email11,email12,email13,email14,email15,email16
zimbraGalLdapAttrMap: zimbraMailForwardingAddress=member
zimbraGalLdapAttrMap: zimbraPhoneticCompany,ms-DS-Phonetic-Company-Name=phoneticCompany
zimbraGalLdapAttrMap: zimbraPhoneticFirstName,ms-DS-Phonetic-First-Name=phoneticFirstName
zimbraGalLdapAttrMap: zimbraPhoneticLastName,ms-DS-Phonetic-Last-Name=phoneticLastName
zimbraGalLdapPageSize: 1000
zimbraGalLdapValueMap: zimbraAccountCalendarUserType: Room|Equipment RESOURCE
zimbraGalLdapValueMap: zimbraCalResType: Room Location
zimbraGalMaxResults: 100
zimbraGalMode: zimbra
zimbraGalSyncLdapPageSize: 1000
zimbraGalSyncMaxConcurrentClients: 2
zimbraGalSyncTimestampFormat: yyyyMMddHHmmss'Z'
zimbraGalTokenizeAutoCompleteKey: and
zimbraGalTokenizeSearchKey: and
zimbraId: 22444fd0-d7a3-470f-a25e-041fbc7f6b82
zimbraInternalSharingCrossDomainEnabled: TRUE
zimbraLdapGalSyncDisabled: FALSE
zimbraMailDomainQuota: 0
zimbraMailSSLClientCertPrincipalMap: SUBJECT_EMAILADDRESS=name
zimbraMailStatus: enabled
zimbraMobileMetadataMaxSizeEnabled: FALSE
zimbraPublicServiceHostname: mail.georgie.it
zimbraReverseProxyClientCertMode: off
zimbraReverseProxyExternalRouteIncludeOriginalAuthusername: FALSE
zimbraWebClientMaxInputBufferLength: 1024
zimbraZimletDataSensitiveInMixedModeDisabled: TRUE

I've installed Release 8.6.0_GA_1153.RHEL6_64_20141215151258 RHEL6_64 NETWORK edition.

Thanks for your support
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: cannot delete domain

Post by DualBoot »

Hello,

what is the full error ?

Code: Select all

ERROR: account.DOMAIN_NOT_EMPTY (domain not empty: georgie.it (remaining entries: ...))
And what do you get when using the command :

Code: Select all

zmprov -l gaa domain_to_delete
Regards,
User avatar
fferraro87
Advanced member
Advanced member
Posts: 99
Joined: Thu Apr 28, 2016 8:58 am

Re: cannot delete domain

Post by fferraro87 »

DualBoot wrote:Hello,

what is the full error ?

Code: Select all

ERROR: account.DOMAIN_NOT_EMPTY (domain not empty: georgie.it (remaining entries: ...))
And what do you get when using the command :

Code: Select all

zmprov -l gaa domain_to_delete
Regards,
that's the full error.

and that's the output of zmprov -l gaa georgie.it

Code: Select all

ERROR: service.FAILURE (system failure: unable to list all objects) (cause: com.zimbra.cs.ldap.LdapException$LdapEntryNotFoundException entry not found - unable to search ldap: no such object)
User avatar
fferraro87
Advanced member
Advanced member
Posts: 99
Joined: Thu Apr 28, 2016 8:58 am

Re: cannot delete domain

Post by fferraro87 »

DualBoot wrote:seems your domain is deleted but the caches are not up to date.
Try to flush all.
how can i do this?
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: cannot delete domain

Post by DualBoot »

seems your domain is deleted but the caches are not up to date.
Try to flush all.
User avatar
fferraro87
Advanced member
Advanced member
Posts: 99
Joined: Thu Apr 28, 2016 8:58 am

Re: cannot delete domain

Post by fferraro87 »

DualBoot wrote:seems your domain is deleted but the caches are not up to date.
Try to flush all.
i've do

Code: Select all

zmprov flushCache all
but nothing i've always same problem. I've also try to restart vm after flush ldap cache
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: cannot delete domain

Post by DualBoot »

Weird, the error you got with

Code: Select all

zmprov -l gaa georgie.it
, you should have got this :

Code: Select all

ERROR: account.NO_SUCH_DOMAIN (no such domain: georgie.it)
You can check if there is still entry related to this domain by dumping your Zimbra LDAP.
Do it with zmslapcat and search into the ldif file.
User avatar
fferraro87
Advanced member
Advanced member
Posts: 99
Joined: Thu Apr 28, 2016 8:58 am

Re: cannot delete domain

Post by fferraro87 »

DualBoot wrote:Weird, the error you got with

Code: Select all

zmprov -l gaa georgie.it
, you should have got this :

Code: Select all

ERROR: account.NO_SUCH_DOMAIN (no such domain: georgie.it)
You can check if there is still entry related to this domain by dumping your Zimbra LDAP.
Do it with zmslapcat and search into the ldif file.
in the bak file there is still georgie.it so now what can i do?
I've to delete on that file all georgie.it references and import this ldap configuration?
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: cannot delete domain

Post by DualBoot »

Hello,

do not delete anything in the dump to import it after.
But now you know there is something related to georgie.it , you should be able to identify it and delete it cleanly with zmprov.
User avatar
fferraro87
Advanced member
Advanced member
Posts: 99
Joined: Thu Apr 28, 2016 8:58 am

Re: cannot delete domain

Post by fferraro87 »

DualBoot wrote:Hello,

do not delete anything in the dump to import it after.
But now you know there is something related to georgie.it , you should be able to identify it and delete it cleanly with zmprov.
ok thanks for your support, i've find out that was still a distribution list.
it's strange because when i try to delete domain when i leave a dl, it tell me that remaining entries is the dl but this time i've only three dots

anyway, thanks for your support
Post Reply