Which TNS listener is running!
I have both Oracle8.0.5 client and Oracle8.1.6 server installed on a WindowsNT machine. However only one TNS-listener service can be started on this machine.
How do I find out programmatically (through a VB program) which tns-listener is currently running on that machine.
(My ultimate aim is to find the location of "tnsnames.ora" used by the running tns-listener! )
Thanks in advance,
(byju)
Only database server requires LISTENER. Client does not require LISTENER to make the connection.
In you case, You should configure LISTENER for Oracle 8.1.6. You can check the version of listener by LSNRCTL.EXE. Type STATUS in the LSNRCTL prompt. It will show the status and version of listener.
The location of TNSNAMES.ORA should only be located by registry.
Determine oracle home directory by the value of \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ORALE_HOME.
Append '\network\admin' to the path. The TNSNAMES.ORA in that directory is the one you are looking for.
Steve
Similar Messages
-
TNS Listener is running?
Hello,
I'm trying to find if the TNS lister is running corrrectly?
I run command: lsnrctl status
The result is:
===========================================
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 10-MAR-2006 10:52:12
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Produ
ction
Start Date 09-MAR-2006 15:31:59
Uptime 0 days 19 hr. 20 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\oracle\product\10.1.0\Db_1\network\admin\listener.o
ra
Listener Log File E:\oracle\product\10.1.0\Db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mypcname.mydomainanme)(PORT=8080))(Pre
sentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mypcname.mydomainanme)(PORT=2100))(Pre
sentation=FTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 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
==================================
My oracle10g database service name is: orcl
So I run this command:
C:\>lsnrctl status orcl
the result is:
===============================
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 10-MAR-2006 11:03
:35
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mypcname.mydomainanme)(POR
T=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
=====================================================
From above result, I got some error when I run lsnrctl status orcl. Can someone help answer the reason for the error?
Thanks a million for your instruction,
EmilyPresumably the orcl service is up and running - and has not been take down in the 10 minutes between the original 'lsnrctl status' and the 'lsnrctl status orcl'.
Doing the same on my machine, using XE ... lsnrctl status, lsnrctl status XE (with XE up) and, lsnrctl status XE (with XE down) and finally stopping the listener.
oracle@fuzzy:~> lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 10-MAR-2006 10:46:58
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting 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 10-MAR-2006 08:01:59
Uptime 0 days 2 hr. 44 min. 59 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fuzzy.forbrichcomputing.ca)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fuzzy.forbrichcomputing.ca)(PORT=8081))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XE" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
The command completed successfully
oracle@fuzzy:~> lsnrctl status XE
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 10-MAR-2006 10:47:03
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=fuzzy)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 10-MAR-2006 08:01:59
Uptime 0 days 2 hr. 45 min. 4 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fuzzy.forbrichcomputing.ca)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fuzzy.forbrichcomputing.ca)(PORT=8081))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XE" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
The command completed successfully
oracle@fuzzy:~> sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Mar 10 10:49:21 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> shutdown immediate
exit
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
oracle@fuzzy:~> lsnrctl status XE
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 10-MAR-2006 10:49:41
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=fuzzy)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 10-MAR-2006 08:01:59
Uptime 0 days 2 hr. 47 min. 42 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fuzzy.forbrichcomputing.ca)(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
oracle@fuzzy:~>
oracle@fuzzy:~> lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 10-MAR-2006 10:52:59
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
The command completed successfully
oracle@fuzzy:~> lsnrctl status XE
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 10-MAR-2006 10:53:02
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=fuzzy)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
oracle@fuzzy:~> -
Is TNS Listener running?
Hello,
I'm trying to find if the TNS lister is running corrrectly?
If I run command: lsnrctl status
The result is:
===========================================
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 10-MAR-2006 10:52:12
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Produ
ction
Start Date 09-MAR-2006 15:31:59
Uptime 0 days 19 hr. 20 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\oracle\product\10.1.0\Db_1\network\admin\listener.o
ra
Listener Log File E:\oracle\product\10.1.0\Db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mypcname.mydomainanme)(PORT=8080))(Pre
sentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mypcname.mydomainanme)(PORT=2100))(Pre
sentation=FTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 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
==================================
My oracle10g database service name is: orcl
So I run this command: lsnrctl status orcl
C:\>lsnrctl status orcl
the result is:
===============================
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 10-MAR-2006 11:03
:35
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mypcname.mydomainanme)(POR
T=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
=====================================================
From above result, I got some error when I run lsnrctl status orcl. Can someone help answer the reason for the error? Is the TNS Listener is running correctly?
Thanks a million for your instruction,
Emilythe ORACLE_HOME environment variable has to point to the software directory where you Oracle software is installed.
The variable is picked up by oracle client software, were to search for is libary and eg. language files.
In your case ORACLE_HOME=E:\oracle\product\10.1.0\Db_1
ORACLE_BASE is another important variable, most of the time it points to the directory which is one directory above ORACLE_HOME, so in you case
ORACLE_BASE=E:\oracle\product\10.1.0\
These variables are on windows default set during the software installation, in you registry (HKEY_LOCAL_MACHINE), but as you apparently found out you can set them also on the command prompt to overrule the defaults.
Q1
You don't have to remove all the variables in your PATH setting, just be sure that the client software you are trying to execute is using the correct oracle variables. So be aware that the corresponding ORACLE_HOME variable is one of the first to be mentioned in your path setting. Otherwise use
set ORACLE_HOME=E:\oracle\product\10.1.0\Db_1
set PATH=%ORACLE_HOME%;%PATH%
or on unix/linux
export ORACLE_HOME=.... ;
export PATH=$ORACLE_HOME:$PATH
if you want start start, for example sqlplusw.exe (sqlplus windows), set your path as follows
set ORACLE_HOME=E:\oracle\product\10.1.0\Db_1
set PATH=%ORACLE_HOME%\bin;%PATH%
(sqlplusw.exe or most other executables are located in the "bin" directory)
Q2
The remark in the manual is a precaution because the installation will set ORACLE_HOME themselfs. So just get yourself a windows command window/prompt
type c:> set ORACLE_HOME=
this will clear the variable. Now go to the directory where the setup.exe executable is and execute it.
Q3
i didn't read it, but the SID or ORACLE_SID is a uniek identifier which gives the database its uniek name. This name is linked to as service in windows, called in Oracle terms the Oracle instance (memory part of the database and its threads/daemons). The GLOBAL_DATABASE_NAME is a more friendly name for the database which most of the time is a sort of fully qualified (database) name. (databasename.servername.networkname.etc)
Q4
as said ORACLE_HOME is used by the oracle programs. The "know" that in sub directory BIN the executables are located, in the sub directory NETWORK/ADMIN the default sqlnet configuration files, in the sub-directory NLS the message files can be found etc, etc, etc. It''s for Oracle prog. use only...(more or less) -
How can I tell if the TNS listener is running? I'm getting the
following errors when trying DBI/DBD:
DBI->connect failed: ORA-12224: TNS:no listener (DBD ERROR:
OCIServerAttach) at hellodbhandle.pl line 4
DBI->connect failed: ORA-12224: TNS:no listener (DBD ERROR:
OCIServerAttach)
Thanks,
Marco
nullps -ef | grep oracle
should show all oracle processes including listener. Good luck
Marco Shaw (guest) wrote:
: Never mind...found the command lsnrctl.
: Marco
: Marco Shaw (guest) wrote:
: : How can I tell if the TNS listener is running? I'm getting
the
: : following errors when trying DBI/DBD:
: : DBI->connect failed: ORA-12224: TNS:no listener (DBD ERROR:
: : OCIServerAttach) at hellodbhandle.pl line 4
: : DBI->connect failed: ORA-12224: TNS:no listener (DBD ERROR:
: : OCIServerAttach)
: : Thanks,
: : Marco
null -
Problem: ORA-12514, TNS:listener does not currently know of service request
When I enter a command for an Oracle 10g Express installation I am getting the following error:
Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
(c) Copyright 2006 Oracle Corporation. All rights reserved.
Running IRCA for all product(s):
connection="localhost 1521 orcl", -overwrite, orabpelUser=ORABPEL, esbUser=ORAESB, orawsmUser=ORAWSM
ERROR: Failed to establish database connection due to the following error:
Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))
Please check your connection parameters and try again.
Hmm, whats wrong?
Listener status yields:
D:\db\install\soa_schemas\irca>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 10-FEB-2008 13:04:22
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS des LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Startdate 10-FEB-2008 12:48:44
Uptime 0 days 0 hours. 15 min. 38 sec.
Trace-Level off
Security ON: Local OS Authentication
SNMP OFF
Standard-Service XE
Parameter file of listener D:\Oracle\app\oracle\product\10.2.0\server\network\admin\listener.ora
Log file of listener D:\Oracle\app\oracle\product\10.2.0\server\network\log\listener.log
Summary listener endpoints...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=8080))(Presentation=HTTP)(Session=RAW))
Services overview...
Service "CLRExtProc" hat 1 Instance(s).
Instance "CLRExtProc", Status UNKNOWN, has 1 Handler for this service...
Service "PLSExtProc" hat 1 Instance(s).
Instance "PLSExtProc", Status UNKNOWN, has 1 Handler for this service...
Service "XEXDB" hat 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Service "XE_XPT" hat 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Service "xe" hat 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
The command was successfully executed.
D:\db\install\soa_schemas\irca>lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 10-FEB-2008 13:18:59
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
Services _bersicht...
Service "CLRExtProc" has 1 Instance(s).
Instance "CLRExtProc", Status UNKNOWN, has 1 Handler for this service...
Handler:
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "PLSExtProc" has 1 Instance(s).
Instance "PLSExtProc", Status UNKNOWN, has 1 Handler for this service...
Handler:
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "XEXDB" has 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Handler:
"D000" established:0 refused:0 current:0 max:1002 Status:ready
DISPATCHER <machine: LOCALHOST, pid: 3584>
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1049))
Service "XE_XPT" has 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Handler:
"DEDICATED" established:1 refused:0 Status:ready
LOCAL SERVER
Service "xe" has 1 Instance(s).
Instance "xe", Status READY, has 1 Handler for this service...
Handler:
"DEDICATED" established:1 refused:0 Status:ready
LOCAL SERVER
The command was successfully executed.Hi,
no, you got it wrong:
Oracle uses network services which are a logical representation of the database to resolve network requests.
in your ntsnames.ora file you have the following:
network_alias = my_alias -- here you can write anything you just need to resolve it correctly
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(host=hostname or IP)
(port=listener adapter port)
) -- this a complete socket information of the listener adapter!!
(CONNECT_DATA=
(SERVICE=your_service) -- this is what you tell the listener about the service you want to connect to. It is defined in the instance with the paramter service_names
In general it is network aliasses which are resolved with connect descriptor in the tnsnames.ora.
A connect decriptor consists of the address part + the connect_data part.
The address part is used to reach the listener.
The connect_data part is the information you hand over to the listener.
So the listener must know the service name.
The listener can either know this from the instance itself. When an Oracle instance is started it tries to registrer itself with a listener which listens on port 1521 for the protocol TCP.
The instance tell this listener two paramater values: INSTANCE_NAME and SERVICE_NAMES. Then the listener knows the instance and which services are defined. It is just a reprentation of the database to the listener.
If the listerner knows the service requested with a connect, it can establish a connection to a service handler. This could be a dedicated server process or a dispatcher.
Another mehtod to let the listener know the service requested is so called static regustration of the instance. This is made with an SID LIST in the listener.ora file.
Then the listener knows SID for the instance plus ORACLE_HOME and can find the executable to start a server process for a connect request.
Hope it helps a little-.
=;-)
If you have further questions pls do not hesitate to ask. O.K.? -
Problems with tns/listener
Hi,
i have a question regarding a problem i am experiencing in my development oracle env.
i have 2 instances - oracle 11.2.01 and 11.2.0.3.(windows 2008 enterprise)
We were able to connect to both instances without any issues. Few days back we started noticing a strange issue.
We can connect to oracle 11.2.0.3 but not 11.2.0.1.
what happens is when i type in sqlplus username/[email protected] sqlplus connects after a while. It takes good 1.25 minutes.
and sqlplus username/[email protected] connects instantly.
One interesting thing is when i say sqlplus username/password, sqlplus instantly connects to oracle11.2.0.1. Well,
this is because i have my windows system variable defined oracle_sid=oracle11.2.0.1
my question is, does anybody know the reason this cna happen? is anybody familiar? it all started happening one fine evening last week.
The error messsage i see in alert logs are
/* In alert log */
Fatal NI connect error 12570, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Time: 14-JUN-2013 14:21:20
Tracing not turned on.
Tns error struct:
ns main err code: 12570
TNS-12570: TNS:packet reader failure
ns secondary err code: 12560
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
opiodr aborting process unknown ospid (6720) as a result of ORA-609
/* In listener tarce file */
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
** DBGRL Error: 11-JUN-2013 16:51:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=FOD-ORADB-DEV$))(SERVICE_NAME=NETLINKII)) * (ADDRESS=(PROTOCOL=tcp)(HOST=128.146.195.86)(PORT=61592)) * establish * NETLINKII * 12560
** DBGRL Error: Text Alert Log
** DBGRL Error: SLERC_OERC, 48180
** DBGRL Error: OSD-00001: additional error information
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
** DBGRL Error: TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
64-bit Windows Error: 53: Unknown error
TNS-12518: TNS:listener could not hand off client connection
TNS-12571: TNS:packet writer failure
TNS-12560: TNS:protocol adapter
Thanks for the help in advance.
Srinath946544 wrote:
Hi,
i have a question regarding a problem i am experiencing in my development oracle env.
i have 2 instances - oracle 11.2.01 and 11.2.0.3.(windows 2008 enterprise)
We were able to connect to both instances without any issues. Few days back we started noticing a strange issue.
We can connect to oracle 11.2.0.3 but not 11.2.0.1.
what happens is when i type in sqlplus username/[email protected] sqlplus connects after a while. It takes good 1.25 minutes.
and sqlplus username/[email protected] connects instantly.
One interesting thing is when i say sqlplus username/password, sqlplus instantly connects to oracle11.2.0.1. Well,
this is because i have my windows system variable defined oracle_sid=oracle11.2.0.1
my question is, does anybody know the reason this cna happen? is anybody familiar? it all started happening one fine evening last week.
The error messsage i see in alert logs are
/* In alert log */
Fatal NI connect error 12570, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Time: 14-JUN-2013 14:21:20
Tracing not turned on.
Tns error struct:
ns main err code: 12570
TNS-12570: TNS:packet reader failure
ns secondary err code: 12560
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
opiodr aborting process unknown ospid (6720) as a result of ORA-609
/* In listener tarce file */
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
** DBGRL Error: 11-JUN-2013 16:51:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=FOD-ORADB-DEV$))(SERVICE_NAME=NETLINKII)) * (ADDRESS=(PROTOCOL=tcp)(HOST=128.146.195.86)(PORT=61592)) * establish * NETLINKII * 12560
** DBGRL Error: Text Alert Log
** DBGRL Error: SLERC_OERC, 48180
** DBGRL Error: OSD-00001: additional error information
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
** DBGRL Error: TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
64-bit Windows Error: 53: Unknown error
TNS-12518: TNS:listener could not hand off client connection
TNS-12571: TNS:packet writer failure
TNS-12560: TNS:protocol adapter
Thanks for the help in advance.
Srinath
by definition, you have two different ORACLE_HOME folders.
You should be running a single listener from the V11.2.0.3 directory; which depends upon the content of the PATH variable.
Are the OS Services for both the database & listener started & running now.
Unfortunately, the ORA-12560 is somewhat of a catchall error that results from a handful of different causes. -
Oracle 10g TNS listener service
Hi Friends,
I have installed Oracle 10g in my windows
vista. When i try to start TNS listener through services window
manually, it is giving the below error.
"windows could not start the OracleOraDb10g_home1TNSListener service
on Local Computer.
Error 3: The System cannot find the path specified"
If you have an idea about this please help me out. I need to solve it
immediately. Please respond for this as early as possible.
Thanks,
Surendra Kumarsridhar yerram wrote:
My listner.ora contents are as follows :
# listener.ora Network Configuration File: D:\oracle\product\10.1.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\product\10.1.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
My tnsnames.ora file as follows ;
# tnsnames.ora Network Configuration File: D:\oracle\product\10.1.0\db_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
I was getting the following error when iam connecting using my tns name : scott/tiger@ORCL
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
all services for oracle are started , in services.msc i started all the services of oracle.
May i know exactly what are the services necessary to run the oracle 10g
regards
sridharWhy are you reviving a thread that has been dormant for 18 months and had nothing that looked at all like your problem?
Anyway ...
First, Is your client (from which you are running sqlplus) on the same machine as the database? If not, it will never connect as 'localhost' is a non-routable address.
Second, which version of windows is your database on?
Third, we see what your listener and tnsnames files look like, but that's not the whole story. Show us the results of :
c:> lsnrctl status(Use copy and paste to show us the full command and response from a command prompt)
Fourth, read my standard explanation and see if it leads you to any clues.
=================================
A couple of important points.
First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
Assume you have the following in your tnsnames.ora:
larry =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = curley)
)Now, when you issue a connect, say like this:
$> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
What can go wrong?
First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
===================================== -
TNS:listener does not currently know of service requested in connect
[Oracle 10g 10.1.0.2] TNS:listener does not currently know of service requested in connect
hi,
My system is Windows XP.
Oracle 10g : 10.1.0.2.0
I can connect through sqlplus (and toad) with the following command:
sqlplus scott/tiger /
but I cannot connect with this: sqlplus scott/tiger@localhost:1521:cambridg
I am trying to connect to my database cambridg on my computer (named eclipse).
Where is the problem ? Can anyone help me here ?
This is my tnsnames.ora
# tnsnames.ora Network Configuration File: c:\oracle\product\10.1.0\Db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
CAMBRIDG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ECLIPSE)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = cambridg)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
And my listener.ora :
# listener.ora Network Configuration File: c:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = c:\oracle\product\10.1.0\Db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ECLIPSE)(PORT = 1521))
A tnsping works perfect :
C:\bob>tnsping cambridg
TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 30-JUIL.
-2005 14:46:11
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ECLIPSE)
(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = cambridg)))
OK (20 msec)
I get the following message:
C:\>sqlplus scott/tiger@localhost:1521:cambridg
SQL*Plus: Release 10.1.0.2.0 - Production on Sam. Juil. 30 15:10:58 2005
Copyright (c) 1982, 2004, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Also, in the services running, I can see that the listener is started and running:
OracleOraDb10g_home1TNSListener
Maybe it has something to do with the other listener, that I cannot start:
OracleOraDb10g_home1TNSListenerSID_LIST_LISTENER
Any help would be much appreciated as I am currently stucked with that.
Thanks a lotMuhammad Nadeem wrote:
hi all,
I have the following error when try to connect the database thru form developer:
TNS:listener does not currently know of service requested in connect descriptor
any one have the solution?
Regards:
mn=================================
A couple of important points.
First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
Additional notes on the listener: One listener is capable of listening on multiple ports. But please notice that it is the listener using these ports, not the database instance. You can't bind a specific listener port to a specific db instance. Similarly, one listener is capable of listnening on multiple IP addresses (in the case of a server with multiple NICs) But just like the port, you can't bind a specific ip address to a specific db instance.
Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
Assume you have the following in your tnsnames.ora:
larry =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = curley)
)Now, when you issue a connect, say like this:
$> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Finding it, tns sends a request through the normal network stack to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
Next, the standard networking process delivers the message to port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, the listener will spawn a server process to act as the intermediary between your client and the database instance. Communication to the server process will be on a randomly selected available port. At that point the listener is out of the process and continues to user port 1521 to await other connection requests.
What can go wrong?
First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
Third: If the client is on the same machine as the db instance, it is possible to connect without referencing tnsnames and without going through the listener.
Now, when you issue a connect, say like this:
$> sqlplus scott/tigertns will attempt to establish an IPC connection to the db instance. How does it know the name of the instance? It uses the current value of the enviornment variable ORACLE_SID. So...
$> export ORACLE_SID=fred
$> sqlplus scott/tigerIt will attempt to connect to the instance known as "fred". If there is no such instance, it will, of course, fail. Also, if there is no value set for ORACLE_SID, the connect will fail.
check executing instances to get the SID
[oracle@vmlnx01 ~]$ ps -ef|grep pmon|grep -v grep
oracle 4236 1 0 10:30 ? 00:00:00 ora_pmon_vlnxora1set ORACLE_SID appropriately, and connect
[oracle@vmlnx01 ~]$ export ORACLE_SID='vlnxora1
[oracle@vmlnx01 ~]$ sqlplus scott/tiger
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:37 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNow set ORACLE_SID to a bogus value, and try to connect
SQL> exit
[oracle@vmlnx01 ~]$ export ORACLE_SID=FUBAR
[oracle@vmlnx01 ~]$ sqlplus scott/tiger
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:57 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Enter user-name: Now set ORACLE_SID to null, and try to connect
[oracle@vmlnx01 ~]$ export ORACLE_SID=
[oracle@vmlnx01 ~]$ sqlplus /scott/tiger
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:43:24 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-12162: TNS:net service name is incorrectly specifiedOk, that is how we get from the client connection request to the listener. What about the listener's part of all this?
The listener is very simple. It's job is to listen for connection requests and make the connection (server process) between the client and the database instance. Once that connection is made, the listener is out of the picture. If you were to kill the listener, all existing connections would continue. The listener is configured with the listener.ora file, but if that file doesn't exist, the listener is quite capable of starting up with all default values. One common mistake with the listner configuration is to specify "HOST=localhost" or "HOST=127.0.01". This is a NONROUTABLE ip address. LOCALHOST and ip address 127.0.0.1 always mean "this machine on which I am sitting". So, all computers are known as "localhost" or "127.0.0.1". If you specify this address, the listener will only be capable of receiving requests from the machine on which it is running. If you specified that address in your tnsnames file - on a remote client machine - the request would be routed to the machine on which the requesting client resides. Probably not what you want.
===================================== -
Hi Guys,
I got this already discussed error and I am sorry, to start a new topic, but I just have no idea what to do else.
I have oracle11g - 32 bit running on my Windows 7 64 bit machine.
The database-server is running fine according to the Database-Control Webinterface.
Connecting with SQLPlus also works
Now my application tries to connect to
Server: localhost
Database: orcl
User: System
PW: myPw
I get: ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
I was reading many threads here and so I tried to configure the standard-listener using the netmanager with an additional SID named "orcl" which results in this listener.ora:
Line: -----
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\app\Andinger\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:E:\app\Andinger\product\11.2.0\dbhome_1\bin\oraclr11.dll")
(SID_DESC =
(GLOBAL_DBNAME = Oracle8)
(SID_NAME = ORCL)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Andband)(PORT = 1521))
ADR_BASE_LISTENER = E:\app\Andinger
Line: -----
This is my tnsnames.ora
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Andband)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
Line: -----
What else could I check? What else could be the reason, that it doesn't work.
I appreciate any help, suggestins, hints... :)
Thanks
Andy
Edited by: 943829 on 01.07.2012 04:56
Edited by: 943829 on 01.07.2012 04:57Thanks for your fast reply!
Attached all the stuff you asked for:
First the result of tnsping:
TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-JUL-2
012 19:19:33
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Parameterdateien benutzt:
E:\app\Andinger\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Adapter EZCONNECT zur Aufl÷sung des Alias benutzt
Verbindungsversuch mit (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROT
OCOL=TCP)(HOST=fe80::341a:eb0:3f57:ff6d%13)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(H
OST=192.168.0.146)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=2001:0:5ef5:79fb:341a
:eb0:3f57:ff6d)(PORT=1521)))
OK (20 ms)
This is the content of sqlnet.ora
# sqlnet.ora Network Configuration File: E:\app\Andinger\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)
The status of the Listener:
C:\Users\Andinger>lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-JUL-2012 19:23
:25
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=Andband)(PORT=1521)))
STATUS des LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
ction
Startdatum 01-JUL-2012 13:07:18
Uptime 0 Tage 6 Std. 16 Min. 7 Sek.
Trace-Ebene off
Sicherheit ON: Local OS Authentication
SNMP OFF
Parameterdatei des Listener E:\app\Andinger\product\11.2.0\dbhome_1\network\admi
n\listener.ora
Log-Datei des Listener e:\app\andinger\diag\tnslsnr\Andband\listener\alert\lo
g.xml
Zusammenfassung Listening-Endpunkte...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Andband)(PORT=1521)))
Services ▄bersicht...
Dienst "CLRExtProc" hat 1 Instanzen.
Instanz "CLRExtProc", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
Dienst "Oracle8" hat 1 Instanzen.
Instanz "ORCL", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
Dienst "orcl" hat 1 Instanzen.
Instanz "orcl", Status READY, hat 1 Handler f³r diesen Dienst...
Dienst "orclXDB" hat 1 Instanzen.
Instanz "orcl", Status READY, hat 1 Handler f³r diesen Dienst...
Der Befehl wurde erfolgreich ausgef³hrt.
And the Listener Service information:
C:\Users\Andinger>lsnrctl service
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-JUL-2012 19:24
:37
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=Andband)(PORT=1521)))
Services ▄bersicht...
Dienst "CLRExtProc" hat 1 Instanzen.
Instanz "CLRExtProc", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
Handler:
"DEDICATED" eingerichtet:0 abgewiesen:0
LOCAL SERVER
Dienst "Oracle8" hat 1 Instanzen.
Instanz "ORCL", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
Handler:
"DEDICATED" eingerichtet:12 abgewiesen:0
LOCAL SERVER
Dienst "orcl" hat 1 Instanzen.
Instanz "orcl", Status READY, hat 1 Handler f³r diesen Dienst...
Handler:
"DEDICATED" festgelegt:371 abgelehnt:0 Status:ready
LOCAL SERVER
Dienst "orclXDB" hat 1 Instanzen.
Instanz "orcl", Status READY, hat 1 Handler f³r diesen Dienst...
Handler:
"D000" eingerichtet:0 abgewiesen:0 aktuell:0 max:1022 Status:ready
DISPATCHER <machine: ANDBAND, pid: 3980>
(ADDRESS=(PROTOCOL=tcp)(HOST=Andband)(PORT=49189))
Der Befehl wurde erfolgreich ausgef³hrt.
I hope that you understand it. I installed a german version. If it is a problem, I can install the english version. -
TNS Listener Poison attack : Oracle Security Alert for CVE-2012-1675
Hi,
I'm looking to implement the following oracle document about COST but not sure what we need to do for Standby Environment ,
Can you guys please advise.
Oracle Using Class of Secure Transport (COST) to Restrict Instance Registration [ID 1453883.1]
Oracle Security Alert for CVE-2012-1675
Thanksuser097815 wrote:
with regrads to the below thread which mostly talks about Oracle Security Alert for CVE-2012-1675 "TNS Listener Poison Attack"....i just wanted to find out if this effect DB that are externally or internally....meaning 95% of our DB are in network(internally) behind our firewall....and rest of the 5% are outside our firewall facing the world wide web....so does this apply to both of just one ?The attack is on the Listener itself - so if you want to prevent this attack, you need to secure that Listener, irrespective of its location.
IMO, mandatory if you expose your Listener to an unsecured or public network (e.g. internet).
As for Listeners running on your internal network - if this attack is used, securing your Listeners mean very little IMO. Because your internal network already needs to be compromised in order for the attack to occur. Which means you have far more serious problems then someone attacking your Listeners. -
TNS Listener stopping frequently.
Hi Team,
From few days i m facing below issue. As i m not aware of Database stuffs finding difficult to trace the error and the root cause for this issue.
Problem: TNS Listener stops even though the service seems to be running. Due to this my application stops and we are not able to access the application.
When i tried connecting to oracle Enterprise management console i get TNS Listener error, so i restarted the TNS listener service and my application services . Then everything worked fine.
I could see few errors in event viewer:
error: Faulting application TNSLSNR.EXE, version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000.
Please let me for further details. Immediate response will be appreciated.
Regards,
SalmaSada wrote:
Hi All,
Thanks for the reply,
Actually i m usinf export command to take backup. But even my system admin is using Symantec backup procedure to take backup of server.ie all folders prepsent in that server.
Please let me know which is the best solution to take backup.
Regards,
SalmaExport is not a backup of the physical database. It's output cannot be used to recover lost or corrupted database files. It knows nothing about checkpoints, control files, redo sequences etc. It's use is one part of a backup plan, but it is not sufficient on its own.
As a DBA it is your job to be able to recover the db, not your SA's. His backup plan is obviously no good for Oracle databases. -
ORA-12514: TNS:listener does not currently know of a service requested in
I have just installed 10g on a Windows 2000 server VM on an isolated network. 8.1.7 exists (and works) on the box and this is an upgrade where I am concurrently installing 10g and then importing the previous tablespace export.
However, I get ORA-12514: TNS:listener does not currently know of a service requested in connect descriptor error when trying to connect via SQL plus, (DOS and Windows version) and in the netconfig test.
TNSping on the service name works (edmsdev).
Any suggestions would be most appreciated.
tnsnames.ora
EDMSDEV =
(DESCRIPTION =
(ADDRESS_LIST
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.220.9.42)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = edmsdev)
EXTPROC...
Edited by: qtility on Nov 13, 2008 7:59 AMHi,
Thanks for that info. It seems the installer failed to create the database. When I tried to create a new database with the wizard it failed saying it could not modify the configuration files. There were no files open, no services running and explorer was not open. So I assume that there is something up with permissions so I added the user to permissions on the folders and child objects and am trying again to delete/create the database. After that the database completed correctly.
However, we still get the same error message and also the database service was not created properly.
We are now uninstalling 10g and re-installing 10g as a new user in a new directory.
The install went smoothly, with no erros, which suggests to me that the previous install was incorrect. However no the listener will not start and thows no errors.
I am getting another blank Windows vm and starting over fresh... Thanks
Edited by: qtility on Nov 13, 2008 10:21 AM
Edited by: qtility on Nov 13, 2008 11:31 AM
Edited by: qtility on Nov 13, 2008 1:15 PM -
'ORA-12500: TNS: Listener failed to start a dedicated server process'
Hi,
While connecting from one database to another users are getting the below error when they are giving a select statement,its taking around 30 minutes and showing
'ORA-12500: TNS: Listener failed to start a dedicated server process'...
What could be the issue...
Thanks,
Kr.If database to which they are trying to connect is running, then check listener.log ($ORACLE_HOME/network/log).
Probably there is not enough system resources - check opsystem logs as well (on unix /var/log or /var/adm) on windows look at events.
Look into db alert.log as well. -
TNS-12500: TNS:listener failed to start a dedicated server process
Hello all,
I have recently applied a patch on apps tier, after which the concurrent manager is not up & running,
while viewing the internal log
im getting the below error
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to : 25-NOV-2013 13:02:02
Starting AVAILMGR Concurrent Manager : 25-NOV-2013 13:02:02
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager AVAILMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to : 25-NOV-2013 13:02:02
Process monitor session ended : 25-NOV-2013 13:02:02
========================================================================
Starting test_1125@test Internal Concurrent Manager -- shell process ID 25362
logfile=/d01/apps/testcomn/admin/log/test_test/test_1125.mgr
PRINTER=noprint
mailto=appltest
restart=N
diag=N
sleep=60 (default)
pmon=20 (default)
quesiz=1 (default)
Routine &ROUTINE has attempted to start the internal concurrent manager. The ICM is already running. Contact you system administrator for further assistance.afpdlrq received an unsuccessful result from PL/SQL procedure or function FND_DCP.Request_Session_Lock.
Routine FND_DCP.REQUEST_SESSION_LOCK received a result code of 1 from the call to DBMS_LOCK.Request.
Possible DBMS_LOCK.Request resultCall to establish_icm failed
The Internal Concurrent Manager has encountered an error.
Review concurrent manager log file for more detailed information. : 25-NOV-2013 13:03:01 -
Shutting down Internal Concurrent Manager : 25-NOV-2013 13:03:01
List of errors encountered:
_ 1 _
Routine AFPCSQ encountered an ORACLE error. .
Review your error messages for the cause of the error. (=<POINTER>)
List of errors encountered:
_ 1 _
Routine AFPCAL received failure code while parsing or running your
concurrent program CPMGR
Review your concurrent request log file for more detailed information.
Make sure you are passing arguments in the correct format.
The test_1125@test internal concurrent manager has terminated with status 1 - giving up.
WARNING: RunAsUser for MSP ignored, check group ids (egid=501, want=51)
can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.
Also in apps tier $TNS_ADMIN
the log says
25-NOV-2013 14:57:51 * ping * 0
25-NOV-2013 14:57:51 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.12)(PORT=5147)) * establish * FNDSM * 12500
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipeHI thanks for your reply,
I tried the above guide but dint helped me,
I tried modifiying Concurrent:GSM Enabled to N & concurrent manager started but all requests were in pending state not running so i reverted back to Concurrent:GSM Enabled Y
I ran autoconfig & this is the lastes error I am getting in internal manager log.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:18
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:18
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:18
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:18
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:19
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:19
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:19
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:19
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:19
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:20
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:20
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:20
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:20
Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:20
Starting FCHMGR Concurrent Manager : 25-NOV-2013 15:51:20
The below is the log from $TNS_ADMIN log directory apps_test.ora
25-NOV-2013 16:06:01 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.30.82)(PORT=13510)) * establish * FNDSM * 12500
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe
25-NOV-2013 16:06:01 * ping * 0
25-NOV-2013 16:06:01 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.12)(PORT=13512)) * establish * FNDSM * 12500
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe
25-NOV-2013 16:06:02 * ping * 0
25-NOV-2013 16:06:02 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.12)(PORT=13514)) * establish * FNDSM * 12500
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe
25-NOV-2013 16:06:02 * ping * 0
25-NOV-2013 16:06:02 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.30)(PORT=13516)) * establish * FNDSM * 12500
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe -
TNS: listener: all appropriate instances are blocking new connections.
Hello,
when I start up my freshly installed developerday VB appliance, and try to connect to the database, following the tutorial in "Hands-on lab" - "SQL developer", as well as with any other attempt, the connection would not establish. I always get a message ORA-12528: TNS: listener: all appropriate instances are blocking new connections.
I cannot find any Readme or Tutorial which explains this appearance.
Weird, that obviously nobody else runs into this problem, otherwise this forum would be full of it. But isn't the VB appliance byte-for-byte the same for anybody?
Any ideas?
Edited by: pestw2000 on 23.12.2010 01:06Hi Marco, thanks for replying. You can read the OS version from the lsnctl output. The OS of the host system of the Virtual Box is Windows7 64-bit. Hmm... "HOST=0.0.0.0" looks suspicious, doesn't it?
Wolfgang
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 24-DEC-2010 01:31:40
Uptime 0 days 0 hr. 1 min. 45 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_1/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=0.0.0.0)(PORT=1521)))+
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=80))(PROTOCOL_STACK=(PRESENTATION=HTTP)(SESSION=RAW)))+
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=21))(PROTOCOL_STACK=(PRESENTATION=FTP)(SESSION=RAW)))+
Services Summary...
Service "orcl" has 1 instance(s).
Instance "orcl", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
Maybe you are looking for
-
Need direction on what I should do or go as, I still some warranty days left.Thinkvantage toolbox says backup data and replace drive.So far I have used restore ,with no luck an checkdisc did nothing. So, based on those 2 things ,whom do I call or giv
-
TS4006 Does find my iPhone work with iCloud on a PC?
Is there a way to get the "Find My iPhone" application to work with a PC running windows XP or windows7 ??
-
Alter table reaching the max number of char 4000, CLOB? NCLOB?
I have a column is a table defined as a VARCHAR2(4000) I try to alter the table alter table sybaapc MODIFY SYBAAPC_EXTRACURRICULAR VARCHAR2(5000)but it give me this error ORA-00910: specified length too long for its datatype I want the users to be a
-
Safari 4 Load yesterday HELP Keeps Shutting down and SLow? :0(
HI I just did a software update yesterday and it gave me safari 4, which I don't really like I preferred the ease of the previous one, MY problem is it's slow much slower than 3, my HUGE problem is that I can only be on certain web sites so far my ma
-
Hello All. I have run a delta load from an ODS to a CUBE without PSA. Now I need to rerun that delta. How can I do it? Thanks all.