Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ORA-06401: NETCMN: invalid driver designator

Posted on 2010-09-24
2
Medium Priority
?
2,517 Views
Last Modified: 2012-05-10
Hi, on one of our Oracle servers, we run nightly backup scripts.  This had been working just fine till about 3 days ago.

Now when I try to back up a database (ex. oracle03) with the code:
exp.exe <username>/<password>@oracle03 file=D:\ORACLE03.dmp log=D:\ORACLE03.log full=Y rows=Y

I get the error message:

EXP-00056: ORACLE error 6401 encountered
ORA-06401: NETCMN: invalid driver designator
EXP-00000: Export terminated unsuccessfully

Yet if I do this command from a different server with the Oracle 9i software installed the command works.

Can someone help troubleshoot me through this?
Thanks,
Jamie
0
Comment
Question by:jamorlando
2 Comments
 
LVL 1

Expert Comment

by:dublicator
ID: 33754305
Try to delete all newline symbols from tnsnames.ora (file in unix format)
¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿¿ ¿¿ tnsnames.ora ¿¿¿¿ ¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿¿, ¿.¿. ¿¿¿¿ ¿¿¿¿¿¿¿¿¿¿¿¿¿ ¿ ¿¿¿¿¿-¿¿¿¿¿¿¿, ¿¿¿ ¿¿¿¿¿ ¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿ - new line.
0
 

Accepted Solution

by:
jamorlando earned 0 total points
ID: 33754479
Someone had replaced the tnsnames.ora with something else.  Weird.  I just updated it, and it works now.  Sorry to have wasted your time.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question