SQLLDR run command line fails: ORA-03114: not connected to ORACLE
We moved our db (11.2.0.3) to a new server (VM) and cannot get sql loader direct load to run for a non-oracle db owner account without specifying a connection string (@DB). I have the environment set up correctly for this user and can connect to the database via sqlplus.
sqlldr dba1 control=test.ctl direct=yes <==FAILS
Password:
SQL*Loader: Release 11.2.0.3.0 - Production on Fri May 17 13:00:32 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
SQL*Loader-925: Error while uldlfca: OCIStmtExecute (ptc_hp)
ORA-03114: not connected to ORACLE
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
sqlldr dba1@DB control=test.ctl direct=yes <==SUCCESSFUL
Password:
SQL*Loader: Release 11.2.0.3.0 - Production on Fri May 17 12:59:11 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.