My Oracle Support Banner

Commadmin Domain Purge Fails with Error: "5079:The resource removal utility for each service must be run before domain can be purged." (Doc ID 1411396.1)

Last updated on MARCH 01, 2019

Applies to:

Oracle Communications Delegated Administrator - Version 7.0.0 and later
Information in this document applies to any platform.

Symptoms

Product version involved:

Delegated Administrator 7.0-3.00 (B2010-07-15)

While purging a domain with the Delegated Administrator command-line utility commadmin domain purge, it fails with the error message:

5079:The resource removal utility for each service must be run before domain can be purged.

The correct steps to purge a domain were followed per Removing Users, Groups, and Services from a Domain.

For example:

# cd /opt/sun/comms/da/bin
# ./commadmin domain delete -D <LOGIN ID> -w <PASSWORD> -n <LOGIN DOMAIN> -d <DNS DOMAIN NAME> -S mail,cal,im
OK
##################################################################################
# ./commadmin domain delete -D <LOGIN ID> -w <PASSWORD> -n <LOGIN DOMAIN> -d <DNS DOMAIN NAME>
OK
##################################################################################
# ./commadmin domain search -D <LOGIN ID> -w <PASSWORD> -n <LOGIN DOMAIN> -d <DNS DOMAIN NAME>
OK
dn: o=<DOMAIN>,o=isp
icstimezone: Europe/Lisbon
mailAccessProxyPreAuth: no
sunnumusers: 0
icsstatus: deleted
o: <DOMAIN>
sunnumgroups: 0
objectclass: organization
objectclass: icscalendardomain
objectclass: sunmanagedorganization
objectclass: sunismanagedorganization
objectclass: sunnamespace
objectclass: inetdomainauthinfo
objectclass: maildomain
objectclass: sundelegatedorganization
objectclass: top
sunRegisteredServiceName: UserCalendarService
sunRegisteredServiceName: DomainMailService
sunRegisteredServiceName: DomainCalendarService
sunRegisteredServiceName: UserMailService
sunRegisteredServiceName: GroupCalendarService
sunRegisteredServiceName: GroupMailService
preferredLanguage: pt
modifyTimestamp: 20120201112146Z
createTimestamp: 20110521082429Z
inetDomainStatus: deleted
sunorgtype: full
creatorsName: cn=directory manager
preferredmailhost: <HOSTNAME>
sunnamespaceuniqueattrs: uid
modifiersName: uid=admin,ou=people,o=<DOMAIN>,o=isp
dn: o=<DOMAIN>,o=isp
mailDomainStatus: deleted
sunenablegab: false
sunpreferreddomain: <DOMAIN>
##################################################################################
# /opt/sun/comms/messaging64/lib/msuserpurge -v -d <DOMAIN> -g 0
Grace period: 0 days
============================================================================
Domain Name : <DOMAIN>
mailDomainStatus: deleted
inetDomainStatus: deleted
----------------------------------------------------------------------------
User Name mailUser inetUser Modified Time Action
------------------------------ ---------- ---------- --------------- -------
----------------------------------------------------------------------------
total: 0 | deleted: 0 | purged: 0 | pending: 0 | error: 0
##################################################################################
# /opt/sun/comms/calendar/SUNWics5/cal/sbin/csclean -v -g 0 clean <DOMAIN>

CLEANING DOMAIN <DOMAIN>
##################################################################################
# ./commadmin domain purge -D <LOGIN ID> -w <PASSWORD> -n <LOGIN DOMAIN> -d <DNS DOMAIN NAME> -g 0 -S mail,cal,im
OK
##################################################################################
# ./commadmin domain purge -D <LOGIN ID> -w <PASSWORD> -n <LOGIN DOMAIN> -d <DNS DOMAIN NAME> -g 0 -v
[Debug]: DBG:Object = domain ; task = purge
[Debug]: default domain from Properties: <DOMAIN>
[Debug]: IShost from Properties: <HOSTNAME>
[Debug]: ISPort from Properties: <PORT>
[Debug]: Contacting : http://<HOSTNAME>:<PORT>/commcli/auth
[Debug]: To servlet: domain=<DOMAIN>&username=<LOGIN ID>&password=<PASSWORD>&charsetenc=UTF-8
[Debug]: cookie => JSESSIONID=6AD0AABCA8889A473630CF9115BDC7C6; Path=/commcli ; HttpOnly
[Debug]: RECV: OK
[Debug]: RECV: OK
[Debug]: RECV: dn: uid=<USERID>, ou=People, o=<DOMAIN>,o=isp
[Debug]: RECV: nsroledn: cn=Top-level Admin Role,o=isp
[Debug]: RECV:
[Debug]: DBG: before getobjtaskargs
[Debug]: In getObjTaskArgs for: domain; purge
[Debug]: Contacting : http://<HOSTNAME>:<PORT>/commcli/climap
[Debug]: Sending to servlet: task=purge&object=domain
[Debug]: getObjTaskArgs Status: 0
[Debug]: Number of servlets: 1
[Debug]: Servlet Name: TaskManager
[Debug]: Servlet args: task=PurgeDomain
[Debug]: Servlet args: objecttype=Domain
[Debug]: Valid Options Array: 4
d, true, *, true, true, [search_op]domain pattern, search_op=~=, =,!=,>=, or <=, domain, ,
S, true, , false, true, service(s) to be purged, services, ,
g, true, 10, false, true, grace period (days), purgegrace, ,
r, false, , false, true, recursively delete subentries, recursive=yes, ,
[Debug]: DBG: getObjTaskArgs done
[Debug]: servInfo len = 1
[Debug]: argVal =<DOMAIN>
[Debug]: servCommand =task=PurgeDomain&objecttype=Domain&domain=<DOMAIN>
[Debug]: argVal =0
[Debug]: servCommand =task=PurgeDomain&objecttype=Domain&domain=<DOMAIN>&purgegrace=0
[Debug]: Contacting : http://<HOSTNAME>:<PORT>/commcli/TaskManager
[Debug]: To servlet: task=PurgeDomain&objecttype=Domain&domain=<DOMAIN>&purgegrace=0
[Debug]: RECV: FAIL
[Debug]: RECV: 5079:The resource removal utility for each service must be run before domain can be purged.
[Debug]: CLITask: status returned =FAIL
FAIL
5079:The resource removal utility for each service must be run before domain can be purged.

[Debug]: DBG: doOne returned code=6
[Debug]: Contacting : http://<HOSTNAME>:<PORT>/commcli/logout
[Debug]: Logout ...

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.