LSNRCTL is missing in 9iLite installation; TNS-12541: TNS:no listener
I have installed Oracle9i Lite on Windows XP Professional
(Build 2600). I installed the Mobile Server and then the
development kit, but after all of this, it appears that no
listener has been installed. I cannot even find the
LSNRCTL.exe file anywhere on my hard drives. Maybe it's in a
JAR somewhere in the installation set, but shouldn't this file
have been copied down and installed? The only two services
listed are Oracle Lite Multiuser Service and
OracleOUIHomeClientCache. The error which I receive
consistently through every means of attempting to connect to
the local Oracle instance (such as the sample database) is TNS-
12541: TNS:no listener.
Am I missing something here? I installed the 9i Lite version
because the 8i Personal Edition is not supported on Windows XP.
Thanks in advance!
Good afternoon,
This has boggled me for the past six hours so I'm asking for assistance.
I downloaded "Oracle9i Release 1 (9.0.1) for Microsoft Windows NT/2000/XP (Enterprise/Standard/Personal Edition)" for my own personal use and to get experience installing a database on my PC.
I'm getting the ORA-12541: TNS:no listener error message when I try to connect to my database. I try to find and run the LSNRCTL utility, but it's not present on my machine. I've re-installed 9i 9.0.1 enterprise again and again, the program isn't on my machine. The HTML help file (http://www.csis.gvsu.edu/GeneralInfo/Oracle/network.920/a96580/admintoo.htm#487040) for Oracle Net says the program SHOULD be in oracle/bin but it's not.
Any other ideas? The ones recommended above helped me to research the topic, but still haven't given me a resolution, and I'm at a wall here.
Thank you.
-Brad
Similar Messages
-
TNS-12541: TNS:no listener after 10g DB installation
After installing Oracle 10g DB on my PC (Windows XP), I went to SQLPLUS, but when I connected using system user, it gave me an error:
TNS-12541: TNS:no listener
Then, I tried to check the status of the listener as below.
D:\oracle\product\10.1.0\Db_2\BIN>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Pro
:34
Copyright (c) 1991, 2004, Oracle. All rights reserv
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(K
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 2: No such file or director
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(H
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
Not sure what is going on here. Any pointers ?Set the enviroment variable ORACLE_HOME , ORACLE_SID
and then issue lsnrctl status
D:\oracle\product\10.1.0\Db_2\BIN>lnsrct status -
TNS Error: ORA-12541: TNS: no listener.
I have installed Oracle 9i on machine in Windows XP. When I try to open the database SID in the Enterprise Manager, it gives me TNS Error: ORA-12541: TNS: no listener.
I have checked the Oracle Net Configuration:
Protocol: TCP/IP
Host: PNR18
Port: 1521
In the xp administrative tools, I found that the listener is on start.
When I try to test trough ' Net Configration Assistant' getting same error, similarly with Net Manager.
I don't know if I am using the correct protocol in my case of standalone installation.
Any advice/correction? it would be appreciated. I am giving all the information of TNSNAMES.ORA, LISTENER.ORA, SQLNET.ORA, which is on my machine.
Thanks in advance.
# LISTENER.ORA Network Configuration File: #C:\oracle\ora90\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora90)
(PROGRAM = extproc)
# TNSNAMES.ORA Network Configuration File: #C:\oracle\ora90\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
# SQLNET.ORA Network Configuration File:
#C:\oracle\ora90\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)First of all Thanks for suggestions for solutions but still SAME PROBLEM:
Case-1::
I tried according to your suggestion, still SAME error !! I have also configured new DB
with Enterprise MAnager Configuration Assistent - during DB creation same error occured.
1) I have seen in XP service where all listener is running as well as OracleServiceORCL
is also running.
2) OracleOraHome90TNSListener also running with other listeners!
Case-2::
Dear I also delete listener and create new one and also configured Database Description
and tried to do so but still same problem while I am TESTing it with - Net Manager /
Net Configuration Assistant. I have also tried
C:\TNSPING ORCL - it is giving 'ok' result
but when I am using C:\LSNRCTL START listener - it gives me following errors.
Service OracleOraHome90TNSListener already running.
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 1056: Unknown error
Thats the whole story....hope this time you will find easy to give solution.
All files after your suggestion are as follow:
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora90\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
# LISTENER.ORA Network Configuration File: C:\oracle\ora90\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = C:\oracle\ora90)
(SID_NAME = ORCL)
(SID_DESC =
(PROGRAM = extproc)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora90)
# SQLNET.ORA Network Configuration File: C:\oracle\ora90\NETWORK\ADMIN\sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.PREFERRED_SERVERS =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
SQLNET.AUTHENTICATION_SERVICES= (NTS) -
TNS-12541: TNS: no listener (has to input user name)
Hi!
I have installed Oracle10g successful. I have tested the connection in Net Manager and is successful in condition that I change the user name to system. How can I preset the user name, so that the system will not prompt me for input when I sqlplus?
Enclosed please find the output:
C:\>tnsping train
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 -
Production on 21-9月 -2005 12:10:04
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
Used EZCONNECT adapter to resolve the alias
Attempting to contact (DESCRIPTION=
(CONNECT_DATA=
(SERVICE_NAME=train.plusten.com.cn))(ADDRESS=
(PROTOCOL=TCP)(HOST=210.245.166.72)
(PORT=1521)))
TNS-12541: TNS:no listener
C:\>sqlplus system/manager@train
SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 9
月 21 12:14:16 2005
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12541: TNS:no listener
Enter user-name:system //will prompt for user name and password
Enter password:
Connected to:
Oracle Database 10g Release 10.2.0.1.0 - Production
SQL> exit
Disconnected from Oracle Database 10g Release
10.2.0.1.0 - Production
C:\oracle\product\10.2.0\db_1\BIN>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-9月 -2005 16:43:31
Copyright (c) 1991, 2005, Oracle. All rights reserved.
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 21-9月 -2005 15:01:50
Uptime 0 days 1 hr. 41 min. 41 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=orange.plusten.com.cn)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "train.plusten.com.cn" has 1 instance(s).
Instance "train", status READY, has 1 handler(s) for this service...
Service "trainXDB.plusten.com.cn" has 1 instance(s).
Instance "train", status READY, has 1 handler(s) for this service...
Service "train_XPT.plusten.com.cn" has 1 instance(s).
Instance "train", status READY, has 1 handler(s) for this service...
The command completed successfullyI am sorry. I am newbie in Oracle and still do not know how to solve it. Even I try sqlplus system/[email protected], the outcome is still the same. Enclosed pleae find my sqlnet.ora, listener.ora and tnsnames.ora files:
# 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)
NAMES.DEFAULT_DOMAIN = plusten.com.cn
# listener.ora Network Configuration File: C:\oracle\product\10.2.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.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = ORANGE)(PORT = 1521))
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
TRAIN =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ORANGE)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = train.plusten.com.cn)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
) -
9.2.0.1.0 - OEM - XP home - ORA-12541 TNS: no listener
I have installed 9i (9.2.0.1.0) on Windows XP home edition and can connect to database with SQL Plus but get ORA-12541 TNS: no listener error when I try to connect with OEM. I saw someone else had this problem in Febuary and he sadly got no replies, hopefully someone will be able to help me (us) out.
I guess you now have answers.
1. Check if listener is running
lsnrctl status <listener name>
2. Check port number and SID used
3. Check TNSNAMES for correct Port and SID name
4. Check error details in $HOME/network/log -
DB13c Error:ORA-12541: TNS:no listener for windows systems
Hello Gurus,
We are facing an issue in DB13C jobs.
Background:
DB13c is setup in Solution Manager.
Only for windows systems DB13 jobs are failing.
Job log is given below:
Job started
Step 001 started (program RSDBAJOB, variant &0000000002249, user ID P96ADM)
Execute logical command BRCONNECT On host 10.91.26.117
Parameters:-u / -jid CHECK20120116070805 -sid T72 -j P96 -c -f check
BR0801I BRCONNECT 7.10 (20)
BR0280I BRCONNECT time stamp: 2012-01-16 07.08.09
BR0301W SQL error -12541 at location BrDbConnect-15, SQL statement:
'CONNECT / AT JOURNAL_DB USING P96'
ORA-12541: TNS:no listener
BR0310W Connect to database instance P96 failed
BR0477I Oracle pfile /oracle/T72/102_64/dbs/initT72001.ora created from spfile /oracle/T72/102_64/dbs/spfileT72001.ora
BR0805I Start of BRCONNECT processing: cehrfhfs.chk 2012-01-16 07.08.08
BR0484I BRCONNECT log file: /oracle/T72/sapcheck/cehrfhfs.chk
BR0280I BRCONNECT time stamp: 2012-01-16 07.08.09
BR0301E SQL error -12541 at location db_connect-7, SQL statement:
'CONNECT / AT JOURNAL_DB USING P96'
ORA-12541: TNS:no listener
BR0310E Connect to database instance P96 failed
BR0280I BRCONNECT time stamp: 2012-01-16 07.08.09
BR0301W SQL error -3114 at location brc_dblog_open-3, SQL statement:
'/* AT JOURNAL_DB */ INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20120116070808', 'chk', 'T72
ORA-03114: not connected to ORACLE
BR0324W Insertion of database log header failed
BR0806I End of BRCONNECT processing: cehrfhfs.chk2012-01-16 07.08.09
BR0280I BRCONNECT time stamp: 2012-01-16 07.08.09
BR0804I BRCONNECT terminated with errors
External program terminated with exit code 3
Internal session terminated with a runtime error (see ST22)
Job cancelled
P96 is our solman(version:SAP EHP 1 for SAP Solution Manager 7.0)
T72 is 4.6c System .
Sap in windows
Database in Linux
Oracle -10.2.0.4
rest all DB13 jobs are running fine.
Only for windows system we are facing issue now.
Runtime Error which comes along with it is:
OBJECTS_OBJREF_NOT_ASSIGNED
Access via 'NULL' object reference not possible.
The current ABAP program "RSDBAJOB" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
lsnrctl status for t72 instance is giving result for another instance(A72 which is teh Acceptance system for T72)
orat72 51> lsnrctl status
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 16-JAN-2012 07:27:53
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER_A72_ES1UL0017
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 27-DEC-2011 14:53:43
Uptime 19 days 16 hr. 34 min. 9 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/A72/102_64/network/admin/listener.ora
Listener Log File /oracle/A72/102_64/network/log/listener_a72_es1ul0017.log
Kindly provide your valuable suggestions.
Regards,
SamayaHello Nicholas,
Thank you for your suggestion.
But i do not think it is really required to change P96 tnsnames.ora.
Because, T72 database is in a Linnux box where several other DB are also there.
(Our landscape,NOn-PRD DB instances are together in 1 linux box)
DB13 jobs of other instances are working fine.
Only difference is T72 sap instace is a windows server where as other instances are in AIX.
In DB13c, windows system is configured as without ABAP server .
UNIX systems as With ABAP server.
All were working with this configuration till few days ago.
Thank you. -
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 -
TNS-12541: TNS:no listener
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,
first be sure that oracle database service and listener service are started as same OS username and this user was in the list of group oracle dba
second stop all services and delete all listeners using netca and delete all files(listener.ora, tnsnames.ora) from network\admin\ folder
after create new listener using netca and check hostname in listener.ora, if everything is ok create new connection string in tnsnames .ora and then do following commands on cmd and put here result.
lsnrctl stop
lsnrctl start
lsnrctl status
tnsping myDb
Ramin Hashimzade -
After upgrading from 11.1.0.6 to 11.1.0.7, I get the error: ORA-12541: TNS:no listener.
I have attached my tnsnames.ora, listener.ora and my sqlnet.log.
I have tried deleting the listener and re-adding it and I get the same error.
I have tried adding a new database and it errored at 97% because it couldn’t connect to the listener, but still seemed to create the database.
Any suggestions would be appreciated
<b>My tnsnames.ora file:</b>
# tnsnames.ora Network Configuration File: C:\Oracle\product\11.1.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = tebxjt)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
<b>my listener.ora file:</b>
# listener.ora Network Configuration File: C:\Oracle\product\11.1.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = tebxjt)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
<b>my sqlnet.log:</b>
Fatal NI connect error 12514, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=tebxjt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=C:\Oracle\product\11.1.0\db_1\jdk\jre\bin\java.exe)(HOST=tebxjt)(USER=739179))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 21-JUL-2010 16:53:37
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0Hi,
What is your ORACLE_SID name of your database. Have you checked in given above output there is two things:
1.
Service "orcl.us.oracle.com" has 1 instance(s).
Instance "orcl", status BLOCKED, has 1 handler(s) for this service...
Service "orcl_XPT.us.oracle.com" has 1 instance(s).
Instance "orcl", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
The status BLOCKED is coming instead of READY
2. From
+"+
+my listener.ora file:+
+# listener.ora Network Configuration File: C:\Oracle\product\11.1.0\db_1\network\admin\listener.ora+
+# Generated by Oracle configuration tools.+
+LISTENER =+
+(DESCRIPTION_LIST =+
+(DESCRIPTION =+
+(ADDRESS = (PROTOCOL = TCP)(HOST = tebxjt)(PORT = 1521))+
+(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))+
+)+
+)+
Here what i feel complete linstner.ora should be have two parts one LISTENER and another SID_LIST_LISTENER :
LISTENER =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
#BEQUEATH CONFIG
(GLOBAL_DBNAME=salesdb.mycompany)
(SID_NAME=sid1)
(ORACLE_HOME=/private/app/oracle/product/8.0.3)
In your case SID_LIST_LISTENER part is missing.
In this part you have to set SID_NAME and ORACLE_HOME value of new 11g home.
Hope this will help you.
Regards
Rajinder -
Another ORA-12541:TNS: No Listener
I have Windows Vista
I install Oracle 10g Enterprise edition on my laptop, then I install the DevSuite 10g and 4 days later i cant connect to TOAD or SQLplus I got the error
ORA-12541:TNS: No Listener
I have 2 folders on my C:// Drive
1.- C:\DevSuiteHome_1\NETWORK\ADMIN\ tnsnames
2.- C:\oracle\product\10.2.0\db_1\network\ADMIN\ Listener + tnsnames.
Can anyone help? I ran already the command:
lsnrctl start
And I got the following message:
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
Can someone help?KEY_OraDb10g_home1/ORACLE_HOME -- Value:
C:\oracle\product\10.2.0\db_1This path needs to be first (or at least before any other oracle stuff) in the PATH setting.
>
I think Dev Suite have its own database but I´mNope. Not in the Dev Suite home.
trying to connect to the database called ORCL which I
setup with the Enterprise edition 10g .So, is the listener started now?
What do you get from lsnrctl stat? -
Cannot config EM from dbca with ORA-12541: TNS:no listener
Hi all,
I am having a strange issue with Oracle Database. I have "Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production" running on a windows 7 system. Everything seems working: I can connect and do SQL operations. But my EM is not running. I need to do a re-config by running dbca. I choose to "configure database options" etc for the existing database, roughly at the 67%, it stopped. In log, I see the following exceptions:
Jul 7, 2012 11:12:49 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
CONFIG: ORA-12541: TNS:no listener
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12541: TNS:no listener
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 .
However, my listener seems working (otherwise, my sqlplus connections wouldn't work, correct?). Please see the attached information. Can anyone please tell me what I am doing wrong here and how to fix it? Thank you all very much!
$ lsnrctl service
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2012 21:54:12
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 2 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:27 refused:0
LOCAL SERVER
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1 refused:0 state:ready
LOCAL SERVER
The command completed successfully
I can also connect
$ sqlplus sys/*****@orcl as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jul 7 23:11:30 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
I can also do:
$ tnsping orcl
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2012 23:12:53
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\oracle\product\11.2.0\dbhome_2\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
OK (40 msec)Can you please tell me what options I need to run emca? My current database is accessible and seems running fine except this EM issue.
dbca can also "configure database options" existing DB's, at least I should not get that error in "C:\oracle\cfgtoollogs\dbca\orcl\emConfig.log" that says
Jul 7, 2012 11:12:49 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
CONFIG: ORA-12541: TNS:no listener
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12541: TNS:no listener
Jul 7, 2012 11:12:49 PM 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:\oracle\cfgtoollogs\dbca\orcl\emConfig.log for more details.
Jul 7, 2012 11:12:49 PM 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 . -
ORA-12541: TNS:no listener, error, in oracle 11g for window 7, 64 bit
While connecting as localhost is pretty well.
but command: sqlplus username@'192.168.52.178:1521/orcl' on the same machine is producing above mentioned error on oracle 11g for window 7, 64 bit.user11225434 wrote:
Thax sir for your kind concern of my problem. Answers of your quaries regarding my question as follows
lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 05-AUG-2013 09:37
:21
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 05-AUG-2013 09:31:09
Uptime 0 days 0 hr. 6 min. 22 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\eee\product\11.2.0\dbhome_5\network\admin\liste
ner.ora
Listener Log File c:\app\eee\diag\tnslsnr\eee-THINK\listener\alert\log.x
ml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.52.170)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orclxe" has 1 instance(s).
Instance "orclxe", status READY, has 1 handler(s) for this service...
Service "orclxeXDB" has 1 instance(s).
Instance "orclxe", status READY, has 1 handler(s) for this service...
The command completed successfully
# listener.ora Network Configuration File: C:\app\eee\product\11.2.0\dbhome_5\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\eee\product\11.2.0\dbhome_5)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\eee\product\11.2.0\dbhome_5\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.52.170)(PORT = 1521))
ADR_BASE_LISTENER = C:\app\eee
3. My ip is static 192.168.52.170 and window 7 prof. is there.
4. Sir i have tested the remote connection with firewall configuration is off.
Hopefully this info is useful.
but command: sqlplus username@'192.168.52.178:1521/orcl'
NOTE the difference in IP#s above; 192.168.52.170 vs. 192.168.52.178 -
Oracle 8.1.7: TNS-12541: TNS No Listener
The OracleHOME_SVRTNSListener service is running. The listener.log file correctly states this fact. When I connect from SQL*Plus Worksheet (username@dbname/pw) it do connects me. Connecting from Dev 6i forms is also ok. Accessing from PHP script also works well. However, all of the below cases give this error "TNS-12541: TNS No Listener".
a. Connecting from SQL*Plus.
b. exp/imp utility program. (if i misspell connect string, the error is as expected i.e. TNS protocol adapter error. For correct connect string as defined in TNSNames.ora, the above error appears).
c. Running lsnrctl.exe and giving 'stop' command also gives the same error. However, 'start' says that the aformentioned service is already running and then gives the same error message.
Plz Note:
The last thing I did after which this problem got in was to run Database Configratio Assistant to make script of a 3rd DB on my system (Intel P-IV, Win 2K A server) and then run the generated batch file.
Also note that the newly created DB is working fine and accessable as well i.e. from sql plus worksheet and php scripts
The sqlnet.log file does record the error but tells the same story "error 12541 - TNS No Listener".
There is an interesting situation to tell. I have 8i on another machine as well (call it B). when I configure and connect using B's exp/imp utility or sql*plus or anything to A (the problamatic oracle machine), it works fine i.e.
exp [email protected]
works exactly fine. It connects to mydb on machine A using system account and starts exporting. But Why doesn't this mechanism works on machine A itsself???Here is the output of few commands (all given on server machine)
Listener.ora
# LISTENER.ORA Network Configuration File: C:\oracle\orasvr81\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = billingserver)(PORT = 1521))
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
(ADDRESS = (PROTOCOL = TCP)(HOST = billingserver)(PORT = 2481))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\orasvr81)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = billing)
(ORACLE_HOME = C:\oracle\orasvr81)
(SID_NAME = mydb)
tnsnames.ora
# TNSNAMES.ORA Network Configuration File: C:\oracle\orasvr81\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA.NTR1.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
mydb =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = billingserver)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = mydb)
tnsping mydb
TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 20-OCT-2004 09:18:01
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=billingserver)(PORT=1521))
TNS-12541: TNS:no listener
lsnrctl stop listener
LSNRCTL for 32-bit Windows: Version 8.1.7.0.0 - Production on 20-OCT-2004 09:27:42
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
The command completed successfully
lsnrctl start listener
---------------------------------------------------LSNRCTL for 32-bit Windows: Version 8.1.7.0.0 - Production on 20-OCT-2004 09:27:53
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 8.1.7.0.0 - Production
System parameter file is C:\oracle\orasvr81\network\admin\listener.ora
Log messages written to C:\oracle\orasvr81\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=billingserver.ntr1.com)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=billingserver.ntr1.com)(PORT=2481))(PROTOCOL_STACK=(PRESEN TATION=GIOP)(SESSION=RAW)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
STATUS of the LISTENER
Alias listener
Version TNSLSNR for 32-bit Windows: Version 8.1.7.0.0 - Production
Start Date 20-OCT-2004 09:27:53
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File C:\oracle\orasvr81\network\admin\listener.ora
Listener Log File C:\oracle\orasvr81\network\log\listener.log
Services Summary...
PLSExtProc has 1 service handler(s)
mydb has 1 service handler(s)
The command completed successfully
P.N. The tnsnames.ora file is the same on server (A) as on client machine (B). Everthing (imp/exp/sql plus/tnsping mydb) works fine from B, non of them works from machine A , don't know why??? -
ORA-12541: TNS:no listener Error When connected to net....
I am using internet via mobile on my pc. Whenever I am connected to the net I can't run the following code from Visual studio.
It shows the following error:
OleDbException was unhandled
ORA-12541: TNS:no listener
I have no idea about it.please help!!
***************************Code Section*****************
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.OleDb;
using Oracle.DataAccess.Client;
namespace gridques
public partial class Form1 : Form
OleDbConnection newConnection;
public Form1()
InitializeComponent();
private void Form1_Load(object sender, EventArgs e)
newConnection = new OleDbConnection("Provider=MSDAORA.1;Data Source=orcl;User ID=project;Password=project");
newConnection.Open();//////********IT SHOWS THE ERROR HERE*************
private void show_Click(object sender, EventArgs e)
OleDbCommand resultsCommand = null;
OleDbDataAdapter resultsAdapter = new OleDbDataAdapter();
DataTable resultsTable = new DataTable();
try
// establish command object and data adapter
resultsCommand = new OleDbCommand("select * from stock order by serialNo", newConnection);
resultsAdapter.SelectCommand = resultsCommand;
resultsAdapter.Fill(resultsTable);
dataGridView1.DataSource = resultsTable;
catch (Exception ex)
MessageBox.Show(ex.Message, "Error in Processing SQL", MessageBoxButtons.OK, MessageBoxIcon.Error);
resultsCommand.Dispose();
resultsAdapter.Dispose();
resultsTable.Dispose();
}Hi,
ORA-12541: TNS:no listener
Many reason but first thing need to check is "Is your listener is up and running on the server"
lsnrctl statusregards,
Taj -
ORA-12541: TNS:no listener on my VISTA
Hi guys,
I've installed Oracle 10g on my Windows Vista laptop and it says Successful but upon connecting to Database using TOAD or SQL plus an error ORA-12541: TNS:no listener. What seems to be the problem here. I've search the forums and try all the advices but to no avail.? I run the lsnrctl start / in the command prompt but it seems that lsnrctl command is not recognize as an internal or external command. by the DOS. I also checked the Services to determine if the OracleServices is running but I cant find any Service with Oracle name. Ive reinstalled twice but unfortunately same things happen. Kindly advice.
Thank you
Jay
Edited by: LORDJAY on Oct 9, 2008 10:33 PMSybrand and Zack: Thanks for pointing me to the log. I was able to see that the problem computer had a Windows Computer Name mismatch. And also, its "Microsoft Loopback Adapter" network connection had been disabled. While I could have tried enabling the MLA, I chose to set the "HOST = " value in the listener.log file in the %ORACLE_HOME%\network\ADMIN\ path to match the Windows Computer Name. Once I changed that, I was able to start the Listener.
...and now, I need to address the issue of Vista versions:
If you guys would look up the Microsoft Windows Vista: Compare editions page, you would see that the differences are just frosting on the cake. Things like "Aero Desktop", "Tablet PC Support", "Windows Meeting Space", some backup/restore options and more games (Yeah I really want InkBall and Chess Titans!). Otherwise, Vista is running the same engine under the hood.
I have no clue why Oracle has chosen to certify only a specific Vista version. It appears they have fallen for a Microsoft marketing ploy: give people a choice of levels, and human nature is to always reach for the more expensive one.
A few years ago, when Oracle was proudly bragging about their robustness and the "Write once, Run anywhere" theme, they would have certified their software on all Vista versions. Given Larry's distaste for competition with Microsoft, it would seem like he would have urged Marketing to aim for the leanest Vista version. But then maybe Marketing decided that having software that ran on the cheapest Vista version would look cheap. Or maybe they are looking for ways to cut back on costs -- it is less expensive to say you support Vista and then tell some of the people seeking help that they have the wrong version, rather than spend the time helping them work through the problem.
No matter what Oracle's reason, I still say you guys parroting the same line as Oracle are doing a disservice to people looking for help on the forum.
The answers given so far were perfectly valid, because this is the
answer you will get from Oracle Support. They will not help the OP. Nor
will they help you when your database on Vista Home crashes.Sounds like my mother telling me to put on a coat before I go out to play. "You'll be sorry when you catch a cold!"
Sorry, but Oracle is the LAST place I would go for help. Multiple times, I have presented issues to Oracle, and the person at the other end either could not comprehend the problem, or maintained that what I was seeing was the same as another bug... It is my experience that they go to the greatest lengths possible to maintain that there is nothing wrong at their end. The result is that it is up to me to find a workaround.
Not certified means not certified. It might work, and then it might not
work. You have just been lucky.Right. I work on software day in and day out that has been uncertified by Oracle, but still runs fine -- in production. And on the other side of the coin, have published steps to get software to run on platforms not yet certified by Oracle.
People are providing this answer here, because no one can provide more
support than Oracle Support actually does.Why do you write such stuff? Every time I encounter this Re: Sarcasm and negative comments, it gets me going.
Maybe you are looking for
-
How to Sync two calendars in iCal
OK, here is my problem. I can access two calendars with iCal (one is on Google Calendar and the other one is on a Microsoft Exchange 2007 server) how can I synchronize them the best? I want to keep both in their original place, but I also want things
-
How to use WMV files in Imovie?
I have a bunch of WMV files from Windows that I would like to use in iMovie. But, it keeps telling me they have to be .avi files in order to be used in iMovie. If someone could please advise how to convert these windows files to usable iMovie files t
-
Note 1599687 - New Model 111 for tax reporting
Hola Buenas tardes, Estamos aplicando la SAP Note 1599687 pero hace falta en el PDF Manual_post_implem_steps_1599687.pdf los textos: - Campo S_GEN111. Podeis decir a Desarrollo, Saludos, Jorogape
-
Drill Down is not working after exporting to excel
Hi, I have created a drill down report in SSRS . Its working perfect. But when I export it to excel, it is showing only the expanded nodes. But I want the same functionality which gives user to expand or collapse the nodes in Excel as well. Can any o
-
not the other way around.