[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2560
  • Last Modified:

ORA-06401: NETCMN: invalid driver designator

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
jamorlando
Asked:
jamorlando
1 Solution
 
dublicatorCommented:
Try to delete all newline symbols from tnsnames.ora (file in unix format)
¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿¿ ¿¿ tnsnames.ora ¿¿¿¿ ¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿¿, ¿.¿. ¿¿¿¿ ¿¿¿¿¿¿¿¿¿¿¿¿¿ ¿ ¿¿¿¿¿-¿¿¿¿¿¿¿, ¿¿¿ ¿¿¿¿¿ ¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿ - new line.
0
 
jamorlandoAuthor Commented:
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

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now