Error writing pathname errno = number.

Cause

The operating system cannot write to pathname. Number is the number of the operating-system error that was returned.

Action

Investigate the cause of the operating-system error. Usually it means that no space is available for the file. It might also mean that the directory does not exist or that no write permissions exist.