cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to archive all email using evpm.

adam_godwin
Level 3
I need to archive all the mail in a users mailbox. I found and followed document: http://support.veritas.com/docs/275804.

After I perform a "Run Now" on the selected mailbox most of the mail is archived and deleted from the mailbox.

I can not find anything unique with the emails left behind. If i select the emails in Outlook and perform a "Store in Vault" the emails will archive and the original is deleted from the mailbox.

Here is the .ini file I use.


directorycomputername = aua032
sitename = Auburn KVS


name = filter1
CreateShortcut = false
DeleteOriginal = true
unreadMAIL = true
UseInactivityPeriod = true
InactivityUnits = days
InactivityPeriod = 0


distinguishedname = /o=Cooper/ou=AUBURN/cn=Recipients/cn=SDTaylor


name = mailboxroot
filtername = filter1
retentioncategory = e-mail
OverrideArchiveLocks = true
1 ACCEPTED SOLUTION

Accepted Solutions

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
Hey Adam,
I got the dtrace, however it is totally unhelpful. The good news is you are not missing anything! ;)

This is a tough one to troubleshoot, have you opened a support case?

Cheers,

View solution in original post

21 REPLIES 21

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
You could do a dtrace of the agentclientbroker and archive task while you do the run now and that should give you the reason the items are not archived.

Regards,

Paul_Grimshaw
Level 6
Employee Accredited Certified
Are all the mails left unread? If so it will not archive unread mail

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
unreadMAIL = true

the unread part should not be an issue as the filter says to archive unread. Unless it is being picky about the Case of the spelling. The dtrace should give the reason why it is leaving them behind.

Micah_Wyenn
Level 6
Here's a crazy guess as well...run it with the filter set to 1 day instead of zero. See if it grabs them (as I'm sure they've aged by now), and gets the left behind ones. I've seen EVPM do some wonky things in the field and sometimes it just doesn't like zeros. Go figure.

micah

adam_godwin
Level 3
I have not used dtrace before.

What are the settings I should use? And what am I looking for?

Thank You

Adam

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
1. Log on locally to the Vault Server. DTRACE sometimes does not work over Terminal Services.(remote desktop is ok)



2. Launch a CMD prompt



A. Navigate to the install path (typically C:\Program Files\Enterprise Vault\)

B. Type

dtrace (launches dtrace)

view (lists all processes that can be monitored)

set "number of service" v or verbose for here you want to put the number of ArchiveTask, AgentClientBroker, and StorageArchive on seperate lines.

Example if their numbers are 1, 2, and 3.
set 1 v --hit enter
set 2 v --hit enter
set 3 v--hit enter

Then you will type:

log .log (where is your chosen name for the file)



3. Minimize CMD prompt



4. Start process that is giving trouble/failing and let it run



5. After it fails maximize CMD window



A. Type

quit (this will disable tracing)

B. You will be asked

Do you wish to disable all tracing?

C. YES



6. Close CMD prompt



7. Search for .log (Typically will reside in C:\Program Files\Enterprise Vault\)



8. Open the log file and make sure there are entries.

adam_godwin
Level 3
I have created the log file.
I found where a new folder with emails is being scanned to archive. It looks like the emails are skipped because they do not meet the criteria.
Here is a portion of the log

2806316:17:17.093 (ArchiveTask)<4128>EV:H:CArchivingAgent::ProcessMessages() |Entering routine |
2806416:17:17.093 (ArchiveTask)<4128>EV:H:CArchivingAgent::IsEligibleForArchive() |Entering routine |
2806516:17:17.093 (ArchiveTask)<4128>EV:H:CArchivingAgent::IsEligibleForArchive() |Exiting routine |
2806616:17:17.108 (ArchiveTask)<4128>EV:H:CArchivingAgent::IsEligibleForArchive() |Entering routine |
2806716:17:17.108 (ArchiveTask)<4128>EV:H:CArchivingAgent::IsEligibleForArchive() |Exiting routine |
2818016:17:17.171 (ArchiveTask)<4128>EV:H:CArchivingAgent::ProcessMessages() |Exiting routine |

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
Can you post one of the lines that explain why it is not eligible?

Did you trace agentclientbroker as well?

adam_godwin
Level 3
I can not find anything that explains why it is not eligible

This is what I set dtrace to log.

2 - AgentClientBroker Verbose
4 - ArchiveTask Verbose
56 - StorageArchive Verbose

Ric_Harrison
Level 4
Adam,

Have you resolved this at all or come close to a solution?

I having the same issue except my whole Exchange organisation is not getting 'vaulted', I haven't worked out whether it was the new storage group I created, an ms hotfix I installed or moving the service mailbox (which I've since moved back).

Regards

adam_godwin
Level 3
No, I'm still stuck at the same spot.

Have you tried dtrace? I think the answer is in there some where, I just can't see it.


Adam

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
Adam,
what is the messageclass of the items that are left?

Also, you can email me the dtrace file and I will take a look. please send to aws @ macrophage.net

Cheers,

adam_godwin
Level 3
IPM.Note

The log is on its way.

Thanks
Adam

Paul_Grimshaw
Level 6
Employee Accredited Certified
From the DTRACE you can see that there are lines missing from your last eligible and the post process message:-

28067 16:17:17.108 (ArchiveTask) <4128> EV:H :CArchivingAgent::IsEligibleForArchive() |Exiting routine |
28180 16:17:17.171 (ArchiveTask) <4128> EV:H :CArchivingAgent::ProcessMessages() |Exiting routine |

It jumps from 28067 to 28180 so we are missing 113 lines. Clear the excludes from the dtrace by doing the following within the dtrace.
When you have the dt prompt type filter
Your promt should now say dt_filter>
type clear excludes
type filter to go back to DT prompt
Now set the logging and post the extra lines

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
Also dtrace StorageOnlineOPNS in addition to above. I think that will give us what we need.

Cheers,

adam_godwin
Level 3
Tony

i ran another dtrace after clearing the filter and adding the parameter.

nothing is jumping out at me as the issue. may i send this dtrace to you?

thank you
adam

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
sure

Ric_Harrison
Level 4
Adam,

Silly question but have you checked that IPM.Note is selected for archiving?

This can be found, by right-clicking the Directory and click the Advanced tab.

I found that my organisations was unticked.

Ric

adam_godwin
Level 3
IPM
IPM.Document*
IPM.Note*
IPM.Note
IPM.Post*

This is what i have selected.

The archive task leaves behind some IPM.Note, and some of them are archived.

Thanks for your input.

I'm still unable to archive all email using evpm.

Tony, did you receive the log file i sent?

Adam