Cant access mailfile anymore

An user cant access his mailfile anymore,he was working with inotes but needed to compact his mailfile.

For this he contacted me so I could do it on the server (domino). Now the mailfile cant be accessed any more. The console doesn’t show me any activity with the mailfile…

When I try to open the mailfile with the domino administrator I receive the error:

“This database is currently in use by another person or process, and cannot be accessed at this time. In order to share a Notes database, it must be accessed via a Domino Server by all users of the database”

is there any way that I can check if the mailbox is still compacting or busy with something? The user has logged out of inotes, so he isn’t in the mailfile…?

Subject: Shutdown and, if needed - Maintenance Offline

Hi Erik,

I agree that Restarting the Server may be your best option, as it seems the Compact, or another Task, is locking the database. If you need to run Compact on the database, I recommend you do it offline:

  1. Bring your Domino Server down.

  2. Open a command prompt (Start–>Run–>CMD) and Path out to your Domino Data Directory. For example: cd C:"Program Files"\Lotus\Domino\Data

  3. Once you are there, then issue the following command (from the Domino Data Directory):

C:"Program Files"\Lotus\Domino\ncompact.exe -c -i -d mail\username.nsf

I believe those are the correct steps - I hope this helps!

Regards,

-Bob

Subject: Replica

What about creating a new replica from the local one you can open?

Subject: I’m going to try it!

thanx guys! I’m going to try your options!

(I’m a Domino admin for just one month now, so you maybe you see simple questions here but I’m getting there :wink: )

Subject: Solved!

Restarting the server was not a good idea with 300 users online,So I tried sh ta debug, but that didn’t solve the problem.

Then I found a topic here with almost the same problem.

http://www-10.lotus.com/ldd/nd85forum.nsf/5f27803bba85d8e285256bf10054620d/a79f139d3d001b6e852576b20059f041?OpenDocument&Highlight=0,web,access,fixup

that topic :wink:

So I tried on the Domino in the console “Load http quit” and after the quit I typed “Load http”.

Worked like a charm! The mailfile is accessable again!

thanx for all the answers!

Subject: Domino Console cmd

Execute the following Domino Console command to determine if the Database Compactor Task is still processing the Mail-file:

sh ta debug

Subject: what does it tell me?

I’ve run the command, and I see "server for : user… " all kind of users but not the user I’m looking for.

Subject: how to free the file

The mailfile stays untoucheable,I can copy it from the server to my local disk and then open it with my own client. No problem.

But the mailfile on the server cant be opend, or deleted. It keeps giving me that the file is in use.

Is there any way I can “clean” all activities for this mailfile? Stop processes that are accessing it, or disconnect people who are using the file?

Subject: Restart

We have seen that happen before too, back in version 6. And a restart of the domino server was the only solution.

Subject: Purpose of “sh ta debug”

If the Database Compactor Task (i.e. Compact) is still processing the NSF file, then it will be shown within the output of this command. Ultimately, restarting (or shutting-down) the Server will release the locks on the NSF file as suggested in the other thread’s posts.

Subject: Restart

Have you tried to restart domino? I know you may not be able to just shut it down and disrupt other users, but I had a similar issue a while back and finally I just rebooted the whole server and it finally worked.