Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 18-JUL-2010 12:54:12
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> start
Starting /u01/app/oracle/oracle/product/10.2.0/db_1//bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /u01/app/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
TNS-12555: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00525: Insufficient privilege for operation
Linux Error: 1: Operation not permitted
Listener failed to start. See the error message(s) above...
LSNRCTL>
------------------------------------------------------------------------------------------------------------------------
Hi
TNS-00525: Insufficient privilege for operationplease make sure of this
Cause
1) Ensure that /tmp/.oracle or /var/tmp/.oracle directory exists.
2) Confirm that the user who is trying to start the listener has adequate read and write permissions on the directory specified above. The permissions should be 777.
3) If the /tmp directory has reached full capacity, this would cause the listener to fail to write the socket files.
Solution
To implement the solution, please use the following example:
1. cd /var/tmp
2. Check the whether the .oracle directory exists:
cd .oracle
3. If the directory does not exist, request the System Administrator create the directory and set the ownership as root:root with the permissions set to 01777
mkdir /var/tmp/.oracle
chmod 01777 /var/tmp/.oracle
chown root /var/tmp/.oracle
chgrp root /var/tmp/.oracle
4. Next try starting the TNS Listener using the ‘lsnrctl start <listener_name>’ command.
Similar Messages
-
I have versions 11.1.1.7.0 and 12c installed and am using Oracle 11g Express on a Windows 7 laptop. Both versions worked fine and then suddenly stopped. I have looked thru all the threads and still cannot figure this out. I have not changed anything recently.
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR fo
ction
Start Date 10-AUG-201
Uptime 0 days 1 h
Trace Level off
Security ON: Local
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclex
dmin\listener.ora
Listener Log File C:\oraclex
alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ip
(DESCRIPTION=(ADDRESS=(PROTOCOL=tc
Services Summary...
Service "CLRExtProc" has 1 instance(
Instance "CLRExtProc", status UNKN
Service "PLSExtProc" has 1 instance(
Instance "PLSExtProc", status UNKN
The command completed successfully
Listener properties
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = Owner-PC)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
tnsnames properties
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Owner-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ip
(DESCRIPTION=(ADDRESS=(PROTOCOL=tc
Services Summary...
Service "CLRExtProc" has 1 instance(
Instance "CLRExtProc", status UNKN
Service "PLSExtProc" has 1 instance(
Instance "PLSExtProc", status UNKN
The command completed successfully
Obviously there is no handler for XE service.
Maybe you changed hostname(this should be "Owner-PC") ?
Try to manually start/stop db and see if there are some errors:
sqlplus / as sysdba
startup
shutdown immediate
If after that you still can't find cause, try to ask on oracle db forum.
Dario -
Dear Team,
When I am trying to start my LISTENER on my Windows server manually its showing error like The OracleOraDb11g_home1TNSListener service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.I Have created LISTENER twice also.When I am checking status on CMD prompt below is error is showing.Please help me out how to solve the issue.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<host name>)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 2: No such file or directory
Regards,
Praveen KHi,
Did you check whether the windows service for listener is up and running? if not please start it, by typing "services.msc" in run window and start the service. Then check whether you have listener.ora file in $ORACLE_HOME/network/admin and also post listener.ora contents.
Regards,
Pradeep. V -
11gR2 Install Error, Listener is not up or database service is not registered with it
Hi all,
I'm currently studying towards my OCA, I've passed 1z0-051 (SQL Fundementals I), and now I'm moving onto 1z0-052 (Admin 1).
Im really having trouble creating a database in Oracle 11g R2 Enterprise Edition. I install the software no problem. Then I create a database, and during the creation I have to createsa listener which uses TCP (default port:1521) and IPC. whilst creating the database I get the following error
'Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM configuration Assistant again.'
Now, before you lynch me, I have searched this forum for answer to this for a day and a half. I've also tried google, i just can't find a answer that sorts out my problem. please assist me.
I'm running on Windows 7 Professional (32bit) (I have previously tried on the 64 bit version with teh same results).
Here's teh contents of my listener.ora file:
# listener.ora Network Configuration File: C:\app\Damien\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\Damien\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\Damien\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = ipc))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.4)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
ADR_BASE_LISTENER = C:\app\Damien
Here's the contents of my tsnames.ora:
# tnsnames.ora Network Configuration File: C:\app\Damien\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
Here is the last fe lines of my emConfig.log:
Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Damien\product\11.2.0\dbhome_1, and user: SYSMAN
Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
CONFIG: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1903)
at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3230)
at oracle.sysman.emcp.EMReposConfig.unlockMGMTAccount(EMReposConfig.java:1001)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:346)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
at java.lang.Thread.run(Thread.java:595)
Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
Refer to the log file at C:\app\Damien\cfgtoollogs\dbca\orcl\emConfig.log for more details.
Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3245)
at oracle.sysman.emcp.EMReposConfig.unlockMGMTAccount(EMReposConfig.java:1001)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:346)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
at java.lang.Thread.run(Thread.java:595)
Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\Damien\product\11.2.0\dbhome_1\oui
My Listner status output is here:
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-JAN-2014 10:14:39
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ipc)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
Start Date 18-JAN-2014 09:27:34
Uptime 0 days 0 hr. 47 min. 6 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\Damien\product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File c:\app\damien\diag\tnslsnr\LONDON\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\ipcipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.4)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
I can login as sys into my database through sqlplus, so it seems the database is up and running, it just seems to be a listener problem maybe??
Many thanks for any assistance that you give. I'm learning so be gentle...
DamienSOLVED!
OK all solved now, thanks to the link to Ed Stevens website that Baris posted (mucho respect )
Seems that like Barus said I was not using Dynamic Registration, which means that I would need to manua
ly update the listerner.ora file. On top of that it seems that for some my tnsnames.ora wasn't resolving mt database name so the tnsping wasfailing.
What I did to solve the name resolution problem
1. Opened the
Network Configuration Assistant and saw that my listener didnt have my DB registered with it. So I added it. What this horrible GUI tool does is update the tnsnames and listener.ora files for you. So once that was done I went to the command prompt and did ;'tnsping <dn name> and hey presto it was getting a nice response.
Then I re-ran my DB Configuration Assistant and tried to reconfigure my database. However it aing failed and gave me the same message that I was originally getting about the DB Service not being registered etc..the lister status still said that same thing:
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
the 'unknown' means that the DB didnt tell the listener that it was there but instead the listener is in manual mode and will just use the configuration in the listener.ora to know where the DB is.
So then I followed the steps on the ED Stevens website (follow the link). He has steps which show how to enable Dynanmic registration so that your DB regusters itself with the listener. In a nutshell, he states that he listener actually doesnt need the listerner.ora if using dynamic registration. I shutdown the DB, stopped the listener then I renamed the lsitener.ora to listerner.old, then started the lietener and checked the status and it said 'the listener supports no service' I then started the DB and, then resched teh listener status, it then read 'status: READY'... hooray!, the DB had dynamically registered itself with the listener. I then was able to successfully start up and run Enterprise Manager.
Thanks for all your help Baris, and Ed Steven website.
I know more now than when I started so I'm happy.
Thanks. -
Cannot connect: ORA-12505 error (listener does not know SID..)
I have an Oracle 10g installation insde a VM with private IP (192.168.109.128) and I'm trying to access it from the host operating system with aqua data studio, but get ORA-12505 error (listener does not currently know of SID...). The identical error occurs if I try to cennect from within the VM itself.
"tnsping dbdemo" prints:
==================
Used parameter files:
C:\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 = VMDSINW2K3S)(PORT = 1521)) (CONNECT_DATA =
(SERVER = DEDICATED) (SERVICE_NAME = dbdemo.datadsin)))
OK (10 msec)
and lsnrctl status:
=============
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Start Date 12-MAR-2007 15:22:55
Uptime 0 days 0 hr. 5 min. 14 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VMDSINW2K3S)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
and the listener.log:
===============
12-MAR-2007 15:29:21 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1325)) * establish * dbdemo.datadsin * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
12-MAR-2007 15:29:21 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1327)) * establish * dbdemo.datadsin * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
12-MAR-2007 15:29:21 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1328)) * establish * dbdemo.datadsin * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
12-MAR-2007 15:29:45 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1331)) * establish * dbdemo.datadsin * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
12-MAR-2007 15:29:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1335)) * establish * dbdemo.datadsin * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
12-MAR-2007 15:29:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1336)) * establish * dbdemo.datadsin * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
12-MAR-2007 15:29:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1338)) * establish * dbdemo.datadsin * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
12-MAR-2007 15:29:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1339)) * establish * dbdemo.datadsin * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
my sqlnet.ora is:
============
# sqlnet.ora Network Configuration File: C:\oracle\product\10.2.0\db_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)12514, 00000, "TNS:listener does not currently know of service requested in connect descriptor"
// *Cause: The listener received a request to establish a connection to a
// database or other service. The connect descriptor received by the listener
// specified a service name for a service (usually a database service)
// that either has not yet dynamically registered with the listener or has
// not been statically configured for the listener. This may be a temporary
// condition such as after the listener has started, but before the database
// instance has registered with the listener.
// *Action:
// - Wait a moment and try to connect a second time.
// - Check which services are currently known by the listener by executing:
// lsnrctl services <listener name>
// - Check that the SERVICE_NAME parameter in the connect descriptor of the
// net service name used specifies a service known by the listener.
// - If an easy connect naming connect identifier was used, check that
// the service name specified is a service known by the listener.
// - Check for an event in the listener.log file. -
LSNRCTL> start LISTENER_CORPNG04
Starting /ora00/app/oracle/product/11/db1/bin/tnslsnr: please wait...
TNSLSNR for HPUX: Version 11.1.0.7.0 - Production
System parameter file is /ora00/app/oracle/product/11/db1/network/admin/listener.ora
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vir_corpng04)(PORT=1521)(IP=FIRST)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
HPUX Error: 227: Can't assign requested address
Listener failed to start. See the error message(s) above...
LSNRCTL>
Plz help its production system
Thanks in Advance
GaganSee link
Rgds -
Error starting listener on single node in RAC..Error listening on: (DESCRIP
LSNRCTL> start LISTENER_CORPNG04
Starting /ora00/app/oracle/product/11/db1/bin/tnslsnr: please wait...
TNSLSNR for HPUX: Version 11.1.0.7.0 - Production
System parameter file is /ora00/app/oracle/product/11/db1/network/admin/listener.ora
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vir_corpng04)(PORT=1521)(IP=FIRST)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
HPUX Error: 227: Can't assign requested address
Listener failed to start. See the error message(s) above...
LSNRCTL>
Plz help its production system
Thanks in Advance
GaganHello,s
First of all, check the status of all resources by using crs_stat -t
Check if your VIP resource is indeed up and running on the node where you want to start the listener. As listener is depending upon this VIP address, it is needed to be up on the node where listener is configured. If this is the case then relocate the vip back to the system by using either of the following commands
1. crs_relocate <vip_resource_name>
OR
2. srvctl start nodeapps -n <hostname>
listener should be automatically up once crs relocates back the vip to the system.
If vip is already running fine on the system then check for your listener configuration as you check in normal systems.
Lalit Verma
[http://sites.google.com/site/racinsights1] -
Cannot listen on public address
Hello,
I'm setting a Oracle Database inside an Amazon EC2 instance and I want it to be accessible from the outside. However, when I'm starting the listener, I've got this error :
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=test-db)(PORT=1521)))
TNS-12543: TNS:destination host unreachable
TNS-12560: TNS:protocol adapter error
TNS-00513: Destination host unreachable
Linux Error: 113: No route to host
In my hosts file, I've added this line to correctly resolve the "test-db" host (x.x.x.x is the public IP of my EC2 instance). Pinging "test-db" does work properly
x.x.x.x test-db.fic-test-lab.com test-db
And finally, my listener.ora file looks like this:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = test-db)(PORT = 1521))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=orcl)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME=orcl)
If I change "test-db" to "127.0.0.1", everything works perfectly, but the database is obviously not accessible from the outside. I can't find what step I'm missing...
Thanks,
jtellierdamorgan - I'm simply trying to set up a database that would be publicly accessible. The database version is 11gR2.
It was my understanding that if the address specified in listener.ora was 127.0.0.1, the listener would only accept connections from localhost, not from the outside. And that's what seems to be happening for me.
Pradeepan - When starting the listener without any listener.ora, I've got this error:
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test-db.fic-test-lab.com)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12543: TNS:destination host unreachable
TNS-12560: TNS:protocol adapter error
TNS-00513: Destination host unreachable
Linux Error: 113: No route to host
sb92075 - Yes, it would make sense... ifconfig shows that eth0 has a 10. address and it doesn't show any interface with the public address. After reading the page posted by jgarry regarding EC2 instances addressing, I understand that the public IP is only used by NAT and is not known by the OS. So yeah, the cause seems to be the OS...
jgarry - Yes, it's the same address.
So now, if I understand the problem correctly with the additional info in the page posted by jgarry, the problem is that I can't put the public address in my listener.ora file because the OS doesn't know about this address. On the other hand, if the listener listen on localhost, it wont accept connections from the outside. Does that make sense?
Thanks,
--jtellier -
I am getting this error while starting listener
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.102.152.32 )(PORT=1521)))
TNS-12560: TNS:protocol adapter error
TNS-00583: Valid node checking: unable to parse configuration parameterspost sqlnet.ora and listener.ora
-
Help: Error message "ORA-12560 TNS:Protocol Adapter Error "
I tried to install Oracle 8i EE version 8.1.7 on Windows 2000. Everything is OK until the installation proceeded to installing "Oracle Database Configuration Assistant". At that point, I got an error message "ORA-12560 TNS:Protocol Adapter Error (network not loaded)". I looked up the error message. The cause of the error said: "This error occurs when the SQL*Net driver cannot find the JSB driver because you may have either forgotten to load the JSB driver (for instance MFTP) or used an incorrect TCP_VENDOR key (for example, TCP_VENDOR=NOVLWP).". And the suggested action said: "Load the JSB driver or use the correct TCP_VENDOR key.". I am using a standalone PC with Windows 2000 at home, and the PC does not connect to any network(except that I can dialup to internet via modem). What should I do? I can't understand the error message. Any expert to help me overcome the error?
nulldatabase tnsnames.ora
=========
# TNSNAMES.ORA Network Configuration File: D:\Oracle\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = mohsin-pc)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = mohsin-pc)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
developer 10g tnsnames.ora
==============
# tnsnames.ora Network Configuration File: D:\Forms\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.132)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = Dedicated)
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = mohsin-pc)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
Please tell me what changes I needed
database serivice name is "ORCL'
and my pc name is "mohsin-pc" -
TNS-12560: TNS:protocol adapter error listener not starting up.
Hi all
we came to an issue where we have to move our server from one data centre to another after unplugging the machine and re-plugging the server
1) Operating system (OEL 5.1) started.
2) Database 11gR2 started.
3) Listener Failed to Start.
[oracle@yam01 tmp]$ lsnrctl start lsn_yscc12
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-OCT-2012 07:57:58
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2.0/bin/tnslsnr: please wait...
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
[oracle@yam01 tmp]$
When checked in sqlnet.log we found.
[oracle@yam01 log]$ cat sqlnet.log
Directory does not exist for read/write [u01/app/oracle/product/11.2.0/log] [u01/app/oracle/product/11.2.0/log/diag/clients]
[oracle@yam01 log]$
/u01/app/oracle/product/11.2.0/log
/u01/app/oracle/product/11.2.0/log/diag/clients --> here under diag folder client folder was missing.
drwxrwxr-x 3 oracle oinstall 4096 Sep 30 12:59 /u01/app/oracle/product/11.2.0/log/diag/
*[oracle@yam01 log]$ cd /u01/app/oracle/product/11.2.0/log/diag/clients*
-bash: cd: /u01/app/oracle/product/11.2.0/log/diag/clients: No such file or directory
*[oracle@yam01 log]*
[oracle@yam01 diag]$ mkdir clients
[oracle@yam01 diag]$ ls -ltr
total 12
drwxr-x--- 3 oracle oinstall 4096 Sep 30 12:59 rdbms
-rw-r----- 1 oracle oinstall 15 Oct 2 07:43 adrci_dir.mif
drwxr-xr-x 2 oracle oinstall 4096 Oct 2 08:27 clients
[oracle@yam01 diag]$
and added *"SUBSCRIBE_FOR_NODE_DOWN_EVENT_lsn_yscc12=OFF"*
and then when started all the listener it started successfully.+_
[oracle@yam01 ~]$ lsnrctl status lsn_yscc12
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-OCT-2012 08:40:19
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=100.100.50.199)(PORT=1603)))
STATUS of the LISTENER
Alias lsn_yscc12
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 02-OCT-2012 08:28:09
Uptime 0 days 0 hr. 12 min. 9 sec
Trace Level admin
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/yam01/lsn_yscc12/alert/log.xml
Listener Trace File /u01/app/oracle/diag/tnslsnr/yam01/lsn_yscc12/trace/ora_10095_3086223040.trc
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=100.100.50.199)(PORT=1603)))
Services Summary...
Service "YSCC12.YAMAMACEMENT.COM" has 1 instance(s).
Instance "yscc12", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@yam01 ~]$
Thanks all for Reading this post
hope if you came across this issues this may work for you.
Best Regards
Kaleem.Welcome to OTN
Thank you For you sharing :) -
hey guys,
I need a little help with a transformer. Has anybody used an error Listener with a transformer before.
i would need a little example if possible.
Thanks
KrisI added sqlnet trace 16 level to sqlnet.ora file and tried connecting again. I see the following in sqlnet.log
Fatal NI connect error 12502, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=yavssbldbscan1.*******.com)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=vsiebprd.*********.com)(CID=(PROGRAM=sqlplus)(HOST=yasiebproddb01.********.com)(USER=siebelprod))))
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.1.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
Time: 09-MAY-2011 16:04:02
Tracing to file: /tmp/client_13779.trc
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 0
Part of the trace file shows errors:
(1451610784) [09-MAY-2011 16:04:02:714] nladtrm: exit
(1451610784) [09-MAY-2011 16:04:02:714] nscall: error exit
(1451610784) [09-MAY-2011 16:04:02:718] nioqper: error from nscall
(1451610784) [09-MAY-2011 16:04:02:718] nioqper: ns main err code: 12564
(1451610784) [09-MAY-2011 16:04:02:718] nioqper: ns (2) err code: 12560
(1451610784) [09-MAY-2011 16:04:02:718] nioqper: nt main err code: 505
(1451610784) [09-MAY-2011 16:04:02:718] nioqper: nt (2) err code: 0
(1451610784) [09-MAY-2011 16:04:02:718] nioqper: nt OS err code: 0
(1451610784) [09-MAY-2011 16:04:02:718] niomapnserror: entry
(1451610784) [09-MAY-2011 16:04:02:718] niqme: entry
(1451610784) [09-MAY-2011 16:04:02:718] niqme: reporting NS-12564 error as ORA-12564
(1451610784) [09-MAY-2011 16:04:02:724] niqme: exit
(1451610784) [09-MAY-2011 16:04:02:724] niomapnserror: exit
(1451610784) [09-MAY-2011 16:04:02:724] niqme: entry
(1451610784) [09-MAY-2011 16:04:02:724] niqme: reporting NSG-12502 error as ORA-12502
(1451610784) [09-MAY-2011 16:04:02:724] niqme: exit
(1451610784) [09-MAY-2011 16:04:02:724] niotns: Couldn't connect, returning 12502 -
Hi...
I'm able to configure AlwaysOn and all things are great.
I have a problem only when create a listener , I have two node in same data center (SQLP1,SQLP2) and one in DR data center (SQLD1)
SQLP1 + SQLP2 > Sync
SQLD1 > Async
The error I face is
The specified IP Address 'IP' is not valid in the cluster-allowed IP range.
Check with the network administrator to select values that are appropriate for the cluster-allowed IP range.
(.Net SqlClient Data Provider)
I went through some suggestion and found a permission required (create computer objects) and I give it but still error show up.
I follow the same as here
http://blogs.msdn.com/b/psssql/archive/2013/09/30/error-during-installation-of-an-sql-server-failover-cluster-instance.aspxHi
Thanks for your follow up. I hope the below information is enough
Creating Listener through visual studio wizard “Add listener”
Hostname
IP Address
Description
SQLP1
Public
10.190.255.90/
Subnet 10.190.255.0/24
Private
10.192.255.90
subnet 10.192.255.0/24
MS SQL AlwaysOn Availability Test Lab Server 1 – Main DC
SQLP2
Public
10.190.255.91
Subnet 10.190.255.0/24
Private
10.192.255.91
subnet 10.192.255.0/24
MS SQL AlwaysOn Availability Test Lab Server 2 – Main DC
SQLDR1
10.193.255.90/
subnet 10.193.255.0/24
Private
10.194.255.90
subnet 10.194.255.0/24
MS SQL AlwaysOn Availability Test Lab Server 1 – DR DC
10.190.255.93
SQL Always on listener -
One of my exchange 2010 servers dpm agent is give the following error when the dpmra service attempts to start.
The DPMRA service terminated with service-specific error Only one usage of each socket address (protocol/network address/port) is normally permitted..
I have tried uninstalling/reinstalling the agent but this does not resolve the issue
Any help would be greatly appreciated.
Thanks
William HicksonHi
Something has probably changed on the protected server side that affects the DPM agent. In some cases the DCOM configuration could change. Look at this blogpost and verify your DPMRA DCOM object.
http://robertanddpm.blogspot.com/2010/08/dpm-ra-rights.html
If this doesn't do the trick try reinstall the agent.
Best Regards
Robert Hedblom
MVP DPM
Check out my DPM blog @ http://robertanddpm.blogspot.com -
Error starting HTTP-Server: Address in use: JVM_Bind
I installed J2ee version of Oracle9iAS R2 for windows. When I start my application server, I always get the error "Error starting HTTP-Server: Address in use: JVM_Bind". In the previous version, if I met this message, I can change the port number in "http-web-site.xml", but now, no matter what port number I changed, I always get this error message.
Could anybody please help me with this issue?
Can Oracle provides a tool that can automatically free the port?
Thanks, JessieIf you are getting this error while starting the Oracle9iAS by using the NT services or using command line (dcmctl) then there is a port conflict for the HTTP Server. You can go the EM Website and select HTTP Server ->Server properties and select the port# for the HTTP Server.
OC4J is configured to listen for AJP requests only and the ports are dynamically assigned. The port ranges can be specified : OC4J Instance -> Server Properties
regards
Debu Panda
Oracle
Maybe you are looking for
-
Is there a way to add a column after a filled DataTable from SQL with the same rows?
My problem is that not to add rows like filled by SQLDataAdapter at the same row in DataGridView. How to make that? I showed below the details with my code also a screen shot, which shows the rows differences from the origin one. I don't want to add
-
How do I use a second computer as a monitor?
Hi, I have an iMac and a MacBook Pro. I want to primarily use my iMac and use my macbook as a monitor. I'm a musician and I want to run Ableton on one screen and maschine on another. For some reason I can't find any forums explaining this, unless I'm
-
How can I disable html5 videos from displaying on web pages?
I use yahoo.com as my "news" page. In the last month or so there are more and more small format videos next to the new article. Used to be just a still pic, but now more "invasive". If I had my way I'd still click on "text only" like the old modem da
-
I'm sorry I keep asking question but my company just switched to the BlueJ program and I'm not quite fond of it yet. My Issue is that I need to add the change program from this: Initial balance? 2000 Interest rate? 4 Number of periods? 8
-
I am using the newest release (Version 1.1.0.21 Build MAIN-21.97) and thought that the spreadsheet importing mechanism was now working. It appears that it is now giving errors as soon as I choose a spreadsheet to import. I have tried shutting down th