Troubleshooting database restores (UNIX and Windows)
An RMAN restore to one node of a cluster can fail with a status code 39 when the following situation is present:
The NB_ORA_CLIENT is set to the virtual name of the cluster.
The client name is set to the virtual name of the cluster.
To remedy this problem, use the hostname.
More information is available on restores and redirected restores.