When nfslock service is turned off, export ends with an ORA-27086 error when trying to backup on a NFS mounted directory. To resolve this error, the nfslock service must be started.
Error
The error received during export is as follows.
1 2 3 4 5 6 | ORA-39001: invalid argument value ORA-39000: bad dump file specification ORA-31641: unable to create dump file "/export/orcl01.dmp" ORA-27086: unable to lock file - already in use Linux-x86_64 Error: 37: No locks available Additional information: 10 |
Checking the status of the nfslock service:
1 2 | # service nfslock status rpc.statd is stopped |
Starting nfslock service
1 2 | # /etc/init.d/nfslock start Starting NFS statd: [ OK ] |
Then, export will be completed successfully.
You can use the following command to automatically start the nfslock service each time the server starts.
1 | # chkconfig nfslock on |
NOTE: The above commands apply to Red-Hat and derivatives systems. It will differ in other distributions.