SDLO: Garbage Collection is running successful, however space is not reclaimed.

book

Article ID: 100066378

calendar_today

Updated On:

Description

Error Message

05/04/2024, 20:42:15:846, 5740, 16416, [Info ],"Java_com_middleware_commons_utility_GarbageCollection_deleteFile: File name = \\ServerName\domain-Username\ComputerName\1\01\01\CF01, user name = domain\dedupe_username."

05/04/2024, 20:42:15:877, 5740, 16416, [Error],"DDLogonUser: LogonUser failed. --- [GetLastError()]: Logon failure: the user has not been granted the requested logon type at this computer., 1385"

05/04/2024, 20:42:15:877, 5740, 16416, [Error],"Java_com_middleware_commons_utility_GarbageCollection_deleteFile: LogonUser failed."

05/04/2024, 20:42:15:877, 5740, 16416, [Error],"Java_com_middleware_commons_utility_GarbageCollection_deleteFile: Failed to delete file, Error: 24013."

Cause

The Dedupe User Account doesn't have the required privileges to delete the file from the Dedupe Storage Location (DSL) due to below permission not properly granted to the user.

  • Allow Log On Locally
  • Log On as a Service
  • Log On as a Batch Job
  • Act as part of the operating system

 

Resolution

Make sure the Dedupe User account should have the below privileges from the Domain Controller Group Policy Object (GPO) and in the Local Security Policy of the workstations and servers. 

  • Allow Log on locally
  • Log on as a service
  • Log on as a batch job
  • Act as part of the operating system

For more information on this user rights, refer to: 
http://technet.microsoft.com/en-us/library/cc780182(WS.10).aspx 
http://technet.microsoft.com/en-us/library/dd349804(v=ws.10).aspx

Steps to add the account to the Default Domain Controller Security Policy is given below:

  • Login to the server as an Administrator or Domain Administrator.
  • Click on Start. Go to Administrative Tools->Group Policy Management. This would open the Group Policy Management Console.
  • In the Group Policy Management Console, expand Domains and then Domain Controllers; then select the 'Default Domain Controllers Policy'.
  • Right click on the 'Default Domain Controllers Policy' and click on Edit.... This would open the Group Policy Management Editor.
  • In the 'Default Domain Controllers Policy', Go to Computer Configuration->Policies->Windows Settings->Security Settings->Local Policies and select 'User Rights Assignment'. On the right pane, under Policy select 'Allow Log on locally'. Make sure to add the Dedupe User into this policy. 
  • Do the same thing on Log on as batch job and Log on as service and Act as part of operating system.

 

  • Also, make sure that the account is not part of the Deny logon as a batch job policy in the Windows Domain Controller Security Policy. If it is part of it, then remove it.
  • After making the above changes, close the Group Policy Management Editor and then close the Group Policy Management Console.
  • To update the changes to the policy, the following command needs to be run from the command prompt:- 

                             gpupdate /force 

Please go through the following Microsoft document for more details about the gpupdate command. 
http://technet.microsoft.com/en-us/library/bb490983.aspx

 

Issue/Introduction

Garbage Collection is not able to reclaim space even though it's successful.