The above can be seen in the log whenever a Compact -C (or DBMT) runs against the database. I have tried everything I can think of to try and get rid of these errors but nothing seems to work. I have tried a new replica, new db copy, Fixup -F -J, Compact -C -D, Updall -R. Whatever I have tried the errors will not go away.
If I try and find the documents via the UNID I just get a "Server Error: Entry not found in Index".
Is there anything I have missed to try and fix this?
You can run fixup offline databases. For example, if you wanted to run fixup offline only on mailfiles (Mail1, Mail2, and so on), do the following
IF transaction logging is on; database is not FT indexed
Running Maintenance on the Database via Command Prompt 1) Shut down your Domino Server. On your server console type: quit 2) Open a command prompt. Start --> Run --> cmd 3) On the Command Prompt, type in the path of your Domino PROGRAM directory. On the command prompt type: cd [program dir] 4) Now you can issue the commands for maintenance. Start with fixup. on the command prompt type: nfixup.exe -J -F [databasename] 5) When the fix up completes run the compact. on the command prompt type: ncompact.exe -c -i -d [databasename] 6) After the Compact completes, run the updall -R on the command prompt type: nupdall.exe -R [database name]
IF transaction logging is not enabled; database FT indexed
Running Maintenance on the Database via Command Prompt 1) Shut down your Domino Server on your server console type: quit 2) Open a command prompt. Start --> Run --> cmd 3)On the Command Prompt, type in the path of your Domino PROGRAM directory. on the command prompt type: cd [program dir] 4)Now you can issue the commands for maintenance. Start with fixup. on the command prompt type: nfixup.exe -F [databasename] 5) When the fix up completes run the compact. on the command prompt type: ncompact.exe -c -i -d [databasename] 6)After the Compact completes, run the updall on the command prompt type: nupdall.exe -R -X [database name]
Just to complement the info provided by Sujit, the message on the Domino console is stating that the fixup command has purged that corrupted documents from the DB, which means that the docs were deleted... so it is expected that you won't be able to find those specific docs on the DB via UNID anymore.
The problem is that everytime a compact -C is run (or DBMT) against this database the same 2 UNID's are shown as puged every single time. If compact did purge the documents I would not expect it to be reported again and again.
Thanks Sujit, thanks for the reminder about running offline, unfortunately I get exactly the same result.
So I shutdown Domino and ran all Fixup, Compact and Updall commands via cmd prompt. Same result...
When I run Compact -C again after the server is restarted I get the same two documents showing as purged, but clearly they are not as they keep alerting every time.
Tried compact -REPLICA with the same result. The same two UNID's are reported as purged. But then when I run a Compact -C, they are reported as purged again.
This problem originated on a Domino 9.0.1 FP10 server. I have since moved the problem database to a Domino 11.0.1 server with exactly the same results.
If DAOS is not enable on the database then please check below settings. Please make sure you DO NOT have DEBUG_REPL_PIRC set. Take this out of your notes.ini's
Also, you can try setting DISABLE_FIXUP_PURGE_INDEX=1 to see if that helps.
You could also try turning off PIRC on selected databases to see if that narrows down the issue.
fixup considers a document with a missing attachment a corrupt note, and will try to purge it. There is no way to tell it not to purge a corrupt note.
Please run maintenance again and see if that works.
Many thanks for the information. After setting DISABLE_FIXUP_PURGE_INDEX=1 and running the Compact -C again there was no further warnings logged. I have also set this value back to 0 and run it again and all looks good. So this appears to have fixed this issue.
Do you have any further info on what DISABLE_FIXUP_PURGE_INDEX does as I could not find any documentation when I searched.
Many thanks for taking the time to reply. I created the view, but unfortunately none of the UNID's mentioned in the Warnings displayed in the view.
I then tried Praveen's solution of adding DISABLE_FIXUP_PURGE_INDEX=1 and running the compact again. This has worked as the warnings are no longer displayed.