Lsnrctl start newlist, TNS-12560: TNS:protocol adapter error
Hello I am using Windows 7. Oracle 11g R2. Firstly I created my directory C:\oracle\net. Then I created an entry for TNSADMIN in the windows registry entering the newly created c:\oracle\net.
I ran Oracle Net Manager. The path C:\oracle\net is displayed in the title bar.
Using Oracle Net Manager I created my listener with the following settings as saved to listener.ora in the C:\oracle\net directory
# listener.ora Network Configuration File: C:\oracle\net\listener.ora
# Generated by Oracle configuration tools.
ADR_BASE_NEWLIST = C:\app\oracle\product\11.2.0\dbhome_2\log
NEWLIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 2521))
From the command line prompt I type ......
lsnrctl start newlist
The following is returned
starting tnslnsr: please wait...
followed by
TNS-12560: TNS:protocol adapter error
TNS-00530: TNS:protocol adapter error
??? How do I resolve this? thanks
The above scenario is part of a learning exercise (ex6.1) from the chapter on configuring the Oracle Net Environment OCA Oracle Database 11g Administration I Exam Guide by John Watson from the Oracle Press series.
127.0.0.1 is the loopback address of (all) local machines.
This step is step 16 of the learning exercise. Until I resolve it I cannot complete the remaining steps!
The steps of the exercise are as below..........................
Configure Oracle Net
In this exercise, you will set up a complete Oracle Net environment, using graphical
and command-line tools. Where there are differences between Windows and Linux,
these will be pointed out.
1. Create a directory to be used for the Oracle Net configuration files, and set
the TNS_ADMIN variable to point to this. It doesn’t matter where the direc-
tory is, as long as the Oracle user has permission to create, read, and write it.
On Linux:
mkdir /u01/oracle/net
export TNS_ADMIN=/u01/oracle/net
Ensure that all work from now is done from a session where the variable has
been set.
On Windows:
mkdir d:\oracle\net
Create and set the key TNS_ADMIN as a string variable in the registry in
the Oracle Home branch. This will typically be
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb1g_home1
2. Check that the variable is being read by using the TNSPING command from
an operating system prompt:
tnsping orcl
This will return an error “TNS-03505: Failed to resolve name” because there
are no files in the TNS_ADMIN directory. On Windows, you may need to
launch a new command prompt to pick up the new TNS_ADMIN value from
the registry.
3. Start the Net Manager. On Linux, run netmgr from an operating system
prompt; on Windows, launch it from the Start menu. The top line of the Net
Manager window will show the location of the Oracle Net files. If this is not
the new directory, then the TNS_ADMIN variable has not been set correctly.
4. Create a new listener: expand the Local branch of the navigation tree,
highlight Listeners, and click the +.
5. Enter a listener name, NEWLIST, and click OK.
6. Click Add Address.
7. For Address 1, choose TCP/IP as the protocol and enter 127.0.0.1 as the
host, 2521 as the port. The illustration that follows shows the result.
8. Create a new service name: highlight Service Naming in the navigation tree,
and click the +.
9. Enter NEW as the net service name, and click Next.
10. Select TCP/IP as the protocol, and click Next.
11. Enter 127.0.0.1 as the host name and 2521 as the port and click Next.
12. Enter SERV1 as the Service Name, and click Next.
13. Click Finish. If you try the test, it will fail at this time. The illustration that
follows shows the result.
14. Save the configuration by clicking File and Save Network Configuration.
This will create the listener.ora and tnsnames.ora files in the
TNS_ADMIN directory.
15. Use an editor to check the two files. They will look like this:
LISTENER.ORA:
NEWLIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 2521))
TNSNAMES.ora:
NEW =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT =
2521))
(CONNECT_DATA =
(SERVICE_NAME = SERV1)
16. From an operating system prompt, start the listener with lsnrctl start
newlist.
17. From an operating system prompt, test the connect string with tnsping new.
000
18. Connect to your database using operating system authentication, bypassing
any listener, with sqlplus / as sysdba.
19. Set the service_names and local_listener parameters for the running
instance (memory only, not the parameter file) and register the new service
name with the new listener:
alter system set service_names=serv1 scope=memory;
alter system set local_listener=new scope=memory;
alter system register;
20. From an operating system prompt, confirm that the new service has registered
with the new listener with lsnrctl services newlist.
21. Confirm that the new network environment is functional by logging on:
sqlplus system/oracle@new
Similar Messages
-
ORA 12560 OTN Protocol Adapter Error
I installed Oracle 9iAS DB and Developer. When I tried to run Form (Form Builder). I could not establish the connection.
After insert username and password (without hostname), the error said, ORA 12560 OTN Protocol Adapter Error. However, when I put the hostname, the message alert 'the service name could not be solved' or sth. Can anyone help me with this problem? Thank you so muchHey Nikhil,
I have the same problem, however when I try to run the commands u have asked to run I get errors.
When I try
c:>svrmgrl
'svrmgrl' is not recognized as an internal or external command.
operable program or batch file.
and when I start lsnrctl
LSNRCTL> lsnrctl start
NL-00853: undefined command "lsnrctl". Try "help"
I am using XP , the database is on other drive and the Developer suite is on other drive however, Listener is working fine. This error "ORA-12560: TNS:protocol adapter error" comes only when I try to log into my database from isqlplus. I am using 9i. Any Ideas on what should be done.
Hashem -
ORA-12222 : TNS:No such protocol adapter -error
Hi
when i try to connect database from forms builder i get the below error.
ORA-12222 : TNS : No such protocol adapter. I refered many forums and help sites... i checked everyting in my system. like Regedit and environment variable.
still i am getting the same error. kindly help to resolve this issue.
Please find the below details of my desktop, form builder and Oracle database.
Desktop OS
Operating system : WINDOWS XP (professional) version 2002 service pack 3
Oracle Database
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Oracle database installed in Linux server
linux server details
Linux VM177 2.6.18-194.0.0.0.3.el5xen #1 SMP Mon Mar 29 18:27:00 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
any rpm are required in Linux server resolve this issue.
my linux server i couldn't find any rpms OPENM*
$ rpm -qa openm*
$
Oracle forms builder
Forms [32 Bit] Version 6.0.8.24.1 (Production)
Oracle Toolkit Version 6.0.8.24.0 (Production)
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.21.0 Build #1459 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 6.0.7.1.0 - Production
Oracle Virtual Graphics System Version 6.0.5.38.0 (Production)
Oracle Tools GUI Utilities Version 6.0.8.20.1 (Production)
Oracle Multimedia Version 6.0.8.20.0 (Production)
Oracle Tools Integration Version 6.0.8.18.0 (Production)
Oracle Tools Common Area Version 6.0.8.18.0
Oracle CORE Version 4.0.6.0.0 - Production
Thanks in advance. your early reply will be very much appriciated.
GowthamPlease find below the output.
$ lsnrctl services
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 03-APR-2012 06:08:23
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM.xxx.com )(PORT=1525)))
The listener supports no services
The command completed successfully
$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 03-APR-2012 06:13:18
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM.xxx.com )(PORT=1525)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 02-APR-2012 02:51:12
Uptime 1 days 3 hr. 22 min. 5 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle11g/o11gr22/app/o11gr22/product/11.1.0/db_1/network/admin/listener.ora
Listener Log File /oracle11g/o11gr22/diag/tnslsnr/VM/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM.xxx.com )(PORT=1525)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1525)))
The listener supports no services
The command completed successfully
$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
10.123.256.177 VM.xxx.com VM VM.in.oracle.com
Gowtham -
TNS-12560: TNS:protocol adapter error listener not starting up.
Hi all
we came to an issue where we have to move our server from one data centre to another after unplugging the machine and re-plugging the server
1) Operating system (OEL 5.1) started.
2) Database 11gR2 started.
3) Listener Failed to Start.
[oracle@yam01 tmp]$ lsnrctl start lsn_yscc12
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-OCT-2012 07:57:58
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2.0/bin/tnslsnr: please wait...
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
[oracle@yam01 tmp]$
When checked in sqlnet.log we found.
[oracle@yam01 log]$ cat sqlnet.log
Directory does not exist for read/write [u01/app/oracle/product/11.2.0/log] [u01/app/oracle/product/11.2.0/log/diag/clients]
[oracle@yam01 log]$
/u01/app/oracle/product/11.2.0/log
/u01/app/oracle/product/11.2.0/log/diag/clients --> here under diag folder client folder was missing.
drwxrwxr-x 3 oracle oinstall 4096 Sep 30 12:59 /u01/app/oracle/product/11.2.0/log/diag/
*[oracle@yam01 log]$ cd /u01/app/oracle/product/11.2.0/log/diag/clients*
-bash: cd: /u01/app/oracle/product/11.2.0/log/diag/clients: No such file or directory
*[oracle@yam01 log]*
[oracle@yam01 diag]$ mkdir clients
[oracle@yam01 diag]$ ls -ltr
total 12
drwxr-x--- 3 oracle oinstall 4096 Sep 30 12:59 rdbms
-rw-r----- 1 oracle oinstall 15 Oct 2 07:43 adrci_dir.mif
drwxr-xr-x 2 oracle oinstall 4096 Oct 2 08:27 clients
[oracle@yam01 diag]$
and added *"SUBSCRIBE_FOR_NODE_DOWN_EVENT_lsn_yscc12=OFF"*
and then when started all the listener it started successfully.+_
[oracle@yam01 ~]$ lsnrctl status lsn_yscc12
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-OCT-2012 08:40:19
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=100.100.50.199)(PORT=1603)))
STATUS of the LISTENER
Alias lsn_yscc12
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 02-OCT-2012 08:28:09
Uptime 0 days 0 hr. 12 min. 9 sec
Trace Level admin
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/yam01/lsn_yscc12/alert/log.xml
Listener Trace File /u01/app/oracle/diag/tnslsnr/yam01/lsn_yscc12/trace/ora_10095_3086223040.trc
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=100.100.50.199)(PORT=1603)))
Services Summary...
Service "YSCC12.YAMAMACEMENT.COM" has 1 instance(s).
Instance "yscc12", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@yam01 ~]$
Thanks all for Reading this post
hope if you came across this issues this may work for you.
Best Regards
Kaleem.Welcome to OTN
Thank you For you sharing :) -
TNS-12560: TNS:protocol adapter error when starting listner
Hi,
I am having this error when trying to start my oracle database listener.
I can connect to database normally with SqlPlus
Microsoft Loopback Adapter is installed and config with a fixed IP address. The IP add with computer name and domain is specified in the hosts file.
I didn't modify anything to the default listener.ora file.
Any suggestion. Thank you very much.
Best regards
K.Now I am able to start my listener after I turn off my firewall and restart my computer. The port might be blocked previously ?
However, now I can't connect to the database even in Sql plus. When connect using user name and password, I have the same error: TNS-12560: TNS:protocol adapter error.
Testing my connection in Net CA, it said: "TNS:listener does not currently know of service requested in connect descriptor".
In tnsnames.ora, I have SERVICE_NAME= orcl.
Result of tnsping orcl is "..OK<100msec>"
But result of lsnrctl services is: "The listnener supports no services"
I can't find any clue?
P/S: I am using Oracle database 11g EE Release 11.1.0.7.0 on Window platform.
Edited by: user12635456 on 13-Jun-2010 20:42 -
TNS-12560: TNS:protocol adapter error (when starting database)
Hi.. everyone.
I am testing oracle9i and oracle10g on the same machine, windows xp pro.
When I was trying to start oracle10g using command line mode,
I got the error, TNS-12560: TNS:protocol adapter error.
I entered these command.
set oracle_home=10g_homexxxx
set oracle_sid=xxdb
sqlplus /nolog
conn sys/xxx as sysdba
I got the error, TNS-12560: TNS:protocol adapter error.
The install of two different versions of oracle , oracle9i and oracle10g,
on the same machine(windows xp pro) could cause this problem?
Is it safe to install two different versions of oracle on the same window machine?
Is there any confliction in environment variables?
I think there is no problem on the linux, unix system.
I stoped the listener of oracle9i and tried again. But I failed.
I am looking forwared to hearing your experience and advice.
Thanks in advance. Have a good day.
Ho.Dear Werner.
Thanks for your reply.
I shutdown oracle9i and 10g, using "services.msc" utility from windows.
Therefore, "OracleService<xxdd>" is not running.
What I want to do is to startup 10g database using "cmd",command line mode.
In addition, I would like to know why I could not start 10g database, using "cmd"
on windows xp pro.
I installed 9i first and installed 10g. I think there are a kind of environment variable
conflictions.
I am wondering how I can fix them, and whether or not they are curable.
Thanks for your reply. Have a good day.
Regards.
Ho. -
Getting ORA-12560: TNS:protocol adapter error when starting Oracle8i SVRMGR
Hi everyone,
I'm new to the forums, and I guess you could say "somewhat new" to the Oracle DB. I've played around with it casually in the past, but never got real serious with it :)
Anyhow, I wanted to see if someone could help with this. I found an old thread on a similar issue, but nothing seemed to help at all towards resolution, so I thought I would start a new thread, and maybe get some fresh ideas.
The issue is, I start SVRMGR on Oracle8i, and get the ORA-1260: TNS:protocol adapter error.
Here is my setup:
OS: Win2k Advanced Server
CPU: 2 - 930MHz Intel Xeon's
RAM: 1GB DIMM
DB Version: Oracle8i
No firewalls or any other TCP interference. Ok, so now that's out the way :), here is the issue:
When I start the SVRMGR, I get that error immediately. I have checked my tnsnames.ora file, and found some discrepancies, and have corrected them (at least to my knowledge), restarted all the Windows services running the various databases, and closed/re-opened the SVRMGR, and still get the same thing.
For reference, here is a copy of the tnsnames.ora file:
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora81\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 207.225.221.92) (PORT = 1521) )
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = class.oracle)
(PRESENTATION = http://admin)
#CLASS =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = class.oracle)
#LOGEDNET =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = LOGEDNET.oracle)
BFLEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = BFLEDNET.oracle)
#CSPEDNET =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = CSPEDNET.oracle)
#FLGEDNET =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = FLGEDNET.oracle)
#FINEDNET =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = FINEDNET.oracle)
CCHSRES =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = CCHSRES)
#CCHS =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = CCHS)
CHYEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = CHYEDNET)
#AUREDNET =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = AUREDNET)
#TUSEDNET =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = TUSEDNET)
## DBs on ORACLESHC - 207.225.221.80
DENEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DENEDNET)
DFEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DFEDNET)
FTCEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = FTCEDNET)
OGDEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = OGDEDNET)
PROEDNET =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PROEDNET)
SILVER7 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = SILVER7)
# CCHS_PROD =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.87)(PORT = 1521))
# (CONNECT_DATA =
# (SERVICE_NAME = CCHS)
ONLINEDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ONLINEDB)
GLOBALDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = GLOBALDB)
The ones I commented out were either non-existant databases, or the databases were shutdown, because they are not presently being used.
If someone could help with this, it would be greatly appreciated. :)HI,
1). Can you connect normally from SQL Plus?
-----------------------Here is entry in your Tnsnames.ora file.------------------------------
#You must check that your Dbase Listener is Listening request on port 1521.
ORCL9i =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Local-Server)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl9i)
2). For pinging a service.
If you've Microsoft Windows.
If your database service name is orcl9i
Run->Cmd
Tnsping orcl9i
--It will give you as following information either "OK" or Fail.
----------------------------------Output after running Tnsping--------------------------------------------
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 26-JUL-20
07 13:30:16
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
E:\oracle\ora92\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = Local-Server)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = Orcl9i)))
OK (20 msec)
I would like to mention that Svrmgr30 was in Oracle 8. And Oracle 8i uses Svrmgrl.
--Below is Oracle9i syntax you may use it on svrmgrl.
SQL> connect
Enter user-name: Scott/Tiger@orcl9i
SQL> connected:
SQL> -
R12 Vision Install Fails, TNS-12560: TNS:protocol adapter error
Below please find the NetServiceHandler.log from the install and an excerpt from ApplyDBTechStack...log
OS: Windows Server 2003 SP2 x86
I have installed the loopback adapter, modified the hosts file, and entered the DNS info. Not sure what else I can do.
-----------begin NetServiceHandler.log-------------------------
Classpath : ;D:\oracle\VIS\db\tech_st\11.1.0\jdbc\lib\ojdbc6.jar;D:\oracle\VIS\db\tech_st\11.1.0\appsutil\java\xmlparserv2.jar;D:\oracle\VIS\db\tech_st\11.1.0\appsutil\java;D:\oracle\VIS\db\tech_st\11.1.0\jlib\netcfg.jar;D:\oracle\VIS\db\tech_st\11.1.0\jlib\ldapjclnt11.jar
===============================================================================
NetServiceHandler 120.19 started for oracleebs at Wed Jun 13 09:32:30 PDT 2012
===============================================================================
[ Context Information ]
Host : oracleebs
Domain : demo.com
Out Dir : D:\oracle\VIS\db\tech_st\11.1.0/appsutil/out/VIS_oracleebs/06130932
Tier Type : DATABASE TIER
Getting connection...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : oracleebs
sDbDomain : demo.com
sDbPort : 1521
sDbSid : VIS
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@oracleebs.demo.com:1521:VIS
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracleebs.demo.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=VIS)))
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracleebs.demo.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=VIS.demo.com)))
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
Could not get connection to the database.
Exiting with status 100 to instantiate the tnsnames.ora template
Creation of Directory - D:\oracle\VIS\db\tech_st\11.1.0\NETWORK\ADMIN\VIS_oracleebs Succeeded.
instantiate file:
source : D:\oracle\VIS\db\tech_st\11.1.0\appsutil\template\ad8itns.ora
dest : D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\tnsnames.ora
AutoConfig is exiting with status 0
instantiate file:
source : D:\oracle\VIS\db\tech_st\11.1.0\appsutil\template\ad8ilsnr.ora
dest : D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\listener.ora
AutoConfig is exiting with status 0
adgentns.pl exiting with status 0
ERRORCODE = 0 ERRORCODE_END
----------------end NetServiceHandler.log------------------------
-------------------begin excerpt ApplyDBTechStack...log--------------------
SNRCTL for 32-bit Windows: Version 11.1.0.7.0 - Production on 13-JUN-2012 09:32:41
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracleebs.demo.com)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
LSNRCTL for 32-bit Windows: Version 11.1.0.7.0 - Production on 13-JUN-2012 09:32:43
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Starting tnslsnr: please wait...
Failed to open service <OracleTNSListenerVIS>, error 1060.
TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
Message 459 not found; No message file for product=NETWORK, facility=NL
Message 279 not found; No message file for product=NETWORK, facility=NL
Message 1073 not found; No message file for product=NETWORK, facility=TNS
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracleebs.demo.com)(PORT=1521)))
STATUS of the LISTENER
Alias VIS
Version TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
Start Date 13-JUN-2012 09:32:46
Uptime 0 days 0 hr. 0 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\listener.ora
Listener Log File D:\oracle\VIS\db\tech_st\11.1.0/network/admin\vis.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.68)(PORT=1521)))
Services Summary...
Service "VIS" has 1 instance(s).
Instance "VIS", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
addlnctl.cmd exiting with status 0
OpenService failed
adsvdlsn.cmd exiting with status 1007
ERRORCODE = 1007 ERRORCODE_END
.end std out.
.end err out.
-------------------end excerpt ApplyDBTechStack...log-------------------------Hi;
Pelase check below notes which is mention same error message
On Windows, After 10g Upgrade, Running Autoconfig on Apps Tier Failed with : Unable To Start Apps Services TNS-12224: TNS:no listener TNS-12541 TNS-12560: TNS:protocol adapter error TNS-00511: N .. [ID 577713.1]
Windows Autoconifg on dbTier fails on adcrobj.cmd & adsvdlsn.cmd [ID 356927.1
Rapid Clone on Windows Fails When SID Is Over 8 Characters: "Rc-00118: Error Occurred During Creation Of Database, Failed to open service" [ID 405688.1]
Regard
Helios -
TNS-12560: TNS:protocol adapter error
Hi,
I recently upgraded from oracle 9 to 10g and I get the error above.
I created a new database I CAN connect to it using sqlplus (from console), but I cannot connect using any ide.
.ora files are the following:
listener.ora:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = loki.dev.justplus.ro)(PORT = 1521))
sqlnet:
NAMES.DIRECTORY_PATH= (TNSNAMES)
tnsnames:
SM_LOKI =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = loki.dev.justplus.ro)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = SM)
Oracle version is:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
When I try to start listener (lsnrctl status) I get the error:
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=loki.dev.justplus.ro)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
Forgot to mention the OS: windows 2003
Any help is appreciated.
Thanks.You didn't describe how you performed the upgrade process. But it looks like you performed a migration process instead. If there is no listener service listed it's because it has never been started, or even configured. You should use the netca or the network manager to configure the listener and start it. The first time it starts it shows an error on windows platforms because the service originally doesn't exist, once it is created it displays the listener status.
Please check the name resolution mechanism. If you are working on dhcp assigned IP or if you have a fixed IP. In case you are working with dynamic IP address you should configure a loopback adapter, and I suggest you reading this reference: Connectivity. Loopback Adapter.
~ Madrid -
TNS-12560: TNS:protocol adapter error Windows XP
have Oracle 9i and 10g installation on Windows XP
trying to start listener
lsnrctlLSNRCTL> start
Starting tnslsnr: please wait . . .
Failed to start service, error 1058.
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 1058: Unknown error
Any suggestions for how to fix this error?What's the status of the corresponding Windows service? OS error 1058 means normally service is deactivated. In the worst case it could be necessary to remove the service from the registry. Afterwards reboot the machine and recreate the service by 'lsnrctl start'.
Werner -
TNS-12560: TNS:protocol adapter error and TNS-00530: Protocol adapter error
i just installed oracle 11g on my windows xp professional box. Which user and password shall i use. What username and password should i be using to login to sql plus?
when i use "Scott" "Tiger" it gives me ORA-12560: TNS:protocol adapter error occurred errorwhen i try to start service i get
LSNRCTL> start
Starting tnslsnr: please wait...
Failed to open service <OracleOraDb11g_home1TNSListener>, error 1060.
Failed to start service, error 203.
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
I am accessing the database from the same machine. Also do I need to have a ORACLE_HOME for getting sql plus working or it is not necessary?Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Production
System parameter file is D:\Apps\db\oracle11g\network\admin\listener.ora
Log messages written to d:\app\computeruser\diag\tnslsnr\computer2\listener\alert\
log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=computer2)(PORT=1521)
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
ipc)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=computer2)(PORT=1521)
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
ction
Start Date 13-DEC-2008 21:47:48
Uptime 0 days 0 hr. 0 min. 5 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\Apps\db\oracle11g\network\admin\listener.ora
Listener Log File d:\app\computeruser\diag\tnslsnr\computer2\listener\aler
t\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=computer22)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
The listener supports no services
The command completed successfully
D:\>
Edited by: user9938780 on Dec 13, 2008 9:52 PM
Edited by: user9938780 on Dec 13, 2008 9:52 PM
Edited by: user9938780 on Dec 13, 2008 9:53 PM
Edited by: user9938780 on Dec 13, 2008 9:53 PM -
TNS-12560: TNS:protocol adapter error TNS-00530: Protocol adapter error
Unable to start listener service.
Running Oracle Database 11gr2 on Windows 7.
I just installed Oracle with the "install software only" option.
Already set up the instance, the database, the dictionary views, etc.
Created tsnames.ora, sqlnet.ora and listener.ora as shown below.
Before installing Oracle I followed the instruction on Oracle
documentation to install a Loopback Adapter.
It is set up as the primary adapter as indicated on the
instructions. The name is "gabylan" (previously the computer
name was "P4". I set up the "hosts" file as indicated, the oracle_hostname
variable, etc. as you will see below. I don't know if it's important to "uncomment"
the line on the "hosts" file for the "localhost" entry, I left it
as it was originally.
Services currently in "Started" Status:
OracleServiceorcl
Oracle orcl VSS Writer Service
OracleMTSRecoveryService
OracleOraDb11g_home1ClrAgent
OracleServiceorcl
Below is a summary of the error message and some information
about my system setup to help you diagnose my problem.
===============================================================================
c:\Users\Public\myscripts>lsnrctl start
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-SEP-2012 13:48
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
c:\Users\Public\myscripts> lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-SEP-2012 16:17:16
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=gabylan)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
================================================================================
My "hosts" File: (c:\windows\system32\drivers\etc\hosts)
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
192.168.5.5 gabylan gabylan
=================================================================================
c:\Users\Public\myscripts>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : gabylan
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Loopback Adapter
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b8f5:bbb0:cf8b:c735%15(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.5.5(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 335675468
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-B7-78-52-00-25-22-51-68-AB
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8102E/RTL8103E Family PCI-E Fast Ethernet NIC (NDIS 6.20)
Physical Address. . . . . . . . . : 00-25-22-51-68-AB
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::7538:173c:c202:4985%10(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Tuesday, September 18, 2012 11:37:37 AM
Lease Expires . . . . . . . . . . : Wednesday, September 19, 2012 1:45:01 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 234890530
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-B7-78-52-00-25-22-51-68-AB
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
=================================================================================
# sqlnet.ora Network Configuration File:
# c:\app\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
# This file is actually generated by netca. But if customers 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.
# OTHER OPTION FOR AUTHENTICATION IS: SQLNET.AUTHENTICATION_SERVICES= (NTS)
SQLNET.AUTHENTICATION_SERVICES= (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME, EZCONNECT)
ADR_BASE = c:\app\oracle\
====================================================================================
# tnsnames.ora Network Configuration File:
# c:\app\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora
orcl =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = gabylan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
====================================================================================
# listener.ora Network Configuration File:
# c:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = gabylan)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = c:\app\oracle\product\11.2.0\dbhome_1)
(SID_NAME = orcl)
ADR_BASE_LISTENER = c:\app\oracle
=================================================================================
c:\Users\Public\myscripts>ping gabylan
Pinging gabylan [192.168.5.5] with 32 bytes of data:
Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.5.5:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
=================================================================================
Some related environment variables on my system:
COMPUTERNAME=GABYLAN
FP_NO_HOST_CHECK=NO
HOMEPATH=\Users\oracle
LOGONSERVER=\\GABYLAN
ORACLE_HOME=c:\app\oracle\product\11.2.0\dbhome_1
ORACLE_HOSTNAME=gabylan
ORACLE_SID=orcl
ORACLE_UNQNAME=orcl
SQLPATH=c:\users\public\myscripts
USERDOMAIN=GABYLAN
USERNAME=oracle
USERPROFILE=C:\Users\oracle
==================================================================================
Summary from V$INSTANCE VIEW:
INSTANCE
NAME HOSTNAME STARTUP_T STATUS DATABASE_STATUS ACTIVE_ST
orcl GABYLAN STARTED ACTIVE NORMAL
=================================================================================
Thanks,
GabrielI am getting the same error while starting or stopping the listener
LSNRCTL> start CSCLIST
Starting tnslsnr: please wait...
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
LSNRCTL> stop CSCLIST
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CSCINDAE708070)(PORT=152
2)))
NL-00303: syntax error in NV string
TNS-01153: Failed to process string: (DESCRIPTION=(CONNECT_DATA=(CID=(PROGRAM=)
(HOST=)(USER=Manager(REMOVE)))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=CSCLIST)(VERS
ION=186646784)))
Pls help
Listener.ora:
# listener.ora Network Configuration File: D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
CSCLIST =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = CSCINDAE708070)(PORT = 1522))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
SID_LIST_CSCLIST =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1\bin\oraclr11.dll")
ADR_BASE_CSCLIST = D:\Sagaya\11gDBhome -
TNS-12560 protocol adapter error
Hi,
Your help will be most apprecitated. Thanks in advance.
I am tryin to connect from client (win XP) to Oracle 10g running on Linux red hat.
I am able to successfully ping to the server bu when I do a tnsping I get the below error:
C:\WINDOWS\system32>tnsping orcl
TNS Ping Utility for 32-bit Windows: Version 10.1.0.4.2 - Production on 30-AUG-2
008 17:29:10
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\DevSuiteHome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = new-host.my-domain)(PORT = 1521))) (CONNECT_DATA = (SID = ORCL)))
TNS-12560: TNS:protocol adapter error
My listener seems to be running ok on the server
[oracle10g@new-host ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 30-AUG-2008 17:51:44
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ORCL)))
STATUS of the LISTENER
Alias listener
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 30-AUG-2008 15:48:30
Uptime 0 days 2 hr. 3 min. 14 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oraeng/app/oracle/product/10.2.0/network/admin/listener.ora
Listener Log File /oraeng/app/oracle/product/10.2.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ORCL)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=new-host.my-domain)(PORT=1521)))
Services Summary...
Service "ORCL" has 2 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Instance "ORCL", status READY, has 1 handler(s) for this service...
Service "ORCL_XPT" has 1 instance(s).
Instance "ORCL", status READY, has 1 handler(s) for this service...
The command completed successfully
Also I am able to connect to the oracle from the server:
[oracle10g@new-host ~]$ sqlplus scott/tiger@orcl
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Aug 30 17:52:52 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining optionsHi Gerard,
I would like to gain more knowledge in this regard (oracle networking)I have some good notes on trubleshooting network issue that you may enjoy:
http://www.dba-oracle.com/t_troubleshooting_sql_net_connectivity_errors.htm
Hope this helps . . . .
Donald K. Burleson
Oracle Press author -
ORA-12560: TNS:protocol adapter error on Fedora Core 5
Hi ,
After installing the 10201_database_linux_x86_64 on Fedora Core5. The database is started fine on the server. The status of is Listener is also up. But when try to connect from client PC. I am getting ORA-12560: TNS:protocol adapter error error please help. me.
Thanks,Here are my config files.
On SERVER
listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME =/u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = db10g)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc1)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx)(PORT = 1521))
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT, HOSTNAME)
tnsnames.ora
# Generated by Oracle configuration tools.
DB10G =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxx)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DB10G.WORLD)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
now when I issue lsnrctl start db10g i am getting following error.
TNS-01151: Missing listener name, db10g, in LISTENER.ORA
Please help me. -
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
Maybe you are looking for
-
File search is not working correctly
here is the problem, I have 8 500gb drives and 6 of them are almost full i am looking for a file that i used last week, I found the file by using search yesterday and both the file and the copy of the file showed up but today they are not showing up
-
How do I disable the white border around my image in low light mode (L key)
this is distracting - In LR4 there was no border.
-
Is it worth it spending $200 dlls in the new Microsoft Office 2008 for Mac?
I am trying to decide whether to upgrade my Mac to the new Microsoft Office 2008. Is it worth it? What are the differences between the new version and the old one?
-
WebLogic 6.1SP3: CGI Script Displayed, Not Processed
I've setup CGI support in my WebLogic 6.1SP3 installation, on my Solaris box. I am attempting to run a simple script that prints a message to the screen/browser. When I attempt to run the CGI script, I see the contents of the script on screen. The sc
-
I have iTunes set up to sync my Music via a playlist. (I.e., I have more songs in my Music Library than fit on my iPod, so I use a customized playlist to tell what I want on the iPod, and set my Preferences to sync from that playlist.) My question is