Domino & Notes error

File is in use by another program

Also seen as: Notes error: File is in use by another program ([file])

Often prefixed with "Notes error:" and followed by the file name. Also appears as rc=268 in full-text indexing log lines.

What it means

The operating system refused access because another process has the file open. It can be an NSF, an index file or a program file.

Common causes

  • Backup or antivirus software scanning or locking the file
  • A second Notes client or a leftover Notes process still running
  • An installer trying to replace a DLL that the running client has loaded
  • Copying or moving the file at operating system level while Domino has it open

Quick fixes

  1. Find the process holding the file with Windows Resource Monitor (or lsof on Linux)
  2. Close Notes completely, end any leftover Notes processes, then retry
  3. Exclude the Domino data, DAOS and transaction log directories from real-time antivirus scanning
  4. Schedule backups so they use Domino-aware backup rather than plain file copies of open databases

Need a hand with this?

Paste your exact message into What's That Error? for a plain-English explanation, or get in touch. I've been supporting Domino and Notes for 28 years.

Disclaimer

The errors, causes and fixes on this site are carefully researched, drawing on HCL documentation and 28 years of hands-on Domino and Notes experience. Every environment is different, though, and a solution that works in one may not be right for yours. Exact wording can also vary between Domino and Notes versions.

This information is general guidance only and is provided without warranty of any kind. Always back up your data and test changes on a non-production system first. To the extent permitted by law, Bruinsma Services Pty Ltd accepts no responsibility or liability for any loss, damage, downtime or other consequence arising from use of this information. For advice specific to your environment, please contact me.