How do I fix the output file?
Answer: The docs note this on the ORA-0002
error, a generic file write problem:
EXP-00002: error in
writing to export file
Cause: Export could not
write to the export file, probably because of a device error. This message is
usually followed by a device message from the operating system.
Action: Take appropriate
action to restore the device.
This EXP-00002 error is hardware related, and you need to see the accompanying OS message to see details. This EXP-00002 error is common when the expdp writing has filled the
destination output file, as defined in the parfile. Check the output file name in your export parameter file,
and see the space usage.
This can also happen on 32-bit servers when the file size
exceeds two gigabytes, requiring the use of the split command to separate the
exp output onto multiple files.
The EXP-00002 can also occur if the directory permissions are wrong, and do not allow writing into the diectory.