TNS:no listener error with dblink

I am able to connect to oracle database 10g machine from other machine with oracle 8i then I have create dblink in 8i machine but when I am accessing 10G database it is giving me error
for example select count(*) from t_cons@orcl
ORA-12541: TNS:no listener
is it a version issue or something else?

Thanks Dushyant.
following is the result of query
SQL> select value from v$parameter where name='global_names';
VALUE
TRUE
SQL> select global_name from global_name;
GLOBAL_NAME
JBPONM.US.ORACLE.COM
one thing I have noticed that when I am connecting to database server with same
hostname & dbname then there is no problem but when hostname & dbname is
different then it is not connecting through dblink.
I have gone through oracle doc but no where it is mentioned that both should be same.

Similar Messages

  • ORA-12541: TNS:no listener, (error, in oracle 11g for window 7, 64 bit)

    ORA-12541: TNS:no listener, error, in oracle 11g for window 7, 64 bit
    While connecting as localhost is pretty well.
    but command: sqlplus username@'192.168.52.178:1521/orcl' on the same machine is producing above mentioned error on oracle 11g for window 7, 64 bit.

    user11225434 wrote:
    Thax sir for your kind concern of my problem. Answers of your quaries regarding my question as follows
    lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 05-AUG-2013 09:37
    :21
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                05-AUG-2013 09:31:09
    Uptime                    0 days 0 hr. 6 min. 22 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\eee\product\11.2.0\dbhome_5\network\admin\liste
    ner.ora
    Listener Log File         c:\app\eee\diag\tnslsnr\eee-THINK\listener\alert\log.x
    ml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.52.170)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orclxe" has 1 instance(s).
      Instance "orclxe", status READY, has 1 handler(s) for this service...
    Service "orclxeXDB" has 1 instance(s).
      Instance "orclxe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    # listener.ora Network Configuration File: C:\app\eee\product\11.2.0\dbhome_5\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\eee\product\11.2.0\dbhome_5)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\eee\product\11.2.0\dbhome_5\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.52.170)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\eee
    3. My ip is static 192.168.52.170 and window 7 prof. is there.
    4. Sir i have tested the remote connection with firewall configuration is off.
    Hopefully this info is useful.
    but command: sqlplus username@'192.168.52.178:1521/orcl'
    NOTE the difference in IP#s above; 192.168.52.170 vs. 192.168.52.178

  • Connect to Oracle through ODBC - TNS: No Listener Error

    Hi All,
    I've been trying to chase this problem down for over a month now and I have had no luck. When I try to connect to an Oracle server through MS Access I get the TNS: No Listener error. The kicker is when I go to the odbc data source administrator in windows I am able to connect to the oracle server. My computer is windows 2007 and I have Oracle 11.2 installed. Could anyone assist?
    When I type lsnrctl start in the command prompt it says it has been already started.
    Here is my tnsnames.ora:
    ORMANRPT.WORLD=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=bspz1565.bhdc.att.com)
    (PORT=1521)
    (CONNECT_DATA=
    (SID=ORMANRPT)
    Here is my sqlnet.ora:
    AUTOMATIC_IPC = OFF
    TRACE_LEVEL_CLIENT = OFF
    names.directory_path = (TNSNAMES)
    names.default_domain = world
    name.default_zone = world
    names.default_domain=world
    here is my listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\cb260e\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\cb260e\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\cb260e

    1009773 wrote:
    I used this computers IP and name. Is this what my listener should look like?
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\cb260e\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\cb260e\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = 144.158.355.240)(HOST = ilcdf44v.itservices.ms.com)(PORT = 1521))Line above is WRONG!
    I suggest you move, remove, rename, delete or otherwise move the listener.ora file out of the way.
    listener.ora is NOT required to start or utilize the listener
    open Command Window after doing as directed above then issue the OS commands below
    lsnrctl stop
    lsnrctl start
    lsnrctl status
    # now wait 60+ seconds before issuing the next command below
    lsnrctl service
    COPY the results from all above, then PASTE all results back here.

  • TNS:No listener error: Please help me

    Hi all,
    I have installed Oracle 10g in my laptop.few weeks back i was able to work on that. But today when i tried to connect to my database(im using Toad) i am getting TNS:No Listener error.
    I checked in Listener.ORA file also. All seems to be fine.
    What could be the probelm?? Can anyone pls help me in this regard?
    Thanks in advance.
    Raghu

    Hi,
    check whether listener is Up and running or not.
    Use lsnrctl and check for status
    Thanks
    Pavan Kumar N

  • Listener error with dg4odbc and mysql

    Hi all,
    First of all, sorry for my English, I'm learning :-)
    I'm trying to create a dblink from oracle to mysql, but for now this seems impossible. I have read lots of manuals and post, but no way. I can connect to remote mysql server with "isql my_portal", so, unixodbc and the mysql driver for odbc are working in the server.
    The oracle database 10.2 is installed in a Red Hat 64 bits server. Due to hsodbc for 10.2 is only for 32bit i installed the gateway version for 11g without problems (no errors showed, so...) But I have always the same error: "TNS-12541: TNS:no listener dg4odbc" But my configuration seems correct. Can anyone find the error in my config? Thank you
    This is the documentation that I have used:
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=561033.1
    After apply the modifications to the configuration files, this is what lsnrcntl start says:
    Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/liste ner.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/srv-bbdd1/listener/alert/lo g.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=1.0.2.42)(PORT=1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=cl-oracle.jferrer.es)(PO RT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 16-MAR-2011 10:54:38
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/list ener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/srv-bbdd1/listener/alert/ log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=1.0.2.42)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "SQLServerA3" has 1 instance(s).
    Instance "SQLServerA3", status UNKNOWN, has 1 handler(s) for this service...
    Service "dbjde" has 1 instance(s).
    Instance "dbjde", status UNKNOWN, has 1 handler(s) for this service...
    Service "my_portal" has 1 instance(s).
    Instance "my_portal", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Then I try tnsping to my_portal:
    tnsping:
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 16-MAR-2011 11:36:45
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = localhost) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = my_portal)) (HS=OK))
    TNS-12541: TNS:no listener
    Some information:
    - unixodbc driver is in /usr/lib64 (libodbc.so)
    - mysql for odbc driver is in /usr/lib64 (libmyodbc.so)
    This is my odbc.ini (/etc/odbc.ini):
    [ODBC Data Sources]
    odbcname = my_portal
    [my_portal]
    Description = my_portal
    Driver = MySQL
    SERVER = 1.0.2.98
    PORT = 3306
    USER = root
    PASSWORD = desarrollo
    Database = portal_clientes
    [MySQL]
    Description=ODBC for MySQL
    Driver=/usr/lib64/libmyodbc.so
    Setup=/usr/lib64/libodbcmyS.so
    Added to listener.ora
    (SID_DESC =
    (SID_NAME = my_portal)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = dg4odbc)
    (ENVS = LD_LIBRARY_PATH=/u01/app/oracle/product/10.2.0/db_1/hs/lib:/u01/app/oracle/product/10.2.0/db_1/lib:/usr/lib64)
    Added to tnsnames.ora
    my_portal =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = localhost)
    (PORT = 1521)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = my_portal))
    (HS=OK))
    initmy_portal.ora
    HS_FDS_CONNECT_INFO=my_portal
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
    HS_FDS_TRACE_LEVEL=ON
    UseCursorLib=0
    set ODBCINI=/etc/odbc.ini

    Thank you for the response. The problem was the solved when change the 1.2.0.40 to 42 :-)
    Another issue I saw is your ORACLE_HOME - did you install DG4ODBC in your 10.2 OH?Yes, the documentation said that is certified to work with Oracle 10.2.0.4 that is our version, is this a problem? (¿...?) I had no problem to install dg4odbc with the universal installer.
    But I have another problems now. I can't remember the exact error, but my first problem was solved adding this line to initmy_portal.ora:
    HS_FDS_QUOTE_IDENTIFIER="'"
    Now, when I try to make a select oracle returns this:
    ORA-00942: la tabla o vista no existe
    [MySQL][ODBC 3.51 Driver][mysqld-5.1.41-3ubuntu12.10]Table 'portal_clientes.CLIENTES' doesn't exist {42S02,NativeErr = 1146}[MySQL][ODBC 3.51 Driver][mysqld-5.1.41-3ubuntu12.10]Table 'portal_clientes.CLIENTES' doesn't exist {42S02,NativeErr = 1146}
    ORA-02063: 2 lines precediendo a MY_PORTAL_DBLINK
    The table exists, I'm sure, and if I change the query to other tables the result is the same: the table doesn't exist. Any idea?
    Thank you for the help

  • TNS: connection closed error with SQL*net

    Hi all,
    I've got a new installation of Oracle 11.1.0.6.0 enterprise (Linux). It works fine with direct sqlplus connections but I'm having problems with SQL*net and JDBC thin client connections.
    The database is built correctly and works fine:
    user@cthulhu bash[61]: sqlplus user/pwd
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 4 12:59:53 2008
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    TNS for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SQL>
    but if I try to connect using SQL*net I get errors. I have my TNS listener configured and it starts without errors, reporting the database as a service, and tnsping is fine:
    user@cthulhu bash[62]: tnsping cthulhu_mar
    TNS Ping Utility for Linux: Version 11.1.0.6.0 - Production on 04-AUG-2008 13:02:07
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.2.30)(PORT=1521)) (CONNECT_DATA=(SID=mar)))
    OK (10 msec)
    user@cthulhu bash[63]: sqlplus user/pwd@cthulhu_mar
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 4 13:02:41 2008
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    ERROR:
    ORA-12537: TNS:connection closed
    Enter user-name:
    In listener.log:
    Mon Aug 04 13:02:41 2008
    04-AUG-2008 13:02:41 * (CONNECT_DATA=(SID=mar)(CID=(PROGRAM=sqlplus)(HOST=cthulhu)(USER=marbur))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.30)(PORT=41754)) * establish * mar * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Linux Error: 32: Broken pipe
    This is a new instance of Oracle so there is no problem with listener.log being too large (as I've seen elsewhere). I've also tried increasing PROCESSES and SESSIONS in the initSID.ora file without any impact. The listener ports are open through the firewall (and disabling it temporarily makes no difference).
    Any suggestions?!
    Thanks, Matt

    This means nothing to me, but it could to someone else......
    from listener trace:
    2008-08-04 16:19:05.135381 : nlpcaini:env[161] = OLDPWD=/u01/app/oracle/product/11.1.0/db_1
    2008-08-04 16:19:05.135407 : nlpcaini:env[162] = ORA_NET2_DESC=12,15
    2008-08-04 16:19:05.135432 : nlpcaini:env[163] = ORACLE_SPAWNED_PROCESS=1
    2008-08-04 16:19:05.135465 : nlpcaini:exit
    2008-08-04 16:19:05.135498 : nsc2addr:normal exit
    2008-08-04 16:19:05.135536 : nsbeqaddr:entry
    2008-08-04 16:19:05.135566 : nsbeqaddr:connecting...
    2008-08-04 16:19:05.135603 : nsopen:entry
    2008-08-04 16:19:05.135633 : nsmal:entry
    2008-08-04 16:19:05.135667 : nsmal:1012 bytes at 0x81a8538
    2008-08-04 16:19:05.135694 : nsmal:normal exit
    2008-08-04 16:19:05.135722 : nsopenmplx:entry
    2008-08-04 16:19:05.135749 : nsmal:entry
    2008-08-04 16:19:05.135779 : nsmal:2020 bytes at 0x81a8930
    2008-08-04 16:19:05.135804 : nsmal:normal exit
    2008-08-04 16:19:05.135831 : nsiorini:entry
    2008-08-04 16:19:05.135861 : nsbal:entry
    2008-08-04 16:19:05.135889 : nsbgetfl:entry
    2008-08-04 16:19:05.135918 : nsbgetfl:normal exit
    2008-08-04 16:19:05.135966 : nsmal:entry
    2008-08-04 16:19:05.135995 : nsmal:84 bytes at 0x81b3dd8
    2008-08-04 16:19:05.136020 : nsmal:normal exit
    2008-08-04 16:19:05.136057 : nsbal:normal exit
    2008-08-04 16:19:05.136085 : nsiorini:exit (0)
    2008-08-04 16:19:05.136112 : nscpxget:entry
    2008-08-04 16:19:05.136139 : nscpxget:normal exit
    2008-08-04 16:19:05.136168 : nsopenalloc_nsntx:nlhthput on mplx_ht_nsgbu:ctx=81a8538, nsntx=81a8930
    2008-08-04 16:19:05.136196 : nsopenmplx:normal exit
    2008-08-04 16:19:05.136225 : ntpcon:entry
    2008-08-04 16:19:05.136253 : ntpcon:toc = 6
    2008-08-04 16:19:05.136283 : ntpcon:exit
    2008-08-04 16:19:05.136313 : nsopen:opening transport...
    2008-08-04 16:19:05.136341 : ntpcon:entry
    2008-08-04 16:19:05.136367 : ntpcon:toc = 1
    2008-08-04 16:19:05.136404 : sntpcall:entry
    2008-08-04 16:19:05.157048 : sntpcall:detaching from parent with additional fork
    2008-08-04 16:19:05.157304 : sntpcall:hdl[IR]=17, hdl[IW]=16
    2008-08-04 16:19:05.157350 : ntpcon:exit
    2008-08-04 16:19:05.157390 : nserror:entry
    2008-08-04 16:19:05.157428 : nsoptions:entry
    2008-08-04 16:19:05.157459 : nsoptions:lcl[0]=0x0, lcl[1]=0x2006, gbl[0]=0x0, gbl[1]=0x0, cha=0x0
    2008-08-04 16:19:05.157488 : nsoptions:Vectored IO not supported.
    2008-08-04 16:19:05.157518 : nsoptions:lcl[0]=0xf4ffe9ff, lcl[1]=0x6016, gbl[0]=0xe881, gbl[1]=0x0
    2008-08-04 16:19:05.157545 : nsoptions:normal exit
    2008-08-04 16:19:05.157574 : nsnainit:entry
    2008-08-04 16:19:05.157603 : nsnainit:normal exit
    2008-08-04 16:19:05.157642 : nsopen:global context check-in (to slot 6) complete
    2008-08-04 16:19:05.157675 : nsopen:lcl[0]=0xf4ffe9ff, lcl[1]=0x6016, gbl[0]=0xe881, gbl[1]=0x0, tdu=4096, sdu=8192
    2008-08-04 16:19:05.157706 : nsfull_opn:entry
    2008-08-04 16:19:05.157735 : nsfull_opn:cid=6, opcode=65, bl=0, what=0, uflgs=0x0, cflgs=0x0
    2008-08-04 16:19:05.157761 : nsfull_opn:nsctx: state=7, flg=0x4001, mvd=0
    2008-08-04 16:19:05.157790 : nsfull_opn:normal exit
    2008-08-04 16:19:05.157816 : nsopen:normal exit
    2008-08-04 16:19:05.157854 : nsevreg:entry
    2008-08-04 16:19:05.157884 : nsevreg:begin registration process for 6
    2008-08-04 16:19:05.157912 : nsevregPrePost:entry
    2008-08-04 16:19:05.157940 : nsevregPrePost:normal exit
    2008-08-04 16:19:05.157968 : nsevreg:sgt=0, evn=1, evt[2]=0x0
    2008-08-04 16:19:05.157996 : nsevreg:begin notification process for 6
    2008-08-04 16:19:05.158022 : nsevregAffectNotif:entry
    2008-08-04 16:19:05.158050 : nsevregAffectNotif:exit (0)
    2008-08-04 16:19:05.158078 : nsevreg:rdm=0, sgt=0, evt[0]=0x800, [1]=0x800, [2]=0x0, nrg=0
    2008-08-04 16:19:05.158105 : nsevreg:registering for 0x800
    2008-08-04 16:19:05.158135 : ntpctl:entry
    2008-08-04 16:19:05.158162 : ntpctl:exit
    2008-08-04 16:19:05.158203 : nsevreg:normal exit
    2008-08-04 16:19:05.158260 : nsbeqaddr:error exit
    2008-08-04 16:19:05.158289 : nsbequeath:error exit
    2008-08-04 16:19:05.158342 : nsglhe:exit

  • ORA-12541: TNS:no listener error from client mechine

    We have oracle 11g server from onsite and I am trying to connect from offshore client.But I am getting error
    From SQL plus i am getting the error,
    ORA-12541: TNS:no listener
    and from SQL Developer I am getting the error,
    IO Error:The network adapter could not establish the connection
    I am able to Telnet the host with proper port.Onsite peoples able to connect the database from any client using the same TNS names configration I am using.
    What are the possibilities to get this errors ?
    Please guide me on this.

    sadasivam wrote:
    Hi
    Thanks for reply.I checked with onsite DBA for listener and it is up.If you have an on-site DBA why aren't you working with him to solve the problem?
    Since you assert that other client machines are able to connect to the database, the issue must be with your own setup. I strongly suspect your tnsnames has a bad entry. Please compare it to the same file from a working client. Also, show us the contents of your tnsnames.ora file.
    >
    I dont have access of disable the firewall in my clent mechine.I will get it done by network team and post you the status.

  • TNS no listener error when internet is enabled

    Hi
    When my internet connection is enabled and if i try to connect to the database, I get the No listener error.
    Although I'm able to connect to database when there is no internet I find it hard to run my forms 9i as they run on Internet Explorer and only when there is internet connection.
    Please help me in this regard.
    Thanks in advance
    rishank

    I think, that your listener listen to only one address.
    Try to edit tnsnames.ora to replace you hostname with local network address.

  • ORA-12560: TNS:protocol adapter error with samples

    hello,
    I am trying to run the cdemo1 sample on Windows 2000 but I keep getting the ORA-12560: TNS:protocol adapter error. I have set the correct username and password in cdemo1.c before compiling.
    I am using Oracle 9i and I have the Oracle Client installed.
    I am able to connect to Oracle using the command line with the following command sqlplus qa/tester@TESTSERV and I am also able to connect to Oracle using the Sqlplus Net8 client interface.
    I have set ORACLE_HOME on the command line to the path of my oracle home directories. And just for kicks I have also set the ORACLE_SID on the command line to TESTSERV
    My tnsnames.ora is configured properly
    TESTSERV.COMPANY.NET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PEPSI)(PORT = 1521))
    (CONNECT_DATA =
    (SID = TESTSERV)
         (SERVICE_NAME = TESTSERV.COMPANY.NET)     
    None of the methods seem to work.Anyone have any ideas why I can't connect with the cdemo1 but I can connect using command line and SQLPLUS?
    -Will

    I have had a similar problem with 8.1.6 on W2K Server. I have managed to get around it and get into svrmgrl by typing the following at the command prompt: set oracle_sid=sid_name. I am then able to get into svrmgrl without a problem. This always happens after the server has been rebooted. I have no idea why this happens or why setting the sid name works. Hope this helps.

  • "TNS:no listener" error

    Hi,
    I have got Oracle 9iR2 on Redhat 8 I have installed Oracle 9i client software on Windows 2000.
    Using the Oracle Net Configuration Assistant I am trying to set up my connection to my Linux server. When I com to test the connection I get
    CONNECTING ORA-12541: TNS:no listener
    The listner is started on the linux box so I am a bit stuck at the moment
    I would be very greatful if someone who has set up a linux server/windows client before could let me know what they did or if anyone knows of any documentation that would be a good starting point
    many thanks
    James Norton

    Check the SID you configured in the client with <oracle_home>\network\admin\tnsnames.ora.
    Venkat.

  • ORA-12541: TNS:no listener Error When connected to net....

    I am using internet via mobile on my pc. Whenever I am connected to the net I can't run the following code from Visual studio.
    It shows the following error:
    OleDbException was unhandled
    ORA-12541: TNS:no listener
    I have no idea about it.please help!!
    ***************************Code Section*****************
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.Data.OleDb;
    using Oracle.DataAccess.Client;
    namespace gridques
    public partial class Form1 : Form
    OleDbConnection newConnection;
    public Form1()
    InitializeComponent();
    private void Form1_Load(object sender, EventArgs e)
    newConnection = new OleDbConnection("Provider=MSDAORA.1;Data Source=orcl;User ID=project;Password=project");
    newConnection.Open();//////********IT SHOWS THE ERROR HERE*************
    private void show_Click(object sender, EventArgs e)
    OleDbCommand resultsCommand = null;
    OleDbDataAdapter resultsAdapter = new OleDbDataAdapter();
    DataTable resultsTable = new DataTable();
    try
    // establish command object and data adapter
    resultsCommand = new OleDbCommand("select * from stock order by serialNo", newConnection);
    resultsAdapter.SelectCommand = resultsCommand;
    resultsAdapter.Fill(resultsTable);
    dataGridView1.DataSource = resultsTable;
    catch (Exception ex)
    MessageBox.Show(ex.Message, "Error in Processing SQL", MessageBoxButtons.OK, MessageBoxIcon.Error);
    resultsCommand.Dispose();
    resultsAdapter.Dispose();
    resultsTable.Dispose();
    }

    Hi,
    ORA-12541: TNS:no listener
    Many reason but first thing need to check is "Is your listener is up and running on the server"
    lsnrctl statusregards,
    Taj

  • TNS-12541 TNS: No Listener error HELP!!!

    Hello,
    We have installed Oracle 8.0.5 on Windows 2000.
    Oracle was well installed (no errors) but sometimes we can connect to the database (via SQL+ or by a tnsping on the client), sometimes we cannot and it shows above message (TNS-12541 TNS: No Listener). That is very strange: the listener do really exist and is running. (Service is started). I tried to stop and start manually the listener (tnslnr80) but the 'start' failed (it was too long so I killed the command).
    Can someone help us to solve this or to understand what happens?
    Thx a lot
    Nivotiana

    Mohammed ... wrote:
    Thanks all your help and support..
    I reconfigured the instant client following below link :
    [http://www.dbatoolz.com/t/installing-oracle-instantclient-basic-and-instantclient-sqlplus-on-win32.html]
    and followed your advises as well and i can now connect to database though any user
    But unfortunately, i cannot connect as sys user, it gave me below error :
    C:\Users\mohammed>sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.3.0 Production on Tue May 7 17:29:56 2013
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    C:\Users\mohammed>
    Could you please advise..
    Regards,
    MohammedIf the client is on the same machine as the database, then you don't have ORACLE_SID set.
    More likely the database is on a different server, you have to specify 'sqlplus sys/pswd@dbname'.
    And your db will need to be configured to allow remote sysdba authorization, which is not a good idea from a security perspective.

  • Tns remote listener errors

    Hi,
    I'm in the process of transferring a single instance to rac, and a bit stuck with the remote_listener parameter. As per the oracle guide I have setup the tnsnames.ora as follows:
    $ more tnsnames.ora
    LISTENERS_S78LIVE =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = eus3300106-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = eus3300107-vip)(PORT = 1521))
    S78LIVE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = eus3300106-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = eus3300107-vip)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVICE_NAME = S78LIVE)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    (RETRIES = 200)
    (DELAY = 5)
    S78LIVEA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = eus3300106-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = S78LIVE)
    (INSTANCE_NAME = S78LIVEA)
    S78LIVEB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = eus3300107-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = S78LIVE)
    (INSTANCE_NAME = S78LIVEB)
    when I tnsping, I get the following error
    $ tnsping LISTENERS_S78LIVE
    TNS Ping Utility for Solaris: Version 10.2.0.4.0 - Production on 13-OCT-2009 11:08:45
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (ADDRESS_LIST =
    TNS-12533: TNS:illegal ADDRESS parameters
    also if I put the name *.remote_listener='LISTENERS_S78LIVE'
    oracle refuses to start up saying error not resolvable.
    I can ping the host??
    Anybody had the same problem, or is my tnsnames wrong.

    Hi, I have redone the file, still the sma eproblem:
    $ vi tnsnames.ora
    "tnsnames.ora" 6 lines, 183 characters
    LISTENERS_S78LIVE =
    (ADDRESS_LIST =
    (ADDRESS =(PROTOCOL=TCP)(HOST=83.231.245.142)(PORT=1521))
    (ADDRESS =(PROTOCOL=TCP)(HOST=83.231.245.143)(PORT=1521))
    $ tnsping LISTENERS_S78LIVE
    TNS Ping Utility for Solaris: Version 10.2.0.4.0 - Production on 13-OCT-2009 14:12:42
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (ADDRESS_LIST =
    TNS-12533: TNS:illegal ADDRESS parameters

  • I am getting an error ORA 12514 TNS: no listener error

    Please help me out with this error as i try to access Enterprise Manager Console or any other module with SYSTEM and MANAGER as the password i get this error.

    Few obvious question... please check and revert back
    1. Have you configured the TNSNAMES.ORA correctly on the client machine. Please check the hostname. If you have not given the IP of DB server then make sure the IP address is there in the "hosts" file, so that name can be resolved
    2. Is the listener-up on DB server and configured on the same port that you have mentioned in TNSNAMES.ORA?
    3. Is the database registered in the listener?
    You can use net-assistant to check and configure the same.
    Sudhanshu Bhandari
    perotsystems TSI

  • Property change listener error with jtabbedpane

    Greetings
    I have a property change listener on my jtabbedpane (2 panes (index 0 of course and index 1). my problem is when i want to run my app it gives me a java null pointer exception. I believe it is b/c it is starting the app and it see the property change of the first tab at index 0 which is the first tab it sees and tries to run the method that makes the buttons visibility to true. but the buttons are already true. Basically how can I get the property change to run only after the app is visible? I made the buttons visibility false on startup to see if it can run the app but I still got the same error. I hope I am clear enough, if I am not please and I will attempt to reiterate the situation better. thanks for anyones help.
    tabs = new JTabbedPane();
              tabs.addChangeListener(this);
              tabs.setPreferredSize(new java.awt.Dimension(800, 400));
              tabs.addTab("Q", tab1.getMa());
              tabs.addTab("R", tab2);
      public void stateChanged(ChangeEvent changeEvent) {
                JTabbedPane sourceTabbedPane = (JTabbedPane) changeEvent.getSource();
               int index = sourceTabbedPane.getSelectedIndex();
               //System.out.println("Tab changed to: " + sourceTabbedPane.getTitleAt(index)+"  Index: "+index);
               if (index==1){
                         changeButtonsF();
                             ///makes buttons false on side panel
               else if (index==0){
                    changeButtonsT();
                     //makes buttons true on side panel
           }

    Basically how can I get the property change to run only after the app is visible?Add the PropertyChangeListener to the tabbed pane after the JFrame is visible.
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.

Maybe you are looking for

  • TS3274 ipad keeps asking for VPN

    since upgrading to OS 8 my Ipad keeps asking for my VPN connection and password , I dont know this information so I can`t do anything. How do I move onward from this?

  • Credit request for license# with PO# ubmitted by the partner is in status

    Hi All Please help :---- The credit request for license# with PO# ubmitted by the partner is in status Closed on retrun tool, however the Credit note was not issued. What can be the reason.... Thanks Yash

  • Why is the import funtion not enabled

    I am trying to import FAVORITES from IE8. The IMPORT fuction under FILE is not enabled. How do I enable it so I can import my favorites?

  • ORA-00257:

    Hi Friends I am getting this error ORA-00257: archiver error. Connect internal only, until freed. , when there is more than 30gb space empty on my system . an early help is appriciated . its very critical situation for me i am using oracle 8i on wind

  • Can someone explain what DHCP is and how I do I connect to WiFi  hotspot?

    Can someone explain how a wireless network/router with an internet connection allows computers with a wireless card to connect to the internet? For instance, In an internet cafe with WiFi, how does my macbook get the IP address for the ISP that the c