Sqlplus connection error

Hi there,
I am new to oracle and I just installed Oracle Database 10g express edition and also sqlplus, I am now having the following error login into the oracle database by sqlplus
"Error while trying to retrieve text for error ORA-12154" can you help please, thanks

Please post the exact syntax you used to connect, and the complete error stack you get.
Also, what's your OS ?

Similar Messages

  • Fatal NI connect error 12547/12170

    Hi,
    I am stakk with connection problem on customer Oracle server. Oracle database is installed on Microsoft Windows Server 2012 Standard. Version of Oracle DB is 11.2.0.4 Standard One Edition.
    Oracle database works fine on server. I had no problems/errors while installing (as admin). My user is memer of Local Admin Group. I am also able to connect to it with sqlplus (sqlplus username/password@tns_alias) and SQL Developer.
    Content of tnsnames, listener og sqlnet files are following:
    tnsnames.ora
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =  (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))   )
        (CONNECT_DATA =  (SID = CLRExtProc) (PRESENTATION = RO)  )  )
    SALES =
      (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.9)(PORT = 1521))
      (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sales.company.se)))
    listener.ora
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc) (ORACLE_HOME = D:\oracle\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)  (ENVS = "EXTPROC_DLLS=ONLY:D:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll") )  )
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =      (ADDRESS = (PROTOCOL = TCP)(HOST = servername.company.se)(PORT = 1521))
                                          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))))
    ADR_BASE_LISTENER = D:\oracle
    INBOUND_CONNECTION_TIMEOUT_LISTENER=180
    sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    SQLNET.INBOUND_CONNECT_TIMEOUT = 180
    ADR_BASE = D:\oracle\product\11.2.0\dbhome_1\log
    I am using VPN tunnel to connect to database from my client. I can ping server successfully. TNSPING to database works fine, but I am not able to connect to database. I get an error on client:
    ORA-12537 connection closed error.
    Alert log content is following:
    Fatal NI connect error 12547, connecting to:
    (LOCAL=NO)
      VERSION INFORMATION:
    TNS for 64-bit Windows: Version 11.2.0.4.0 - Production
    Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.4.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.4.0 - Production
      Time: 19-DEC-2013 13:01:47
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12547
    TNS-12547: TNS:lost contact
        ns secondary err code: 12560
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
    opiodr aborting process unknown ospid (88) as a result of ORA-609
    2013-12-19 13:05:28.990000 +01:00
    Fatal NI connect error 12170.
      VERSION INFORMATION:
    TNS for 64-bit Windows: Version 11.2.0.4.0 - Production
    Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.4.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.4.0 - Production
      Time: 19-DEC-2013 13:05:28
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12535
    TNS-12535: TNS:operation timed out
        ns secondary err code: 12606
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
      Client address: <unknown>
    opiodr aborting process unknown ospid (2384) as a result of ORA-609
    2013-12-19 13:44:44.855000 +01:00
    opiodr aborting process unknown ospid (1292) as a result of ORA-609
    2013-12-19 14:30:34.351000 +01:00
    I supposed that connection could use some more time so I set inbound_connection to 180 (3 minutes). Same error.
    Then I turn on support trace. Here is analyzed content:
    server_4424.trc
    Trying to get IP client address results in error. Host IP is not correct.
    [19-DEC-2013 13:42:35:692] nsgetclientaddress: Client address: "(ADDRESS=(PROTOCOL=tcp)(HOST=::1)(PORT=53749))"
    [19-DEC-2013 13:42:35:692] nsgetclientaddress: exit
    [19-DEC-2013 13:42:35:692] nszgclient: entry
    [19-DEC-2013 13:42:35:692] nszgclient: using dedicated context
    [19-DEC-2013 13:42:35:692] nazsgsnm: entry
    [19-DEC-2013 13:42:35:692] nau_genm: entry
    [19-DEC-2013 13:42:35:692] nau_genm: exit
    [19-DEC-2013 13:42:35:692] nazsgsnm: failed with error 12630
    [19-DEC-2013 13:42:35:692] nazsgsnm: exit
    [19-DEC-2013 13:42:35:692] nszgclient: returning no username
    [19-DEC-2013 13:42:35:692] nszgclient: returning no username
    [19-DEC-2013 13:42:35:692] nszgclient: exit
    [19-DEC-2013 13:42:35:692] nszgetuser: entry
    [19-DEC-2013 13:42:35:692] nszgetuser: using dedicated context
    [19-DEC-2013 13:42:35:692] nazsgunm: entry
    [19-DEC-2013 13:42:35:692] nau_gnm: entry
    [19-DEC-2013 13:42:35:692] nau_gnm: exit
    [19-DEC-2013 13:42:35:692] nazsgunm: failed with error 12630
    Getting package from client. And when reached to @ we get EOF (daflag=64)
    [19-DEC-2013 13:42:35:724] nttfprd: exit
    [19-DEC-2013 13:42:35:724] nsbasic_brc: type=6, plen=10
    [19-DEC-2013 13:42:35:724] nsbasic_brc: what=1, tot =10
    [19-DEC-2013 13:42:35:724] nsbasic_brc: packet dump
    [19-DEC-2013 13:42:35:724] nsbasic_brc: 00 0A 00 00 06 00 00 00  |........|
    [19-DEC-2013 13:42:35:724] nsbasic_brc: 00 40                    |.@      |
    [19-DEC-2013 13:42:35:724] nsbasic_brc: Got EOF (daflag=64).
    [19-DEC-2013 13:42:35:724] nserror: entry
    [19-DEC-2013 13:42:35:724] nsbasic_brc: exit: oln=0, dln=0, tot=10, rc=-1
    [19-DEC-2013 13:42:35:724] nioqer: entry
    [19-DEC-2013 13:42:35:724] nioqer:  incoming err = 12151
    [19-DEC-2013 13:42:35:724] nioqce: entry
    [19-DEC-2013 13:42:35:724] nioqce: exit
    [19-DEC-2013 13:42:35:724] nioqer:  returning err = 3113
    [19-DEC-2013 13:42:35:724] nioqer: exit
    [19-DEC-2013 13:42:35:724] nioqrc: exit
    [19-DEC-2013 13:42:35:724] nioqds: entry
    [19-DEC-2013 13:42:35:724] nioqds:  disconnecting...
    Handshake never succeded. Client was trying to read from transport but never succeeded. I assume it is because of wrong or non Client address: "(ADDRESS=(PROTOCOL=tcp)(HOST=::1)(PORT=53749))"
    [19-DEC-2013 13:41:43:803] nscon: doing connect handshake...
    [19-DEC-2013 13:41:43:803] nscon: recving a packet
    [19-DEC-2013 13:41:43:803] nsprecv: entry
    [19-DEC-2013 13:41:43:803] nsprecv: reading from transport...
    [19-DEC-2013 13:41:43:803] nttrd: entry
    [19-DEC-2013 13:44:44:855] nttrd: exit
    [19-DEC-2013 13:44:44:855] ntt2err: entry
    [19-DEC-2013 13:44:44:855] ntt2err: Read unexpected EOF ERROR on 2648
    [19-DEC-2013 13:44:44:855] ntt2err: exit
    [19-DEC-2013 13:44:44:855] nsprecv: error exit
    [19-DEC-2013 13:44:44:855] nserror: entry
    [19-DEC-2013 13:44:44:855] nserror: nsres: id=0, op=68, ns=12535, ns2=12606; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    [19-DEC-2013 13:44:44:855] nscon: error exit
    [19-DEC-2013 13:44:44:855] nsdo: nsctxrnk=0
    [19-DEC-2013 13:44:44:855] nsdo: error exit
    [19-DEC-2013 13:44:44:855] nsinh_hoff: error recving request
    [19-DEC-2013 13:44:44:855] nsclose: entry
    [19-DEC-2013 13:44:44:855] nsvntx_dei: entry
    [19-DEC-2013 13:44:44:855] nsvntx_dei: exit
    [19-DEC-2013 13:44:44:855] nstimarmed: entry
    [19-DEC-2013 13:44:44:855] nstimarmed: no timer allocated
    [19-DEC-2013 13:44:44:855] nstimarmed: normal exit
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: entry
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: ATO disabled for ctx=0x000000001812ED30
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: STO disabled for ctx=0x000000001812ED30
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: RTO disabled for ctx=0x000000001812ED30
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: PITO disabled for ctx=0x000000001812ED30
    [19-DEC-2013 13:44:44:855] nstoUpdateActive: entry
    [19-DEC-2013 13:44:44:855] nstoUpdateActive: Active timeout is -1 (see nstotyp)
    [19-DEC-2013 13:44:44:855] nstoDestroyAlarm: entry
    [19-DEC-2013 13:44:44:855] nstoDestroyAlarm: exit (0)
    [19-DEC-2013 13:44:44:855] nttctl: entry
    [19-DEC-2013 13:44:44:855] ntt2err: entry
    [19-DEC-2013 13:44:44:855] ntt2err: soc -1 error - operation=7, ntresnt[0]=530, ntresnt[1]=38, ntresnt[2]=0
    [19-DEC-2013 13:44:44:855] ntt2err: exit
    [19-DEC-2013 13:44:44:855] nttctl: entry
    [19-DEC-2013 13:44:44:855] ntt2err: entry
    [19-DEC-2013 13:44:44:855] ntt2err: soc -1 error - operation=7, ntresnt[0]=530, ntresnt[1]=38, ntresnt[2]=0
    [19-DEC-2013 13:44:44:855] ntt2err: exit
    [19-DEC-2013 13:44:44:855] nsfull_cls: entry
    [19-DEC-2013 13:44:44:855] nsfull_cls: cid=0, opcode=65, *bl=0, *what=0, uflgs=0x0, cflgs=0x40
    [19-DEC-2013 13:44:44:855] nsfull_cls: nsctx: state=1, flg=0x4000, mvd=0
    [19-DEC-2013 13:44:44:855] nsbfr: entry
    After 180 sec Oracle net sends following message:
    [19-DEC-2013 13:44:44:855] nsclose: normal exit
    [19-DEC-2013 13:44:44:855] nserror: entry
    [19-DEC-2013 13:44:44:855] nserror: nsres: id=0, op=73, ns=12535, ns2=12606; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    [19-DEC-2013 13:44:44:855] nsinherit: error exit
    [19-DEC-2013 13:44:44:855] nioqper:  error from nsinherit: failed...
    [19-DEC-2013 13:44:44:855] nioqper:    ns main err code: 12535
    [19-DEC-2013 13:44:44:855] nioqper:    ns (2)  err code: 12606
    [19-DEC-2013 13:44:44:855] nioqper:    nt main err code: 0
    [19-DEC-2013 13:44:44:855] nioqper:    nt (2)  err code: 0
    [19-DEC-2013 13:44:44:855] nioqper:    nt OS   err code: 0
    [19-DEC-2013 13:44:44:855] niotns: No broken-connection function available.
    [19-DEC-2013 13:44:44:855] niomapnserror: entry
    [19-DEC-2013 13:44:44:855] niqme: entry
    [19-DEC-2013 13:44:44:855] niqme: reporting NS-12535 error as ORA-12535
    [19-DEC-2013 13:44:44:855] niqme: exit
    [19-DEC-2013 13:44:44:855] niomapnserror: exit
    [19-DEC-2013 13:44:44:855] niotns: Couldn't connect, returning 12170
    [19-DEC-2013 13:44:44:855] nioqer: entry
    [19-DEC-2013 13:44:44:855] nioqer:  incoming err = 12170
    [19-DEC-2013 13:44:44:855] nioqce: entry
    [19-DEC-2013 13:44:44:855] nioqce: exit
    [19-DEC-2013 13:44:44:855] nioqer:  returning err = 3136
    Firewall is off on Server. Network administrator says that there is no rules which could compromise communication/traffic on port 1521. I tried trcroute too and I get following conntent
    1     27ms      22 ms     17ms       192.168.97.1
    2      *         *        *          request aborted
    3     20 ms     18 ms     18 ms      server.company.se (192.168.1.9)
    Any suggestion, help or comments would be appriciated. I am running out of ideas.
    Tnx a lot,
    adi

    The error could be due to a port change/reconnect/redirect that fails.
    The problem: Listener.exe is a separate physical process image in the kernel as the Oracle.exe process. The Listener needs to start an Oracle dedicated server process (created by the Listener as a remote thread in the oracle.exe process). Then it needs to pass the socket handle (created when the Listener accepted the tcp connection of the client) to this thread in another physical process - in order for that thread to continue tcp comms with the client.
    This is not by default supported in Windows as I understand (always wrote a single threaded exe myself with the main thread acting as listener and child threads as dealing with client sessions, when developing Win32 tcp servers).
    On Unix/Linux it is fairly common  to pass the socket handle as stdin and stdout to a forked child process (a separate physical process).
    If the socket handle cannot be passed from the listener.exe to oracle.exe, then the oracle.exe thread could open a private port as tcp listening end-point and inform, via the Listener, the client to reconnect to that tcp port (i.e. SQL*Net on client gets a redirect).
    You will need to determine whether this is happening - as it would explain the initial successful tcp connect from client to Listener, followed by the tcp connection failing to the Oracle dedicated server process.
    Not sure how one checks on Windows - have last done Oracle on Windows back with Oracle 7.1. But I think there are support notes on this.
    I would use netstat myself on Linux/Unix - and list the ports used by client and server for the connection, and determine if a private/dynamic port was used to continue the client-server tcp communication as a renegotiated tcp session. netstat is also available on Windows and can be used in a similar fashion too.

  • Connection Error in OBIEE but nowhere else

    I have a 10g database & a separate 11g database installed in separate Oracle Homes on a single machine. I've made the necessary entries to the tnsnames and listener.ora files to successfully connect to both of these 2 databases from SqlPlus, Toad and SQL Developer. However, when I'm in OBIEE 10.1.3.4 and attempt to import a table from either the 10g database or the 11g database using the OCI 10g/11g connection type, I get the error:
    +'ORA-12154 TNS could not resolve the connect identifier specified'+
    How is it that I can get this error only in OBIEE and not in SqlPlus, Toad and SQL Developer? Thanks.

    Thanks for your replies. I'm running Vista 64 which I upgraded a few weeks ago from Vista Home Premium to Vista Ultimate. Both the 10g and 11g Oracle Clients are installed.
    So I'm now seeing what I need to look into. On this 64 bit machine I have separate 64 bit & 32 bit ODBC Drivers. It seems that the upgrade to Vista Ultimate screwed up these odbc drivers as I get errors when trying to connect from EXCEL. ACCESS, OBIEE using ODBC. Also, in an unsuccessful attempt to connect a 32 bit app (SIMBA), I installed a 32 bit 11g 'Instant Client' and copied over files from the 32 bit ODBC Instant Client download. These generate connection errors too.
    I guess the clearest task I have is to figure out how to restore / reinstall OCI Drivers and ODBC Drivers for both 64 bit and 32 bit. Focusing on the 11g database, do I simply uninstall and then reinstall the 11g client? Will that take care of both 64 & 32 bit odbc & OCI drivers?
    This post now falls clearly outside of an OBIEE problem but any suggestions are appreciated.

  • Oracle 8i Lite Sqlplus connections

    Hi
    I am trying to run 2 concurrent sqlplus connections in Oracle 8i lite ... it works fine ... if I dont make any changes to database. But Once I commit the changes .... I am not able to make any more connections ....it gives OCA-30017 "Error Loggin on to non-oracle database" and fails connecting to oracle 8i lite. I am using the standard ODBC driver (Oracle Lite) to connect to sqlplus. Please help !!!
    Thanks
    Prabhu.

    I am using Windows 2000 Professional and I am experiencing the same problem. I can connect to the POLITE database from Oracle8 Navigator and Oracle ODBC 32bit Test but not from SQL*Plus. Here is what I see:
    Connected to:
    Oracle Open Client Adapter for ODBC 6.0.5.29.0
    Oracle Lite ORDBMS 4.0.1.0.7
    SQL> connect system/mgr@odbc:POLite
    Server not available or version too low for this feature
    Connected.
    SQL> connect system/mgr
    ERROR:
    ORA-12203: TNS:unable to connect to destination
    Warning: You are no longer connected to ORACLE.
    Should I try to upgrade my Open Client Adapater (OCA)? Could it be something with my PATH? How can I set up the default TNS to connect to POLITE? Any suggestions?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Floyd Teter ([email protected]):
    George,
    Try the following host string: ODBC:POLITE
    Lite typically uses the SID of POLite for installation of the default database, so this host string should do the trick. If not, drop me an email and we'll work through it together.
    Hope this helps!
    FMT
    <HR></BLOCKQUOTE>
    null

  • Net8 Connection Error

    I am using the Migration Assistant for MS Access (version 8.1.5)
    to migrate a database from Access 97 to Oracle 8i. At the
    Provide Oracle Connection Information Page of the Assistant, I
    get a Specifying Net8 Connection Error.
    So my question is what should I be putting in the Net8
    Connection box to make this work?
    Thanks for your help.
    Cynthia Savage
    null

    Cynthia,
    Here is an email giving example configuration files with
    some description of them (names changed from customer names):
    Mr. Blue
    Here are example configuration files for
    Database SID V716 (alias name V716)
    Machine ierm5
    .ie ie is the domain name
    protocol sqlnet v2 tcp protocol adapter
    ORACLE_HOME /home3/ora716
    listener tcp port number 2022
    (community name tcp_com)
    [I created these files with the 716 version of netman, oracle has
    newer tools
    available]
    files:
    ./tcp_com_ie [this directory is for the clients]
    ./tcp_com_ie/tnsnames.ora
    ./tcp_com_ie/sqlnet.ora
    ./ierm5_ie [this directory is for the server]
    ./ierm5_ie/listener.ora
    ./ierm5_ie/tnsnames.ora
    ./ierm5_ie/sqlnet.ora
    Because of the different SID ,alias , machine name and oracle
    home these files
    will not work on your machine, on this machine;
    I copy the client files to another machine, and set the TNS_ADMIN
    environment
    variable on both machines,
    make sure oracle, lsnrctl , tnslsnr and the client side
    executeable
    (eg sqlplus) are linked with sqlnet v2 tcp protocol adapter.
    <startup server database>
    start up server listener
    lsnrctl start
    when this is up and listening
    sqlplus scott/tiger@V716 on the client machine should connect.
    If you have any questions please contact me,
    Mr. Black
    P.S. The netman generated *.ora files follow
    tcp_com_ie (this is for clients)
    tcp_com_ie/tnsnames.ora :::::::::::::::::::::::
    # Filename......: tnsnames.ora
    # Name..........: LOCAL_REGION.world
    # Date..........: 26-JUN-95 08:52:57
    V716.ie =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp_com.ie)
    (PROTOCOL = TCP)
    (Host = ierm5.ie)
    (Port = 2022)
    (CONNECT_DATA =
    (SID = V716)
    (GLOBAL_NAME = V716.ie)
    tcp_com_ie/sqlnet.ora :::::::::::::::::::::::::
    # Filename......: sqlnet.ora
    # Name..........: tcp_com.ie
    # Date..........: 26-JUN-95 08:52:57
    AUTOMATIC_IPC = ON
    TRACE_LEVEL_CLIENT = OFF
    SQLNET.EXPIRE_TIME = 0
    NAMES.DEFAULT_DOMAIN = ie
    NAME.DEFAULT_ZONE = ie
    SQLNET.CRYPTO_SEED = "77703457783395"
    ierm5_ie (this is for server)
    ierm5_ie/listener.ora :::::::::::::::::::::::::
    # Filename......: listener.ora
    # Name..........: ierm5.ie
    # Date..........: 26-JUN-95 08:52:57
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= V716.ie)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= V716)
    (ADDRESS =
    (COMMUNITY = tcp_com.ie)
    (PROTOCOL = TCP)
    (Host = ierm5.ie)
    (Port = 2022)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = V716)
    (ORACLE_HOME = /home3/ora716)
    ierm5_ie/tnsnames.ora :::::::::::::::::::::::::::::::
    # Filename......: tnsnames.ora
    # Name..........: LOCAL_REGION.world
    # Date..........: 26-JUN-95 08:52:57
    V716.ie =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp_com.ie)
    (PROTOCOL = TCP)
    (Host = ierm5.ie)
    (Port = 2022)
    (CONNECT_DATA =
    (SID = V716)
    (GLOBAL_NAME = V716.ie)
    ierm5_ie/sqlnet.ora :::::::::::::::::::::::::::::::
    # Filename......: sqlnet.ora
    # Name..........: ierm5.ie
    # Date..........: 26-JUN-95 08:52:57
    AUTOMATIC_IPC = ON
    TRACE_LEVEL_CLIENT = OFF
    SQLNET.EXPIRE_TIME = 0
    NAMES.DEFAULT_DOMAIN = ie
    NAME.DEFAULT_ZONE = ie
    SQLNET.CRYPTO_SEED = "77703457783395"
    Forwarded message:
    From Mr. Black Fri Jun 23 15:35:50 1995
    Subject: sqlnetv2 configuration
    To: Mr. Blue
    Date: Fri, 23 Jun 95 15:35:50 BST
    Cc: Mr. X
    X-Mailer: ELM [version 2.3 PL11]
    Mr. Blue,
    It is hard for me to make any inroads on the problem with the
    information
    in the mail, but the problem is likely to be a configuration
    one.
    There are also configuration utilities but they may not do quite
    what you want.
    Short list of things that could be wrong:
    Host names incorrect
    Listener port numbers confused
    database names incorrect.
    Database not up
    Listener not up
    sqlnet tcp v2 not installed
    executables (eg oracle sqlplus lsnrctl tnslsnr)
    not relinked with sqlnetv2 and sqlnet tcp v2
    (use adapters command ie adapters <executable name>)
    domain name in sqlnet.ora confused with internet domain name
    different tnsnames.ora and sqlnet.ora being used due
    to different ORACLE_HOME ...
    note SID and SERVICE_NAME seem to be the same thing.
    Regards,
    Mr. Black
    In your case what I can suggest is:
    (SERVICE_NAME = trial.ftidc2.dc.ftinet.com)use
    (SERVICE_NAME = trial)
    TRIAL.DC.FTI-NET.COM =
    (DESCRIPTION =use this only if DC.FTI-NET.COM is referenced in your sqlnet.ora
    file otherwise use what is used there:
    NAMES.DEFAULT_DOMAIN = USE_THIS
    NAME.DEFAULT_ZONE = USE_THIS
    then use
    TRIAL.USE_THIS =
    (DESCRIPTION =
    your connection should be
    sqlplus username/password@TRIAL
    or TRIAL in the connection box
    [you will probably get better error feedback from sqlplus]
    Hope that helps,
    Turloch,
    Oracle Migration Team
    Cynthia Savage (guest) wrote:
    : Dear OMWT:
    : Thanks for the prompt response I tried your suggestion and I
    : still get the same error. So here is a copy of my tnsnames
    : file. Hopefully, you will be able to figure out where I am
    : still going wrong.
    : TRIAL.DC.FTI-NET.COM =
    : (DESCRIPTION =
    : (ADDRESS_LIST =
    : (ADDRESS = (PROTOCOL = TCP)(HOST =
    fti-dc2.dc.fti-net.com)
    : (PORT = 1521))
    : (CONNECT_DATA =
    : (SERVICE_NAME = trial.ftidc2.dc.ftinet.com)
    : Cynthia Savage
    : Oracle Migration Workbench Team wrote:
    : : In your ORACLE_HOME\Network\Admin directory you should have a
    : : tnsnames.ora file which contains Net8 connect entries for the
    : : Oracle Instances you may have either on your local machine or
    : on
    : : another machine on the network
    : : For example, in my tnsnames.ora file I have a Net8 connect
    : string
    : : as follows:
    : : IEDMD631.IE.ORACLE.COM =
    : : (DESCRIPTION =
    : : (ADDRESS_LIST =
    : : (ADDRESS = (PROTOCOL = TCP)(HOST = iedmd631)(PORT =
    : 1521))
    : : (CONNECT_DATA =
    : : (SERVICE_NAME = iedmd631)
    : : Within the access wizard I type in IEDMD631 for the Net8
    : Connect
    : : string.
    : : In this example, IEDMD631 is my machine name.
    : : Regards,
    : : Marie
    : : ===
    : : Cynthia Savage (guest) wrote:
    : : : I am using the Migration Assistant for MS Access (version
    : : 8.1.5)
    : : : to migrate a database from Access 97 to Oracle 8i. At the
    : : : Provide Oracle Connection Information Page of the
    Assistant,
    : I
    : : : get a Specifying Net8 Connection Error.
    : : : So my question is what should I be putting in the Net8
    : : : Connection box to make this work?
    : : : Thanks for your help.
    : : : Cynthia Savage
    : : Oracle Technology Network
    : : http://technet.oracle.com
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Instant client 10.2.0.2 - Solaris 32 bit - sqlplus relocation error

    Did anyone use the sqlplus that comes with Instant Client 10.2.0.2 - Solaris 32 bit to connect to a remote Oracle database?
    I am unable to get it working.
    More info below:
    I unpacked these two packages onto my Solaris 9 box into a directory called /space/OracleClient10g/instantclient_10_2
    a) instantclient-basic-solaris32-10.2.0.2-20060303.zip
    b) instantclient-sqlplus-solaris32-10.2.0.2-20060303.zip
    I have set the following environment variables (csh):
    setenv ORACLIENT /space/OracleClient10g/instantclient_10_2
    setenv LD_LIBRARY_PATH "$ORACLIENT":"$LD_LIBRARY_PATH"
    set path = ($ORACLIENT $path)
    setenv SQLPATH $ORACLIENT
    setenv TNS_ADMIN $ORACLIENT
    setenv NLS_LANG AMERICAN_AMERICA.UTF8
    The tnsnames.ora file is in the $TNS_ADMIN directory and it has the tns entry that I need.
    When I run sqlplus using the tnsentry, I get a "relocation error" as below:
    $ sqlplus user1/pwd1@tnsentry
    ld.so.1: sqlplus: fatal: relocation error:
    file /space/OracleClient10g/instantclient_10_2/libsqlplus.so: symbol
    lnxqebc_chars: referenced symbol not found
    (The same tns entry is used from a different Solaris 9 machine where I have a full Oracle 9i client installed and sqlplus connects fine using this tns entry - so I do not think there is anything wrong with this tns entry. Besides, the error message that I am getting when I run sqlplus can be reproduced even by simply running 'sqlplus' without any arguments. )
    When I do an 'ldd' on sqlplus, every library needed by sqlplus is loaded correctly.
    $ ldd /space/OracleClient10g/instantclient_10_2/sqlplus
    libsqlplus.so => /space/OracleClient10g/instantclient_10_2/libsqlplus.so
    libclntsh.so.10.1 => /space/OracleClient10g/instantclient_10_2/libclntsh.so.10.1
    libnnz10.so => /space/OracleClient10g/instantclient_10_2/libnnz10.so
    libkstat.so.1 => /usr/lib/libkstat.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libgen.so.1 => /usr/lib/libgen.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libsched.so.1 => /usr/lib/libsched.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libaio.so.1 => /usr/lib/libaio.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    librt.so.1 => /usr/lib/librt.so.1
    libmd5.so.1 => /usr/lib/libmd5.so.1
    /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
    /usr/platform/SUNW,Ultra-Enterprise/lib/libmd5_psr.so.1
    Any ideas on the cause of this error?

    I'd say that there is a problem loading the shared library libsqlplus.so.
    Try 'ldd /space/OracleClient10g/instantclient_10_2/libsqlplus.so' and see which libraries are referenced.
    It seems like they are all found, but at least one of them is missing an entry that should be there.
    - Trace sqlplus with 'strace' or 'truss' (I don't know which of the two exists on Solaris) to
    find out which library has the problem.
    - Check the versions and compare them with the versions required by the installation guide for the Oracle client.
    Yours,
    Laurenz Albe

  • MAIL USING PL/SQL PROCEDURE TCP CONNECTION ERROR

    I was trying to send an e-mail using the demo-mail helper package which uses UTL_SMTP package and on execution, it gives the following TCP Connection error. Is it some something to do with mail configuration?
    This is the sample code I was trying to run.
    demo_mail.mail( sender => 'Me <[email protected]>',
    recipients => 'Someone <[email protected]>, ' ||
    '"Another one" <[email protected]>',
    subject => 'Test', message => 'Hi! This is a test.');
    And this is the error I am getting.
    class oracle/plsql/net/TCPConnection does not exist
    at "SYS.UTL_TCP", line 537
    at "SYS.UTL_TCP", line 199
    at "SYS.UTL_SMTP", line 102
    at "SYS.UTL_SMTP", line 121
    at "VNARAYA.DEMO_MAIL", line 159
    at "VNARAYA.DEMO_MAIL", line 119
    at "VNARAYA.DEMO_MAIL", line 105
    at "VNARAYA.SEND_MAIL", line 2
    at line 1

    The Java library needed by UTL_TCP is not created properly. You may just run $ORACLE_HOME/rdbms/admin/initplsj.sql as SYS to install it:
    cd $ORACLE_HOME/rdbms/admin
    sqlplus sys/<sys-password> @initplsj.sql

  • Repository Connection Error: Causes and Solution?

    Hi All-
    We are facing the following error frequently when working with OWB client 11gR2:-
    Repository Connection Error: The connection to the repository was lost, because of the following database error: Closed Connection.
    Exit OWB without commiting
    Can anyone of you help us understand the root cause and possible solution for the same?

    First you need to check is are you able to connect to the same user form Sqlplus.
    Cheers
    Nawneet

  • Sqlplus connection command

    I have a database installed on my machine.I created an entry in tnsnames.ora. entry name is "test"
    I'm able to connect to it using sql developer.
    I'm able to connect to my database using sql plus locally:
    sqlplus user/pass@testhowever, I'm not able to connect using locally:
    sqlplus user/pass@//IP:port/sidgot error:
    ORA-12154: TNS:could not resolve the connect identifier specified
    from another machine,I'm able to connect to database using 2nd sqlplus connection command.
    Why was that? why the same command does not work on my local mahicne?
    also, I tried to connect to others database on others machine, the sqlplus command is not working either although connection works in sql developer.
    seems something wrong with my sql plus.

    my bad, the connection information in the command was wrong
    please ignore this.

  • Batch file / SQLPLUS automation Error message

    All,
    I have a batch file process that runs my sql script in sqlplus. I have error handling / whenever statements in the sql script. I ran into an issue when the database admin accidently changed my directory path for one of my scripts. The script failed, however it did not send me an email. I want to get an email if the path name for the script is incorrects. When I run the batch file manually with an incorrect path, the process hangs. It logs into sqlplus. Once it cannot find the file, I can find a way to exit sqlplus and send a error code back to the batch file. Below is the batch file. I also want to be notified if I can't connect to the database or the login/password is incorrect. As long as the directory is fine and the tns names and database are fine the code runs. I just want to capture the error if it does not run. Can someone help me?
    Note: If file does not exist, I can capture the error. However, the batch file hangs. I want to go the the next step and email the content of the captured error.
    sqlplus command line:
    SQLPLUS -s xxxx/xxxx@database @C:\test_error\test_error.sql > C:\test_error\sql_logs\%SortDate%_sql_log_file1.txt 2>&1
    Batch file:
    @ECHO on
    VERIFY ON
    SET SortDate=%date%
    :START_SQL
    SQLPLUS -s xxxx/xxxx@database @C:\test_error\test_error1.sql > C:\test_error\sql_logs\%SortDate%_sql_log_file1.txt 2>&1
    IF %ERRORLEVEL% == 0 GOTO SQL_SUCESSFUL
    IF %ERRORLEVEL% NEQ 0 GOTO SQL_ERROR
    :SQL_ERROR
    echo "THE SQL SCRIPT FAILED!!!"
    c:\bmail -s 0.0.0 -t [email protected] -f [email protected] -h -a "THE SQL SCRIPT FAILED!!!" -m C:\test_error\sql_logs\%SortDate%_sql_log_file1.txt -c
    GOTO END
    :SQL_SUCESSFUL
    ECHO "SQL WAS SUCESSFUL"
    c:\test_error\test_dribble_merger_perl.pl > C:\test_error\perl_logs\%SortDate%_PERL_ERROR.log 2>&1
    IF %ERRORLEVEL% == 0 GOTO PERL_COMPLETE
    IF %ERRORLEVEL% NEQ 0 GOTO PERL_ERROR
    GOTO End
    :PERL_ERROR
    echo "THE PERL SCRIPT FAILED!!!"
    c:\bmail -s 0.0.0 -t [email protected] -f [email protected] -h -a "THE PERL SCRIPT FAILED!!!" -m C:\test_error\perl_logs\%SortDate%_PERL_ERROR.log -c
    GOTO END
    :PERL_COMPLETE
    ECHO "PERL WAS SUCESSFUL. PROCESS COMPLETE"
    GOTO End
    :END
    Thanks,
    CC

    Hi Experts,
    I also have the same scenario.
    if i gave invalid tnsname it disconnects from the sqlplus connection but the output errorlevel is 0 which should be 1 as there was an error
    echo before %errorlevel% >>abc.txt
    (echo whenever oserror exit FAILURE
    ) | sqlplus scott/tiger@[email protected] >>abc.txt
    echo after %errorlevel% >>abc.txt
    if i give invalid tnsname also,
    For me after gives 0.
    which is not correct
    how to identify is the sqlplus returned without any error?

  • Sqlplus connect in 8i

    hi everybody ...
    i am using windows platform and oracle 8i database.
    when ever i try to start sqlplus i get ORA -01033 error which means that now i will have to login as "SYSDBA" and shut down database properly...
    my problem is not this error ...its actually connecting with sqlplus from cmd.
    i have tried a lot of methods and still i am unable to login through sqlplus ...
    tried almost every command...
    how ever when i try to login as
    -> sqlplus /nolog
    i am connected but i cant shut down db because of insufficent priviliges ...
    except this what ever i write which includes sysdba,sysoper
    it does not connect and gives suggestion for sysntax ...
    any guidance will be highly appreciated ...
    regards !

    did you try
    sqlplus /nolog
    sqlplus> connect sys as sysdba
    sqlpllus> shutdown immediate
    ?

  • Data Federator data source not available causes Universe Connection error

    I created a Data Federator project that connects to 20 servers across US and Canada.  All data sources are SQL Server 2005.  The DF project maps 40 source objects into 4 target objects.  I created a universe based on the DF project and we have been quite pleased with Webi query response.  Today one of the source servers was taken off line and this generated a connection error when trying to access the universe (not trying to access the data source that failed).  We do not want the universe connection to error when one source server is not available u2013 is that possible?
    If the answer is no then I see us abandoning what appears to be a great solution for real time distributed reporting and resorting to ETL and moving data.

    Hi Chapman,
    Can you be little elobrate on what you have done to solve the issue.
    Thanks,
    Dayanand

  • RFC connection Error in SLDCheck

    Hi All,
    I am trying to logon to Integration builder for that i getting the ESR builder address is not maintain. for this i have chk in SLDCheck t code ,there i am getting LCRSAPRFC connection error.I have test the RFC connection in that i am getting the
    the error in register server program
    Error Details     ERROR: program LCRSAPRFC_XID not registered
    now wht i have to do for troubleshooting
    Regards

    Thanx  for reply
    when I test connection to  Connection Test SLD_UC     error
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: program SLD_UC not registered
    Error Details     LOCATION: SAP-Gateway on host sapdevpi / sapgw00
    Error Details     DETAIL: TP SLD_UC not registered
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 62
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1778
    Error Details     RETURN CODE: 679
    Error Details     SUBRC: 0
    Error Details     RELEASE: 701
    Error Details     TIME: Fri Jan  8 11:05:42 2010
    Error Details     VERSION: 2
    RFC SLD_UC is connection T 
    Gateway Host  sapdevpi
    Gateway server  sapgw00
    same error with
    Connection Test SLD_NUC
    Connection Test SAPSLDAPI   ( program Id SAPSLDAPI_DPI )
    Connection Test SAPJ2EE
    In Connection Test LCRSAPRFC error  program id LCRSAPRFC_DPI
    Logon     Cancel
    Error Details     max no of 100 conversations exceeded / CPIC-CALL: 'ThSAPCMRCV' : cmRc=17 thRc=45
    Error Details     ERROR: max no of 100 conversations exceeded
    Error Details     LOCATION: CPIC (TCP/IP) on host sapdevpi
    Error Details     COMPONENT: CPIC (TCP/IP) with Unicode
    Error Details     COUNTER: 82
    Error Details     MODULE: r3cpic_mt.c
    Error Details     LINE: 10791
    Error Details     RETURN CODE: 466
    Error Details     SUBRC: 0
    Error Details     RELEASE: 701
    Error Details     TIME: Fri Jan  8 11:12:56 2010
    Error Details     VERSION: 3
    Regards
    shahid

  • RFC connection error between Netweaver 7 EHP1 and Ides ECC6

    Hi Friends,
    I try to create  source system  in BI from Netwever EHP1 to IDES ECC6 EHP3.
    During the creation I get a connection error, says. check connction parameter.
    I checked the parameter, everything is fine. Server, System and number.
    When I went to the SM59 and created a connction.
    I.E. with the same parameter like system = 06 and server = compi9 gave client 800 etc.
    The Host name is resolved to 192.168.2.111 wich is OK.
    But when I run the connection test it shows me  "ERROR: partner '80.156.86.78:sapgw06' not reached"
    I have no idea where this IP '80.156.86.78" is comming from.
    No Problem with the opposite way, from Ides to NW and login to the System is OK too.
    Can anybody help me with this problem.
    RG. Jimbob

    Hi,
    What is the next screen that comes up when you click on remote logon.
    If no screen comes up then:
    Check the user type of the user id used for this RFC.
    It should be either dialog or service user for able to remote login.
    If it open a new window and asks for password, then its excatly password issue.
    Also make sure that the password is in numeric and correct.
    Also make sure that the current user check box is unchecked.
    Even if it dosent work, delete the connection and create again.
    Please award points if helps.
    Thanks
    Santhosh

  • RFC connection Error

    Dear All,
        when i connect our BI System to R/3 system via RFC in SM59 ,i am getting following error in BI system and also The problem occur  in particular instance .(Other instance working fine in BI system)
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host chwslp05 / sapgw01
    Error Details     DETAIL: no connect of TP sapdp15 from host sapp3b.eame.syngenta.org after 20 s
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 162003
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1973
    Error Details     RETURN CODE: 242
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Mon Apr 27 14:29:33 2009
    Error Details     VERSION: 2
    Any one please suggest.
    Thanks,
    Thirumoorthy.

    mostly your gateway servicve is not working check smgw tcode on that instance
    you can do this goto sm59->select the instace execute tcode smgw
    easy way is restart the instance
    it will start working
    Samrat

Maybe you are looking for