Domino & Notes error

Error writing to process file pid.nbf, Server exiting: Cannot write or create file (file or disk is read-only)

Mostly seen on Linux, AIX and other UNIX platforms.

What it means

At start-up Domino could not write pid.nbf, the file it uses to track its own processes, so it stopped.

Common causes

  • The server was once started as root, leaving files in the data directory that the Domino user cannot write
  • Wrong ownership or permissions on the data directory
  • The file system is full or mounted read-only
  • Another program holding a lock on the file

Quick fixes

  1. Always start the server as the Domino user, never as root
  2. Back up first, then correct the ownership and permissions of the data directory for the Domino user
  3. Check free space and that the volume is mounted read-write
  4. Restart the server and watch the console for any other file errors

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.