SQL loader shows error ORA-12546 TNS:permission denied when I try to run it against a remote database

927 views Asked by At

I'm trying to run sql loader with the following syntax on a remote bbdd:

sqlldr user/[email protected] control=loader_control_file.ctl

(where host.sid is the remote bbdd tnsnames entry) and it gives the following error

SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
ORA-12546: TNS:permission denied

I have the connection configured in my local tnsnames.ora, tnsping resolves the sid and sqlplus connects (and works) correctly so apparently tnsnames setup is good.

I've also tried EZconnect syntax

sqlldr user/password@//host:1521/sid control=loader_control_file.ctl

buts gives the same error

I have no idea of what is wrong here. Any help?

0

There are 0 answers