Forum Discussion

yarg's avatar
yarg
Level 4
12 years ago

Access denied when trying to delete archives

Hi,

I've got an old EV8 environment from which I am unable to delete archives.  I get 6643 events logged, saying:
Delete Vault failed
Reason: Access is denied.  [0x80070005] 

I don't see why this should happen though, since I'm logged in as the vault service account, that account is a member of local admins and local admins has full control over the disk where the vault store group is.  I've run dtrace to try and determine exactly which file it was trying to access in generating the error, but unfortunately it doesn't seem to give that level of detail.  Here's an extract of the log:

473 13:16:45.178 [7472] (StorageDelete) <6792> EV:L CStorageSession::~CStorageSession (Entry) |
474 13:16:45.178 [7472] (StorageDelete) <6792> EV:M CStorageSession::~CStorageSession (Exit) |
475 13:16:46.756 [7472] (StorageDelete) <4904> EV:H VaultCoCreateInstanceEx: An error occurred - RequestedServerName = [server.domain.org], UsedServerName = [servername], hrCCI = [0x80070005], hrResultsQI = [0x80004005], NumTried = [6], bLocalMachine = [True]
476 13:16:46.756 [7472] (StorageDelete) <4904> EV~E Event ID: 6643 Delete Vault failed |Reason: Access is denied.  [0x80070005] |Vault Name: Username ABC [2007-05-05 - 2011-07-05] |Vault Store: Exchange Vault Store |Vault Id: 1FEE6BF6FA38DBE41B3DD4A1643DCEF231110000EVSite |
477 13:16:46.756 [7472] (StorageDelete) <4904> EV:M CDeleteVault::DeleteArchive (Exit) |Delete Vault failed   Reason: %1   Vault Name: %2   Vault Store: %4   Vault Id: %3      [0xc00419f3] |
478 13:16:46.756 [7472] (StorageDelete) <4904> EV:L CDeleteVault::ProcessQueueItems Error: Failed to delete a queue item havingItemType : [0] Item Name : [Username ABC [2007-05-05 - 2011-07-05]] Item EntryId: [1FEE6BF6FA38DBE41B3DD4A1643DCEF231110000EVSite] Error Code: [0xC00419F3]
479 13:16:46.756 [7472] (StorageDelete) <4904> EV:L CDeleteVault::ProcessQueueItems Information: Processing deletion queue item having ItemType : [0] Item Name : [Username XYZ [2007-05-12 - 2011-07-08]] Item EntryId: [1FAE88B7CBAFB8A4CAAD2CB2B5870A5431110000EVSite]
480 13:16:46.756 [7472] (StorageDelete) <4904> EV:L CDeleteVault::DeleteArchive (Entry) |
481 13:16:46.756 [7472] (StorageDelete) <4904> EV:H CDeleteVault::DeleteArchive|Deleting Archive | Archive Name: Username XYZ [2007-05-12 - 2011-07-08]| Vault Store Name: Exchange Vault Store
485 13:16:46.756 [7472] (StorageDelete) <4904> EV:M CDeleteVault::InitVSBDConnection (Entry) VaultStoreEntryId = [16EE40FE4EDBCA64B8A90AE27CB64367C1210000EVSite]
486 13:16:46.756 [7472] (StorageDelete) <4904> EV:L CDeleteVault::InitVSBDConnection Information:No new VSDB connection needed as current VSEntryId = [16EE40FE4EDBCA64B8A90AE27CB64367C1210000EVSite] and input VSEntryId = [16EE40FE4EDBCA64B8A90AE27CB64367C1210000EVSite]
487 13:16:46.756 [7472] (StorageDelete) <4904> EV:M CDeleteVault::InitVSBDConnection (Exit). hr=Success  [0]
488 13:16:46.756 [7472] (StorageDelete) <4904> EV:M CDeleteVault::EmptyArchive (Entry) ArchiveEntryId = [1FAE88B7CBAFB8A4CAAD2CB2B5870A5431110000EVSite] VaultStoreEntryId = [16EE40FE4EDBCA64B8A90AE27CB64367C1210000EVSite]
489 13:16:46.756 [7472] (StorageDelete) <4904> EV:L CVaultStoreDB::GetSavesetCountByArchive Information: ArchiveEntryId = [1FAE88B7CBAFB8A4CAAD2CB2B5870A5431110000EVSite]
490 13:16:46.756 [7472] (StorageDelete) <4904> EV:L CVaultStoreDB::GetSavesetCountByArchive Information: SavesetCount = [0]  LowRange = [0] HiRange = [0] ArchivePointIdentity = [147]
491 13:16:46.756 [7472] (StorageDelete) <4904> EV:L CDeleteVault::EmptyArchive Information: Archive having name = [1FAE88B7CBAFB8A4CAAD2CB2B5870A5431110000EVSite] and entryId = [Username XYZ [2007-05-12 - 2011-07-08]] is already empty.
492 13:16:46.756 [7472] (StorageDelete) <4904> EV:M CDeleteVault::EmptyArchive (Exit). hr=Success  [0]
493 13:16:46.756 [7472] (StorageDelete) <4904> EV:M CDeleteVault::DeleteArchive|Archive emptied
495 13:16:46.756 [7472] (StorageDelete) <4904> EV:M CBaseDirectoryServiceWrapper::CreateDirectoryService() - Entry [m_nNumTries = 40]
496 13:16:46.756 [7472] (StorageDelete) <4904> EV:L CBaseDirectoryServiceWrapper::CreateDirectoryService() - Successfully communicated with an EV Directory Service on the local machine
497 13:16:46.756 [7472] (StorageDelete) <4904> EV:M CCIndexBrokerPtr::FindIndexingMachine ArchiveEID: 1FAE88B7CBAFB8A4CAAD2CB2B5870A5431110000EVSite ==> Computer Name: server.domain.org (hr=Success  [0])
498 13:16:46.756 [7472] (StorageDelete) <4904> EV:M VaultCoCreateInstanceEx: IsLocalMachineExtendedCheck returned true for server [server.domain.org]  as the IP Address matched that of the local machine
499 13:16:49.788 [7472] (StorageDelete) <4904> EV:H VaultCoCreateInstanceEx: An error occurred - RequestedServerName = [server.domain.org], UsedServerName = [servername], hrCCI = [0x80070005], hrResultsQI = [0x80004005], NumTried = [6], bLocalMachine = [True]
500 13:16:49.788 [7472] (StorageDelete) <4904> EV~E Event ID: 6643 Delete Vault failed |Reason: Access is denied.  [0x80070005] |Vault Name: Username XYZ [2007-05-12 - 2011-07-08] |Vault Store: Exchange Vault Store |Vault Id: 1FAE88B7CBAFB8A4CAAD2CB2B5870A5431110000EVSite |
501 13:16:49.788 [7472] (StorageDelete) <4904> EV:M CDeleteVault::DeleteArchive (Exit) |Delete Vault failed   Reason: %1   Vault Name: %2   Vault Store: %4   Vault Id: %3      [0xc00419f3] |
502 13:16:49.788 [7472] (StorageDelete) <4904> EV:L CDeleteVault::ProcessQueueItems Error: Failed to delete a queue item havingItemType : [0] Item Name : [Username XYZ [2007-05-12 - 2011-07-08]] Item EntryId: [1FAE88B7CBAFB8A4CAAD2CB2B5870A5431110000EVSite] Error Code: [0xC00419F3]
503 13:16:49.788 [7472] (StorageDelete) <4904> EV:L CDeleteVault::ProcessQueueItems Information: Processing deletion queue item having ItemType : [0] Item Name : [Username LMN [2007-05-12 - 2011-07-13]] Item EntryId: [1F42C93BDE4778443A8D9A571FA60AECA1110000EVSite]
504 13:16:49.788 [7472] (StorageDelete) <4904> EV:L CDeleteVault::DeleteArchive (Entry) |
505 13:16:49.788 [7472] (StorageDelete) <4904> EV:H CDeleteVault::DeleteArchive|Deleting Archive | Archive Name: Username LMN [2007-05-12 - 2011-07-13]| Vault Store Name: Exchange Vault Store
509 13:16:49.788 [7472] (StorageDelete) <4904> EV:M CDeleteVault::InitVSBDConnection (Entry) VaultStoreEntryId = [16EE40FE4EDBCA64B8A90AE27CB64367C1210000EVSite]
510 13:16:49.788 [7472] (StorageDelete) <4904> EV:L CDeleteVault::InitVSBDConnection Information:No new VSDB connection needed as current VSEntryId = [16EE40FE4EDBCA64B8A90AE27CB64367C1210000EVSite] and input VSEntryId = [16EE40FE4EDBCA64B8A90AE27CB64367C1210000EVSite]
511 13:16:49.788 [7472] (StorageDelete) <4904> EV:M CDeleteVault::InitVSBDConnection (Exit). hr=Success  [0]
512 13:16:49.788 [7472] (StorageDelete) <4904> EV:M CDeleteVault::EmptyArchive (Entry) ArchiveEntryId = [1F42C93BDE4778443A8D9A571FA60AECA1110000EVSite] VaultStoreEntryId = [16EE40FE4EDBCA64B8A90AE27CB64367C1210000EVSite]
513 13:16:49.788 [7472] (StorageDelete) <4904> EV:L CVaultStoreDB::GetSavesetCountByArchive Information: ArchiveEntryId = [1F42C93BDE4778443A8D9A571FA60AECA1110000EVSite]
514 13:16:49.788 [7472] (StorageDelete) <4904> EV:L CVaultStoreDB::GetSavesetCountByArchive Information: SavesetCount = [0]  LowRange = [0] HiRange = [0] ArchivePointIdentity = [153]
515 13:16:49.788 [7472] (StorageDelete) <4904> EV:L CDeleteVault::EmptyArchive Information: Archive having name = [1F42C93BDE4778443A8D9A571FA60AECA1110000EVSite] and entryId = [Username LMN [2007-05-12 - 2011-07-13]] is already empty.
516 13:16:49.788 [7472] (StorageDelete) <4904> EV:M CDeleteVault::EmptyArchive (Exit). hr=Success  [0]

Any suggestions please on how to get these archives deleted?

Thanks!
G

 

  • So while I was digging around in the System logs, I noticed "Plug and play" events which indicated disk issues.  I ran chkdsk /F, rebooted and let it do it's thing (it did find a number of errors and fixed them).  When I logged in and launched the Vault console, it had correctly deleted these 30 or so archives, so it seems to have been related to these disk issues.

    Thanks for trying to help!
    G

13 Replies