"TNS-12541: TNS:no listener.
Hi allI have two orcl of VMware virtual machines and rman running win server 2003 and 11 g r2 orcl of databases and rman respectively.
I can't do a ping from one machine to another, but when I try to connect to remotely using discriptor connection I get error "TNS-12541: TNS:no listener.
The following operating on rman VM
C:\Documents and Settings\Administrator>sqlplus system@rman
SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 23 17:38:07 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
The following operating on orcl VMC:\Documents and Settings\Administrator>tnsping rman
TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 23-FEB-2
011 17:34:26
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.1
1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = rman)))
TNS-12541: TNS:no listener
C:\Documents and Settings\Administrator>ping 10.0.0.11
Pinging 10.0.0.11 with 32 bytes of data:
Reply from 10.0.0.11: bytes=32 time=1ms TTL=128
Reply from 10.0.0.11: bytes=32 time=3ms TTL=128
Reply from 10.0.0.11: bytes=32 time=121ms TTL=128
Reply from 10.0.0.11: bytes=32 time=1ms TTL=128
Ping statistics for 10.0.0.11:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 121ms, Average = 31ms
C:\Documents and Settings\Administrator>sqlplus system@rman
SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 23 17:51:52 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12541: TNS:no listener
Which is the case when I try to connect to rman VM to the orcl database.listener, sqlnet, tnsnames database orcl
# listener.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\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\Administrator
@@@@@@@@
# sqlnet.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES= none
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
@@@@@@@@
# tnsnames.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
rman =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.11)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rman)
)
)
listener, sqlnet, tnsnames of rman database# listener.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\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\Administrator
@@@@@@@@@@
# sqlnet.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
@@@@@@@
# tnsnames.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_RMAN =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
RMAN =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rman)
)
)
orcl =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.19)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
any ideas please
Hello
Change in your listener.ora the LOCALHOST keyword files and use the computer name or the IP Address of the machine.
Restart the other... and try to connect again.
LOCALHOST is not resolved through the network.
HTH,
Thierry
Tags: Database
Similar Questions
-
ORA-12541: TNS:no listener. (HY000)
Hello
I created A DSN and added the name of my connection pool in OBIEE RPD 10 G. When I click "Test connection" in the DSN it connects successfully. However, when I create an ad hoc report in the responses with a domain that uses the same connection pool, I do not receive either the listener error:
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 16001] ODBC error state: S1000 code: 12541 message: [Oracle] [ODBC] [Ora] ORA-12541: TNS:no listener. (HY000)
What I am doing wrong?
In fact we use DSN to keep al the connection in the system information in the same place - the ODBC Administrator.
TNS was missing in the tnsnames.ora file. I added and it started working. Thanks btw. :-)
Peppy
-
AMT-12541: TNS:no listener
Dear Oracle gurus
OPERATING SYSTEM:
-bash-3, $ 2 cat/etc/redhat - release
Release of Red Hat Enterprise Linux 5.5 Server (Tikanga)
-bash - $3.2 uname - a
Linux 2.6.18 - 194.el5PAE #1 SMP ecmeghbela kills Mar 16 22:00:21 EDT 2010 i686 i686 i386 GNU/Linux
DB: Oracle10g XE
We are stuck up with the error of the listener
-bash-3, $ 2 lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on May 4, 2012 20:40:43
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC_FOR_XE)))
AMT-12557: TNS:protocol adapter not loadable
AMT-12560: TNS:protocol adapter error
AMT-00527: Protocol adapter not loadable
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=127.0.0.1) (PORT = 1521)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
Linux error: 111: connection refused
-bash - $3.2
-bash - $3.2
-bash - $3.2
bash-$3.2 lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on May 4, 2012 20:40:51
Copyright (c) 1991, 2005, Oracle. All rights reserved.
From /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr: Please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System settings file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Error listening on: (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC_FOR_XE)))
AMT-12557: TNS:protocol adapter not loadable
AMT-12560: TNS:protocol adapter error
AMT-00527: Protocol adapter not loadable
Listening port could start. See the above error messages...
-bash-3, $ 2 cat app/oracle /.
Admin / doc / flash_recovery_area / product /.
-bash-3, $ 2 cat app/oracle /.
Admin / doc / flash_recovery_area / product /.
-bash-3, $ 2 cat app/oracle/product/10.2.0/server/network/admin/tnsnames.ora
tnsnames.ora # Network Configuration file:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
-bash-3, $ 2 cat app/oracle/product/10.2.0/server/network/admin/listener.ora
listener.ora # Network Configuration file:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
(= Extproc PROGRAM)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP) (HOST = 127.0.0.1)(PORT = 1521))
)
)
DEFAULT_SERVICE_LISTENER = (XE)
-bash-3, $ 2 tnsping XE
AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on May 4, 2012 20:41:39
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Use settings files:
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 127.0.0.1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
AMT-12541: TNS:no listener
-bash - $3.2
Edited by: hitgon may 4, 2012 15:23Please close the message
We have solved the problem after reinstalling the Oracle-XE
-
ORA-12541: TNS:no listener
Hey Amigos,
11 GR 2 WinXP
In my laptop, I run:
c:\ > sqlplus system/manager@localhost:1521/ORCL
SQL > connect.
But if I use the IP address of my laptop:
c:\ > sqlplus system/manager@:10.106.202.101:1521/ORCL
ERROR:
ORA-12541: TNS:no listener
No idea it please...
Thank youThe PC can have 2 IP addresses and listening port is listening on a different IP address. Check with
ipconfig
Make sure that your listener is listening on the IP 10.106.202.101: check with
lsnrctl status
-
Unable to solve ' ORA-12541 TNS no listener '.
Please advise on the following:
Unable to connect from the client to the remote host DB
* Fresh install OS and more on both sides
* Tries to connect TOAD 10.6 ed. Win7 test Oracle XE 10 g on Ubuntu 10.04.2
* The TOAD on top of Instant Client (IC) and IC as Oracle Home
* Instant Client does not have the TNS files
* So try direct connect w /.
-Host: 127.0.0.1 or host name
-post: 1521
-SID: XE
* Obtaining of ORA-12541: TNS no listener
* Disabled firewall on Win7
* DB is accessible on the DB machine itself
* Added "LOCAL_OS_AUTHENTICATION_LISTENER = OFF" in listener.ora and rebooted, but does not
* Listener seems OK to me...
---------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------
tnsping RJV@rjv01:~$
AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on May 7, 2011 15:48:56
Copyright (c) 1997, 2005, Oracle. All rights reserved.
AMT-03502: insufficient Arguments. Use: tnsping < address > [< number >]
tnsping RJV@rjv01:~$ xe
AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on May 7, 2011 15:49
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Use settings files:
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rjv01) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (10 ms)
---------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------
Lsnrctl stat RJV@rjv01:~$
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on May 7, 2011 15:36:53
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC_FOR_XE)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start date may 7, 2011 15:06:29
Uptime 0 days 0 h 30 min 23 s
Draw level off
Security OFF
SNMP OFF
Default Service XE
Parameter Listener of the /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora file
The listener log file /usr/lib/Oracle/XE/app/Oracle/product/10.2.0/Server/network/log/listener.log
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC_FOR_XE)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=rjv01.lokaal) (PORT = 1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=rjv01.lokaal) (PORT = 8080)) (Presentation = HTTP)(Session=RAW))
Summary of services...
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
"XE" service has 1 instance (s).
Instance "XE", State LOAN, has 1 operation for this service...
Service 'XEXDB' has 1 instance (s).
Instance "XE", State LOAN, has 1 operation for this service...
Service 'XE_XPT' has 1 instance (s).
Instance "XE", State LOAN, has 1 operation for this service...
The command completed successfullyNICE details in the post!
-Host: 127.0.0.1 or host name
above is a non-routable IP # which means that this system will only ever be able to talk to himself.
The two DB Server system & remote client requires routable IP # as 192.168.1.2 and 192.168.1.3
Are DB Server & clients separate physical systems?
-
ORA-12541: error listener TNS:no when remote desktop connection
Dear all,
I installed Oracle 11 GR 2 on your windows desktop. I am able to connect to SQL from the command prompt but also using SQL Developer. However, when I try to connect to this instance from another post after adding the details in TNSNAMES.ora on the desktop remotely, I get the error: "ORA-12541: TNS:no listener.
Can you please guide me if there are all the additional steps required to connect to the database from a remote office.
Best regards
ChandraDid you know your IP host address is?
(HOST = 172.18.28.192) -
Paste here please
ipconfig
Can you change IP to IP localhost host and restart the LISTENER with
lsnrctl stop lsnrctl start
Concerning
Mr. Mahir Quluzade
www.Mahir-quluzade.com -
AMT-12541: tns:noo hss earphone
Hi all
I need help, I tried to solve the problem, but without success.
I get the VM with the (vm Oracle_Developer_Days on oracle.com)... and installed the client 11g on my pc (windows 7).
When I try to connect to the database... return "TNS-12541 TNS: No. LISTENER."
Configuration:
Listener.ora
tnsnames.ora# tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora # Generated by Oracle configuration tools. LISTENER_ORCL = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) ) TTORCL = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl) ) )
sqqlnet.ora# tnsnames.ora Network Configuration File: D:\app\Pablo\product\11.2.0\client_1\NETWORK\ADMIN\tnsnames.ora # Generated by Oracle configuration tools. LOCALHOST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl) ) ) LISTENER_ORCL = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) TTORCL = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl) ) ) ORCL = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) )
tnsping on VM# sqlnet.ora Network Configuration File: D:\app\Pablo\product\11.2.0\client_1\network\admin\sqlnet.ora # Generated by Oracle configuration tools. # This file is actually generated by netca. But if customers choose to # install "Software Only", this file wont exist and without the native # authentication, they will not be able to connect to the database on NT. SQLNET.AUTHENTICATION_SERVICES= (NTS) NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
the problem[oracle@localhost ~]$ tnsping orcl TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 04-FEB-2012 17:16:35 Copyright (c) 1997, 2010, Oracle. All rights reserved. Used parameter files: Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl))) OK (0 msec)
tnsping on my pc
/ sbin/ifconfigC:\Users\Pablo>tnsping orcl TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 04-FEV-2 012 23:18:29 Copyright (c) 1997, 2010, Oracle. All rights reserved. Arquivos de parÔmetros usados: D:\app\Pablo\product\11.2.0\client_1\network\admin\sqlnet.ora Usado o adaptador TNSNAMES para resolver o apelido Tentativa de contatar (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 127.0.0.1)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_ NAME = orcl))) TNS-12541: TNS:nÒo hß listener
pingip VM 127.0.0.1[oracle@localhost ~]$ /sbin/ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:11117 errors:0 dropped:0 overruns:0 frame:0 TX packets:11117 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5588750 (5.3 MiB) TX bytes:5588750 (5.3 MiB)
lsnrctl statusC:\Users\Pablo>ping 127.0.0.1 Disparando 127.0.0.1 com 32 bytes de dados: Resposta de 127.0.0.1: bytes=32 tempo<1ms TTL=128 Resposta de 127.0.0.1: bytes=32 tempo<1ms TTL=128 Resposta de 127.0.0.1: bytes=32 tempo<1ms TTL=128 Resposta de 127.0.0.1: bytes=32 tempo<1ms TTL=128 Estatísticas do Ping para 127.0.0.1: Pacotes: Enviados = 4, Recebidos = 4, Perdidos = 0 (0% de perda), Aproximar um número redondo de vezes em milissegundos: Mínimo = 0ms, Máximo = 0ms, Média = 0ms
database parameter[oracle@localhost ~]$ lsnrctl status LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 04-FEB-2012 17:25:13 Copyright (c) 1991, 2010, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production Start Date 04-FEB-2012 16:06:24 Uptime 0 days 1 hr. 18 min. 49 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora Listener Log File /home/oracle/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=80))(PROTOCOL_STACK=(PRESENTATION=HTTP)(SESSION=RAW))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=21))(PROTOCOL_STACK=(PRESENTATION=FTP)(SESSION=RAW))) Services Summary... Service "orcl" has 1 instance(s). Instance "orcl", status READY, has 2 handler(s) for this service... Service "orclXDB" has 1 instance(s). Instance "orcl", status READY, has 1 handler(s) for this service... The command completed successfully
any suggestions?[oracle@localhost ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.2.0 Production on Sat Feb 4 16:21:14 2012 Copyright (c) 1982, 2010, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> show parameter service_name NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ service_names string orcl SQL> show parameter listener NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ listener_networks string local_listener string LISTENER_ORCL remote_listener string
Thank you!912342 wrote:
When you try to connect to my pc.
See... returns the error.I'm sorry if I wasn't clear.
Thank you.
Microsoft Windows [versão 6.1.7601] Copyright (c) 2009 Microsoft Corporation. Todos os direitos reservados. C:\Users\Pablo>sqlplus scott/oracle@orcl SQL*Plus: Release 11.2.0.1.0 Production on Dom Fev 5 01:49:49 2012 Copyright (c) 1982, 2010, Oracle. All rights reserved. ERROR: ORA-12541: TNS:nÒo hß listener
C:\Users\Pablo>tnsping orcl TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 05-FEV-2 012 01:52:47 Copyright (c) 1997, 2010, Oracle. All rights reserved. Arquivos de parÔmetros usados: D:\app\Pablo\product\11.2.0\client_1\network\admin\sqlnet.ora Usado o adaptador TNSNAMES para resolver o apelido Tentativa de contatar (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 127.0.0.1)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_N AME = orcl))) TNS-12541: TNS:nÒo hß listener
Edited by: 912342 04-02-2012 19:57
Any listener residing on 'localhost', NEVER connectable from a remote client.
For the listener to accept the connection of the remote client request,
then listener must reside on the host using some routable IP #. other than 127.0.0.1 -
Hello team,could you please help me out in knowing how to do an entry in the listening port so that Oracle can understand my SID = ORCL is listening this port only.(1) I created my 1st database using DBCA.(2) I have created a database as ORADB I specified as 1523 port number with my host name and a different database DB3 I've specified the port number 1525.
Now, I just did an entry in the LISTENING port. ORA specifying number 1521 port,
But I've specified blindly some port numbers and my host name, I got an error, the listener, I enclose the exit to the station.
(3) when I try to ping at the entrance in the listening port, its success. tnsping was a success and I am able to connect to oracle using the connection string,
My problem is why my interlocutor doesn't support all services and how the database is able to connect to the correct database. Please find the AMT and the exit. I've also added my TNS and listener files
Earphone output:
Output TNS:
Sqlplus output:
Listener.ora:
LOCAL_LISTENER = (DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST= dev5065) (PORT = 1521)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = dev5065) (PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = dev5065) (PORT = 1523))
(ADDRESS = (PROTOCOL = TCP (PORT = 1525))(HOST = dev5065))
(ADDRESS = (PROTOCOL = TCP (PORT = 1527))(HOST = dev5065))
)
)
ADR_BASE_LISTENER = / u01/app/oracle
ORCL =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = dev5065) (PORT = 1521))
)
)
ADR_BASE_ORCL = / u01/app/oracle
ORADB =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = dev5065) (PORT = 1523))
)
)
ADR_BASE_ORADB = / u01/app/oracle
DB3 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP (PORT = 1525))(HOST = dev5065))
)
)
ADR_BASE_DB3 = / u01/app/oracle
CLONEDB =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP (PORT = 1527))(HOST = dev5065))
)
)
ADR_BASE_CLONEDB = / u01/app/oracle
TNSnames.ora
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dev5065) (PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)
ORADB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dev5065) (PORT = 1523))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oradb)
)
)
DB3 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP (PORT = 1525))(HOST = dev5065))
(CONNECT_DATA =
(SERVICE_NAME = db3)
)
)
CLONEDB =
(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP (PORT = 1527))(HOST = dev5065))
(CONNECT_DATA =
(SERVICE_NAME = clonedb)
)
)
Could someone help me solve this doesnot listener support service please. I posted all the details.
I am not able to connect to my database that is present in GNU / Linux my Windows System. Can I connect to the database using command prompt in windows using the TNS database file that this s in Linux?
example: < chaine_connexion > tnsping
This connection string points to the current instance in the linux box and my tns is present in windows system.
Thanks and greetings
Malla Vinay
Oracle DBA training
Miracle Software Systems Inc.,
Listener supports no services... !
Windows to Linux listener TNS connection error!
Lions and tigers and bears, oh my!
Where to start...
Your understanding of the role of the listener, its relationship to the database and its configuration are leaves much to be desired.
As Sybrand said, your listener just to a port, and the default value of 1521 is quite sufficient. This is the port that the client will use to communicate with the listener to ask for a connection. There is no relationship between this port and any database supported by the listener, nada, zilch, zero.
Second, you say you have entered like this in your listener.ora:
ORCL =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = dev5065) (PORT = 1521))
)
)
ADR_BASE_ORCL = / u01/app/oracle
Where in the world do you have the idea to put those in listener.ora? There is nothing like that documented in the reference Services Net (content). Those aren't entries for tnsnames.ora, listener.ora. And the constant repitition of ADR_BASE is useless.
The best thing you can do is to simply delete your listener.ora file and make sure that the LOCAL_LISTENER parameter in each of your databases is NOT defined. Thereby the listener quite fortunately starts, using port 1521, and databases to record with the port to listen on this port. Then change your customer files tnsnames.ora to 1) always specify the port 1521 and 2) remove these entries ADR_BASE.
-
Need help with error TNS.
Hi guys,.
I'm still struggling with you try to start my DB.
Who is on the following IP 192.168.103.110 with the hostname being Computer1
When I try to start the listener I get the following error below
lsnrctl start $ [oracle@machine1 admin]
LSNRCTL for Linux: Version 12.1.0.1.0 - Production on 3 August 2015 13:00:24
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
Linux error: 111: connection refused
[oracle@machine1 admin] $
The output of my listener.ora is
listener.ora # Network Configuration file: /u01/app/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER_OVSORCL =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = machine1) (PORT = 1521))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
)
The output of my tnsnames.ora is
tnsnames.ora # Network Configuration file: /u01/app/oracle/product/12.1.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
OVSORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = machine1) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ovsorcl)
)
LISTENER_OVSORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = machine1) (PORT = 1521))
Please inform guys how can I fix this error.
OK, now change this:
Edit the/etc/hosts the following:
: 1 localhost
127.0.0.1 localhost loghost
192.168.103.110 Computer1.
Computer1 loghost Listener.ora change to the following:
LISTENER_OVSORCL =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.103.110)(PORT = 1521))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
)
Make sure you have not any sqlnet.ora
After doing this change post your new/etc/hosts, your new listener.ora and confirm that you have not any sqlnet.ora
-
AMT-12560: TNS:protocol error adapter 00530-TNS: Protocol adapter error
Cannot start the listening service.
Working with Oracle Database 11 g 2 on Windows 7.
I just installed Oracle with the option "install the software only.
You have already configured the instance, the database, the views of the dictionary, etc.
Created tsnames.ora and sqlnet.ora, listener.ora as shown below.
Before installing Oracle, I followed the instructions on Oracle
documentation to install a loopback adapter.
It is set up as the main Board as indicated on the
instructions. The name is "gabylan" (before the computer
called "P4". I created the 'hosts' file as noted, the oracle_hostname
variable, etc as you will see below. I don't know if it is important to 'Uncomment '.
the line on the file "hosts" for the entry "localhost", let him
as it was initially.
Services currently in the 'started ': State
OracleServiceorcl
ORCL Oracle Service recorder VSS
OracleMTSRecoveryService
OracleOraDb11g_home1ClrAgent
OracleServiceorcl
Here is a summary of the error message and information
on installing my system to help diagnose my problem.
===============================================================================
c:\Users\Public\myscripts > lsnrctl start
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-SEP-2012 13:48
Copyright (c) 1991, 2010, Oracle. All rights reserved.
From tnslsnr: Please wait...
AMT-12560: TNS:protocol adapter error
AMT-00530: Protocol adapter error
-------------------------------------------------------------------------------
c:\Users\Public\myscripts > lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-SEP-2012 16:17:16
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=gabylan) (PORT = 1521)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
32-bit Windows error: 61: unknown error
================================================================================
My "hosts" file: (c:\windows\system32\drivers\etc\hosts)
resolution of name localhost # is handled within DNS itself.
# 127.0.0.1 localhost
#: 1 localhost
192.168.5.5 gabylan gabylan
=================================================================================
c:\Users\Public\myscripts > ipconfig/all
Windows IP configuration
Name of the host...: gabylan
Primary Dns suffix...:
Node... type: hybrid
Active... IP routing: No.
Active... proxy WINS: No.
Ethernet connection to the network space 2 card:
The connection-specific DNS suffix. :
... Description: Microsoft Loopback adapter
Physical address.... : 02-00-4C-4F-4F-50
DHCP active...: No.
Autoconfiguration enabled...: Yes
Address IPv6 local link...: fe80::b8f5:bbb0:cf8b:c735% 15 (Preferred)
IPv4 address...: 192.168.5.5 (Preferred)
... Subnet mask: 255.255.255.0.
... Default gateway. :
DHCPv6 IOOKING...: 335675468
DHCPv6 DUID customer...: 00-01-00-01-17-B7-78-52-00-25-22-51-68-AB
DNS servers: fec0:0:0:ffff:1 1%
FEC0:0:0:FFFF:2 1%
FEC0:0:0:FFFF:3 1%
NetBIOS over TCP/IP...: enabled
Ethernet connection to the Local network card:
The connection-specific DNS suffix. :
Description...: Realtek RTL8102E/RTL8103E family PCI-E Fast Ethernet NIC (NDIS 6.20)
Physical address.... : 00-25-22-51-68-AB
DHCP active...: Yes
Autoconfiguration enabled...: Yes
Address IPv6 local link...: fe80::7538:173c:c202:4985% 10 (Preferred)
IPv4 address: 192.168.1.2 (Preferred)
... Subnet mask: 255.255.255.0.
Lease obtained...: Tuesday, September 18, 2012 11:37:37
End of the lease...: Wednesday, September 19, 2012 13:45:01
... Default gateway. : 192.168.1.1.
DHCP server...: 192.168.1.1.
DHCPv6 IOOKING...: 234890530
DHCPv6 DUID customer...: 00-01-00-01-17-B7-78-52-00-25-22-51-68-AB
DNS servers...: 192.168.1.1.
NetBIOS over TCP/IP...: enabled
=================================================================================
sqlnet.ora # Network Configuration file:
# c:\app\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
# This file is actually generated by netca. But if customers can opt for
# install 'Software Only', this file does not exist and without the native
authentication #, they will not be able to connect to the database on NT.
# OTHER AUTHENTICATION OPTION IS: SQLNET. AUTHENTICATION_SERVICES = (NTS)
SQLNET. AUTHENTICATION_SERVICES = (NONE)
NAMES. DIRECTORY_PATH = (TNSNAMES, HOSTNAME, EZCONNECT)
ADR_BASE = c:\app\oracle\
====================================================================================
tnsnames.ora # Network Configuration file:
# c:\app\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = gabylan) (PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
====================================================================================
listener.ora # Network Configuration file:
# c:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = gabylan) (PORT = 1521))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = c:\app\oracle\product\11.2.0\dbhome_1)
(SID_NAME = orcl)
)
)
ADR_BASE_LISTENER = c:\app\oracle
=================================================================================
c:\Users\Public\myscripts > ping gabylan
Ping gabylan [192.168.5.5] with 32 bytes of data:
Reply from 192.168.5.5: bytes = 32 time < 1 ms TTL = 128
Reply from 192.168.5.5: bytes = 32 time < 1 ms TTL = 128
Reply from 192.168.5.5: bytes = 32 time < 1 ms TTL = 128
Reply from 192.168.5.5: bytes = 32 time < 1 ms TTL = 128
Ping statistics for 192.168.5.5:
Packets: Sent = 4, received = 4, lost = 0 (0% loss),
Time approximate round trip in milli-seconds:
Minimum = 0ms, Maximum = 0ms, average = 0ms
=================================================================================
Some linked to on my system environment variables:
COMPUTERNAME = GABYLAN
FP_NO_HOST_CHECK = NO
HOMEPATH = \Users\oracle
LOGONSERVER = \\GABYLAN
ORACLE_HOME=c:\app\oracle\product\11.2.0\dbhome_1
ORACLE_HOSTNAME = gabylan
ORACLE_SID = orcl
ORACLE_UNQNAME = orcl
SQLPATH c:\users\public\myscripts =
USERDOMAIN = GABYLAN
USERNAME = oracle
USERPROFILE = C:\Users\oracle
==================================================================================
Summary of V$ INSTANCE VIEW:
INSTANCE
HOST NAME NAME STARTUP_T STATUS DATABASE_STATUS ACTIVE_ST
------- --------- ---------------- --------------- ----------
ORCL STARTED NORMAL ACTIVE GABYLAN
=================================================================================
Thank you
GabrielLarge. Now do the same thing in a command line started with administrator privileges.
-
AMT-12224: TNS:no headset - Windows 32 bit: 61 error: unknown error
Hello
I have a new installation of 11.5.10.2 in windwos 2003 and I am facing the following error in the two nodes (1 node database, admin, cms (mcorafinbdcl) - 2nd node forms and web (mcfinappcl) in 8.0.6 listener):
Error when I launch the lisneter manually or I make a status:
Connection to (ADDRESS = (PROTOCOL = TCP (Port = 1626))(Host=mcorafinbdcl))
AMT-12224: TNS:no listener
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
32-bit Windows error: 61: unknown error
I've recreated the listener deleting the service and make a beginning of lsnrctl80 APPS_D11i but still does not!
Help, please! Thank youSalvation;
Please see:
EBS 11.5.10.2 New Installation on Windows fails with the error [ID 1086023.1] RW-50015
AutoConfig on Windows crashes on Remote Terminal while executing "adsvalsn.cmd" [260365.1 ID]Respect of
HELIOS -
Why TNS listner problem occurs frequently?
Hello
There is no problem when I connect any user through sqlplus provided by Oracle. but I often found problem when I connect from my Visual Studio .NET or sqlplus provided by OracleDev Suite.But sometimes I can connect to oracle, without doing anything of Visual Studio.It, connect happens by chance. Why?. When I restart again the same computer problem has been delivered.
In my PC I installed Oracle 11 GR 1 material, DevSuite, DeveloperSuite.
Exactly the problem when trying to establish a connection in Visual Studio or Oracle sqlplus DevSuite: ORA-12541 TNS:no listener.
At the same time I can make the connection (or log in my diagram) of supplied utility sqlplus bydefault when I installed Oracle.
Please help where is the actual fault. What should I do?Copy the tnsnames.ora file to the following path:
D:\app\user\product\11.1.0\db_1\NETWORK\ADMIN
Paste in the following locations:
D:\app\user\product\11.1.0\db_1\NETWORK\ADMIN
D:\app\user\product\11.1.0\db_1\owb\network\admin
D:\DevSuiteHome_1\NETWORK\ADMIN -
TNS error after upgrading to 11.2.0.1
Hello
I just upgraded my 11.1.0.7 to 11.2.0.1 database
I created new listener netca (new house) on the port 1523 which was my previous port
whenever I issue lsnrctl status, it gives an error
Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
Linux error: 111: connection refused
plus the customer is also able to connect to the DB
ora12545: connection failed beacause host or target does not exist
How to solve this
???user13282353 wrote:
My llistner.oraDEV =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = indstqebs01.indal.es) (PORT = 1523))
)
)SID_LIST_DEV =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = u02/oracle/DEV/db/tech_st/11.2.0)
(SID_NAME = DEV)
)
)but still when I issue lsnrctl status
It gives
Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
Linux error: 111: connection refused
Why?Edit your file as listener.ora:
DEV = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = indstqebs01.indal.es)(PORT = 1523)) ) ) SID_LIST_DEV = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = DEV) (ORACLE_HOME = /u02/oracle/DEV/db/tech_st/11.2.0) (SID_NAME = DEV) ) )
Then
lsnrtcl start lsnrctl status
It's static registiration.
In fact, PMON background process will automatically save sid in the listener.
Also after you start the listener:export ORACLE_SID=DEV sqlplus "/as sysdba" alter system register; exit; lsnrctl status
-
Hi all
My env oracle 11 g R2 Sp2 of Xp , I get my service name Tnsping error IE prod
error...
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:15:36
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
C:\Documents and Settings\Administrateur > lsnrctl
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on August 2, 2010 20:19
: 46
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Welcome to LSNRCTL, enter 'help' for more information.
LSNRCTL > reload
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
The command completed successfully
LSNRCTL > tnsping prod
NL-00853: command not defined "tnsping. Try "help".
LSNRCTL > output
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:20:07
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
C:\Documents and Settings\Administrateur > lsnrctl stop
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on August 2, 2010 20:21
: 40
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
The command completed successfully
C:\Documents and Settings\Administrateur > lsnrctl start prod
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on August 2, 2010 20:21
: 48
Copyright (c) 1991, 2010, Oracle. All rights reserved.
From tnslsnr: Please wait...
Cannot open the service < OracleOraDb11g_home2TNSListenerprod >, error 1060.
TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
System settings file is C:\ora1\product\11.2.0\db2\network\admin\listener.ora
Log messages written to c:\ora1\diag\tnslsnr\friends-c0d8866\prod\alert\log.xml
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = friends-c0d8866)(PORT=15)
(21)) (21)) (CONNECT_DATA = (Server = Dedicated)(service_name=Prod)))
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = friends-c0d8866)(PORT=15)
(21)) (21)) (CONNECT_DATA = (Server = Dedicated)(service_name=Prod)))
STATUS of the LISTENER
------------------------
Alias prod
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Prod
ction
Start date August 2, 2010 20:21:51
Uptime 0 days 0 h 0 min 1 s
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File C:\ora1\product\11.2.0\db2\network\admin\listener.ora
C:\ora1\diag\tnslsnr\friends-c0d8866\prod\alert\log.XM log listener
l
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = friends-c0d8866)(PORT=1521)) (CONNECT
DATA = (SERVER = dedicated) (SERVICENAME = prod)))
The listener supports no services
The command completed successfully
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:22
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
C:\Documents and Settings\Administrateur > netca
Oracle Net Services Configuration:
The name of the net service PROD has been removed.
By default the local naming complete configuration.
Created the network service name: PROD
Configuring Oracle Net Services successfully. The exit code is 0
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:24:39
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
C:\Documents and Settings\Administrator > lsntctl
'lsntctl' is not recognized as an internal or external command
operable program or batch file.
C:\Documents and Settings\Administrateur > lsnrctl
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on August 2, 2010 20:26
: 58
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Welcome to LSNRCTL, enter 'help' for more information.
LSNRCTL > help
The following are available
An asterisk (*) indicates a modifier or an extended order:
start stop status
top-up version services
save_config trace change_password
Exit exit together *.
show *.
LSNRCTL > status
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
32-bit Windows error: 2: no such file or directory
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = friends-c0d8866)(PORT=15)
21)))
STATUS of the LISTENER
------------------------
Alias prod
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Prod
ction
Start date August 2, 2010 20:21:51
Uptime 0 days 0 h 5 min 30 s
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File C:\ora1\product\11.2.0\db2\network\admin\listener.ora
C:\ora1\diag\tnslsnr\friends-c0d8866\prod\alert\log.XM log listener
l
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = friends-c0d8866)(PORT=1521)) (CONNECT
DATA = (SERVER = dedicated) (SERVICENAME = prod)))
Summary of services...
"Prod" service has 1 instance (s).
Instance "prod", State LOAN, has 1 operation for this service...
Service 'prodXDB' has 1 instance (s).
Instance "prod", State LOAN, has 1 operation for this service...
The command completed successfully
LSNRCTL > output
C:\Documents and Settings\Administrateur > tnsping
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:27:41
Copyright (c) 1997, 2006, Oracle. All rights reserved.
AMT-03502: insufficient Arguments. Use: tnsping < address > [< number >]
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:27:48
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
C:\Documents and Settings\Administrateur > EPS
'env' is not recognized as an internal or external command
operable program or batch file.
C:\Documents and Settings\Administrateur > set TNS_ADMIN = C:\ora1\product\11.2.0\db
2\network\admin
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:28:51
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
C:\Documents and Settings\Administrateur > lsnrctl
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on August 2, 2010 20:31
: 27
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Welcome to LSNRCTL, enter 'help' for more information.
LSNRCTL > reload
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
32-bit Windows error: 2: no such file or directory
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = friends-c0d8866)(PORT=15)
21)))
The command completed successfully
LSNRCTL > trcroute
NL-00853: command not defined "trcroute. Try "help".
LSNRCTL > output
C:\Documents and Settings\Administrateur > sqlplus
SQL * more: version 11.2.0.1.0 Production on Lun 2 August 20:48:17 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter the user name: virtue sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
SQL > stop the demolition
ORACLE instance stops.
SQL > startup
ORACLE instance started.
Total System Global Area 318046208 bytes
Bytes of size 1374332 fixed
268437380 variable size bytes
Buffers data 41943040 bytes
Redo buffers 6291456 bytes
Mounted database.
Open database.
SQL > exit
Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Pr
production
With partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 22:11:11
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name...
My lsnr conf is......................................
listener.ora # Network Configuration file: C:\ora1\product\11.2.0\db2\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\ora1\product\11.2.0\db2)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:C:\ora1\product\11.2.0\db2\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = friends-c0d8866)(PORT = 1521))
)
)
Prod =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = friends-c0d8866)(PORT = 1521))
(CONNECT_DATA =
(SERVER = dedicated)
(SERVICE_NAME = prod)
)
)
.............................................................
TNSNAME.ora is...
tnsnames.ora # Network Configuration file: C:\ora1\product\11.2.0\db2\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
PROD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = friends-c0d8866)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = prod)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
................................................................
sqlnet.ora................................
sqlnet.ora s # Network Configuration file: C:\ora1\product\11.2.0\db2\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers can opt for
# install 'Software Only', this file does not exist and without the native
authentication #, they will not be able to connect to the database on NT.
SQLNET. AUTHENTICATION_SERVICES = (NTS)
NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
...............................................................................
I've done a few tracks... but I can't solve the error...
Please let me know what parameters to change...
Kind regards
KKA bad configuration OS/networking & has NOTHING to do with Oracle
Any type of operating system virtualization is involved?
-
Hi experts,
On a 11.2.03 no rac installation on one machine virtual OEL 7, I get a weird error. Even if the listener is running, I'm not able to issue a tnsping to the DB instance. The DB instance is also running.
{code}
[oracle@vm1 admin] $ tnsping ggprim
AMT Ping utility for Linux: Version 11.2.0.3.0 - Production on 16 February 2016 19:59:18
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Use settings files:
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(Host = vm1) (Port = 1521))) (CONNECT_DATA = (SERVICE_NAME = GGPRIM)))
AMT-12541: TNS:no listener
{code}
Here is the status of the listener.
[oracle@vm1 admin] $ lsnrctl status LISTENER_GGPRIM
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 16 February 2016 19:59:32
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = ggprim)))
STATUS of the LISTENER
------------------------
Alias LISTENER_GGPRIM
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start date February 16, 2016 19:55:22
Uptime 0 days 0 h 4 min 10 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file
The listener log file /U01/app/Oracle/diag/tnslsnr/VM1/listener_ggprim/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = ggprim)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=vm1) (PORT = 1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL =)(HOST=vm1) (PORT = 2484) CST))
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
The listener supports no services
The command completed successfully
[oracle@vm1 admin] $
And here the tnsnames.ora
[oracle@vm1 admin] $ cat tnsnames.ora
GGPRIM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(Host = vm1) (Port = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = GGPRIM)
)
)
[oracle@vm1 admin] $
and here is the State of the instance
[oracle@vm1 ~] $ sqlplus / as sysdba
SQL * more: Production of liberation 11.2.0.3.0 killed him Feb 16 20:05:40 2016
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > @cc
INSTANCE_NAME HOST_NAME STATUS LOGINS
---------------- ---------------------------------------- ------------ ----------
ggprim OPEN AUTHORIZED vm1
COUNT (1) USER MACHINE NAME
---------------------------------------- ------------------------- ----------
vm1 SYS 1
SQL >
Hello
I know it's late, but I was finally able to remember exactly how I did it...
I can see what your problem is...
is not within the oracle... Since you have multiple IP addresses, configure you the IP address port forwarding internal to external. It is not fake, but you need the nt to connect to your virtual machine using PuTTY.
Here's what I suggest you do that, since I am not a guru of networking. Just keep it Simple
- donot keep multiple IP addresses.
- Remove Port forwarding NAT adapter and just keep HOST ONLY
- Change the IP address of your machine to the same subnet as your local physical computer.
- disable the dhcp, dns and use a manual IP address on the same subnet.
- Restart network services
- ensure that ifconfig shows the new IP address of your device (eth0)
- Use this IP address to your listener.ora and tnsnames.ora
- test the tnsping and listener State.
To allow all traffic and bypass firewalls, here is the command that you can use.
iptables-a INPUT-i eth0 Pei tcp - dport 22 - m state--state NEW, established-j ACCEPT
iptables - an OUTPUT o eth0 Pei tcp - sport 22 - m state - state ESTABLISHED-j ACCEPT
Thank you
Maybe you are looking for
-
I run a Macbook Pro in 2011. I recently updated my OS from the Lion to El Capitan. Unfortunately, a major program I need to use is not compatible with the new OS X 10.11. Fortunately I made when I was still on 10.7, a time Machine backup before the u
-
How can I reset my hp touch smart 320 PC to factory default
-
What is the best product to solve registry problems?
Original title: problems of regestry I have problems of regestry. Which is the best product to fix.
-
Fingerprinter reader driver is not installed
I have a TravelMate TM8571-733G25Mn laptop with a FingerPrinter reader. I tried to install the driver for this device without success?
-
How to restore a laptop without cd
I have a HP pavilion zv6000 series 2005. I need to completely erase the HD and restore the operating system (windows XP). I can't find the original recovery disks. How can I do this?