Ora-12162 TNS: net service name is incorrectly specified
hi ,
i have installed oracle 11g on an AIX node and configured asm as well. when i su - oracle and give sid as +ASM am able to get in to sqlplus as ASM and oracle home is ASM.
but when i give oracle_home to db i get the error. the thing is that these files were not created wen i installed oracle. i created them manually :(
thanks in advance
--------- listener.ora-------------
# listener.ora.rac01 Network Configuration File: /u01/oracle/product/11.1.0.7/db
/network/admin/listener.ora.rac01
# Generated by Oracle configuration tools.
LISTENER=
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = rvn14)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.160.103.46)(PORT = 1521)(IP = FIRST))
(SID_LIST_LISTENER=
(SID_LIST=
(SID_NAME=sys)
ADR_BASE_LISTENER_RAC01=/u02
---------- sqlnet.ora------------
names.default_domain = world
names.directory_path = (TNSNAMES)
trace_level_client = off
tcp.nodelay = yes
bequeath_detach = yes
sqlnet.expire_time = 10
sqlnet.inbound_connect_timeout = 0
adr_base=/u02
--------tnsnames.ora----------
LISTENER=
(DESCRIPTION=
(ADDRESS_LIST=(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)
(Host=10.160.103.46)(Port=1521)))
(CONNECT_DATA=(SID=sys)
Hi;
Please see:
ORA-12162 When Logging in Using BEQ (no tnsnames alias) [ID 312348.1]
Similar issue also mention before here. Please see:
https://forums.oracle.com/forums/search.jspa?threadID=&q=ora-12162+&objID=c18&dateRange=all&userID=&numResults=15
Regard
Helios
Similar Messages
-
OSX SQLPLUS error:ORA-12162:TNS:net service name is incorrectly specified
Dear oracle community,
just stepped today into oracle world.
Installed OracleXE on my remote UBUNTU server.
From the server, sqlplus works perfectly.
From my client (followed this tutorial http://www.danilovizzarro.it/?p=10 ), i can connect via the
sqlplus connection string: #sqlplus hr/PASS@HOSTipADDRESS/XE .
But when i try just sqlplus and enter username/password later on, i get
ORA-12162:TNS:net service name is incorrectly specified .
My config:
OS - MAC OS X LEOPARD 10.5.5
#echo $ORACLE_SID
XE
#echo $ORACLE_HOME
/opt/oracle/instantclient_10_2/
#echo $TNS_ADMIN
/opt/oracle/tns/
# cat /opt/oracle/tns/tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = HOSTipADDRESS)(PORT = 1521))
(CONNECT_DATA =
(SID = XE)
Any ideas - is it that sqlplus doesn't locate my tnsnames.ora file, or, maybe, there's an error in it?
thanks for any ideas, recipies, suggestions :)
enjoy the day,
jamesIf I understand you correctly you only give userid and password,but no connect string. That would be a LOCAL connection,which will not work,because you issue the command on the client,not the database server. For local connections you have to specify a value for ORACLE_SID. If you do that on your client (doesn't make sense , because you don't have a database here), you should see a message like 'Oracle not available'. If ORACLE_SID is not defined you get ORA-12162,which is a little misleading.
Werner -
Net service name is incorrectly specified
Hi,
Please can anyone explain me why am I getting this error ?
" ORA-12162: TNS:net service name is incorrectly specified "
ThanksORA-12162: TNS:net service name is incorrectly specified
Cause: The connect descriptor corresponding to the net service name in TNSNAMES.ORA or in the directory server (Oracle Internet Directory) is incorrectly specified.
Action: If using local naming make sure there are no syntax errors in the corresponding connect descriptor in the TNSNAMES.ORA file. If using directory naming check the information provided through the administration used for directory naming.
Regards
Asif Kabir -
Tns error ora-12162 net service name is incorrectly specified
Hello gurus ,
I am trying to connect database using telnet from windows machine ,
after login os , username ,password
i got $ prompt , after that i have given sqlplus command , then I have enter username,pwd correctly ,but I am unable to connect its giving error " Net service name is incorrectly specified ,
I have checked my tnsnames.ora file at the database system , i find all the entries are correct
plzzz can anybody help me .. how to connect database via telnetuser10608990 wrote:
Hello gurus ,
I am trying to connect database using telnet from windows machine ,
after login os , username ,password
i got $ prompt , after that i have given sqlplus command , then I have enter username,pwd correctly ,but I am unable to connect its giving error " Net service name is incorrectly specified ,
I have checked my tnsnames.ora file at the database system , i find all the entries are correct
plzzz can anybody help me .. how to connect database via telnet"I have enter username,pwd correctly "
"i find all the entries are correct "
And yet, it doesn't work!
=============
"I have checked my tnsnames.ora file at the database system "
when you start sqlplus ... is that on the same machine that is running the db, or some other machine? Remember .. (and I'm really feeling like a broken record on this one) <b><i>TNSNAMES.ORA IS USED BY THE <U>CLIENT</U> PROCESS.</i></b>
Show us the contents of your listener.ora file -- from the server machine
Show us the contents of your tnsnames.ora and sqlnet.ora files -- from the client machine. -
Hi,
I am getting bellow error.Any idea?
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: "/as sysdba"
Enter password:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Thanks,
Mk[oracle@oracle ~]$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 20 14:24:41 2009
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Enter user-name:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Enter user-name: [oracle@oracle ~]$
[oracle@oracle ~]$ export ORACLE_SID=DB112
[oracle@oracle ~]$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 20 14:24:59 2009
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: / as sysdba
Connecte a :
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> -
Enumerate Net Service Names in C++?
Is there some API that would allow me to enumerate the locally configured Net Service Names (those in tnsnames.ora) using C++ without having to parse the file directly. I'm not running Oracle Names on my network.
k1ng87 wrote:
Hi Ed,
thanks for the response. I tried what you suggested:
Data Source=(DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=105.1.12.190) (PORT=1521)) (CONNECT_DATA= (SERVICE_NAME=OMP1)))
but get the same result back...here is the full code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Oracle.DataAccess.Client; // ODP.NET Oracle managed provider
using Oracle.DataAccess.Types;
namespace OracleListenTrigger
class Program
static void Main(string[] args)
string oradb = "Data Source=(DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=105.1.12.190) (PORT=1521)) (CONNECT_DATA= (SERVICE_NAME=OMP1)));User ID=user;Password=pass;";
OracleConnection conn = new OracleConnection(oradb); // C#
conn.Open();
OracleCommand cmd = new OracleCommand();
cmd.Connection = conn;
cmd.CommandText = "SELECT cast(Count(*) as varchar(20)) as trig FROM ZDMSN.TRIGGER_TEST";
//cmd.CommandType = CommandType.Text;
OracleDataReader dr = cmd.ExecuteReader();
dr.Read();
int cnt;
if (int.TryParse(dr.GetString(0), out cnt))
if (cnt > 0)
System.Diagnostics.Process.Start(@"C:\AutoBatch\backup\trigger2.bat");
cmd.CommandText = "TRUNCATE TABLE ZDMSN.TRIGGER_TEST";
cmd.ExecuteNonQuery();
conn.Dispose();
I used brackets just to see if that would work...I'm no C programmer, so am not sure about the interface. I do question the wisdom of hard-coding that connect descriptor into a compiled program. As a general rule, I don't like hard-coding any run-time values that are even remotely subject to change. Why NOT rely on the tnsnames file?
That aside, to solve your immediate problem the next step I'd take would be to set up a level 16 client-side tns trace. The parms are set into the sqlnet.ora file. Details in the [url http://docs.oracle.com/cd/E11882_01/network.112/e10835/sqlnet.htm#i500318]fine manual
Once you get the trace file, just go on a fishing expedition. -
How to bypass net-service-name
When I login to database using SqlPlus with dba unix account,I go the following error message.
command>sqlplus username/passwd
ERROR:
ORA-01034: ORACLE not available
It is Ok for the following command.
command>sqlplus username/passwd@service-name
But If I login with "oracle"(a unix account),
command>sqlplus username/passwd
it is OK too.
The primary group of "dba unix account" and "oracle" is same.
How can I login database bypass net service name??
Thanks!!¿Ehm?
You'll need have to have a connection first, before you can query a table/view.
@ OP
i want connect to SQLDEVELPOERSounds like some 'Poor SQL devil' is driving you nuts...
Who's your DBA? ( Apparently not Sybrand ;) )
Don't get me wrong:
It's good to be 'OraHungry', but always try to understand what you 'eat' ;)
Read the docs, as Sybrand already asked you, you'll learn a lot for free.
It will give you information Google will not give you, unless you're willing to check out 1000's of links in vain first. -
How to bypass net service name when logining database
When I login to database using SqlPlus with dba unix account,I go the following error message.
command>sqlplus username/passwd
ERROR:
ORA-01034: ORACLE not available
It is Ok for the following command.
command>sqlplus username/passwd@service-name
But If I login with "oracle"(a unix account),
command>sqlplus username/passwd
it is OK too.
The primary group of "dba unix account" and "oracle" is same.
How can I login database
bypass net service name??
Thanks!!Let's assume your service name was "orcl.oracle.com" and now is "orcl", you can do (as sysdba) :
SQL> alter system set service_names='orcl, orcl.oracle.com'; -- (or just orcl.oracle.com)
If you use initSID.ora to start the DB, then you have to change it there, and bounce the DB. -
Retrieving local net service name
Hi, Guys:
Are there some APIs (C++ on Windows) from Oracle that can be used to retrieve net service names? Or I have to parse the tnsnames.ora file to get the service names?
Thanks,
Zhenuser2014538 wrote:
Please any body help me ...
I am using Win 7, installed Oracle 10g 32 bit, i wanted to use:
Net Configuration Assistant, its getting open but when i select Local Net Service Name configuration, the wizard is not going further.
Regardsis it windows Ultimate?
What is the Release? it 10gR1 or 10gR2?
First check is it certified or not
https://support.oracle.com/CSP/ui/flash.html#tab=CertifyHomePageV2%28page=CertifyHomePageV2&id=gtlnwdlz%28%29%29
also if possible you can configure manually also. -
Hit 500 Internal Error when Creating Net Service Name in Directory via EM
Dear All
When I click 'LISTENER_<Full_hostname>' in the General section of Page Database and then click 'Net Services Administration' in the Related Links section of Page Listener through Oracle Enterprise Manger 10g Database Control in order to create Net Service Name in Oracle Internet Directory, I got following 500 Internal Error
java.lang.RuntimeException: Expecting Vector, Enumeration or array, found oracle.cabo.ui.data.ListDataObjectList
at oracle.sysman.emSDK.jsp.Utils.getEnumeration(Utils.java:81)
at oracle.sysman.emSDK.jsp.ChoiceBean.render(ChoiceBean.java:58)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.browser.MultipleSelectionRenderer$SelectorChildrenRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.browser.MultipleSelectionRenderer.renderTableControlBar(Unknown Source)
at oracle.cabo.ui.laf.browser.SingleSelectionRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
at oracle.cabo.ui.laf.browser.TableRenderer.renderControlBar(Unknown Source)
at oracle.cabo.ui.laf.xhtml.TableRenderer._renderControlBar(Unknown Source)
at oracle.cabo.ui.laf.xhtml.TableRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.sysman.emSDK.jsp.TableBean.render(TableBean.java:690)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.browser.HeaderRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.xhtml.BodyRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
at oracle.cabo.ui.laf.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.browser.PageLayoutRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.xhtml.DocumentRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.xhtml.DocumentRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.jsps.tags.BaseUINodeTag.__handleFinishedNode(Unknown Source)
at oracle.cabo.ui.jsps.tags.BaseUINodeTag.doEndTag(Unknown Source)
at net.netAdmin._jspService(_netAdmin.java:699)
[net/netAdmin.jsp]
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
at oracle.sysman.db.net.NetControllerResolver.handleRequest(NetControllerResolver.java:169)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
at oracle.sysman.eml.app.Console.doGet(Console.java:285)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:269)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
OS version is: Windows 2003 Enterprise Edition Release 2 SP2, which is msdn version built on VM EXSi 3.0
Platform: x86 (VM EXSi 3.0)
OIM Infrastructure: OIM_OIF 10.1.4.0.1
Please let me know how can I fix this problem and if you need anything else please let me know
Thanks in advance
Patrickuser8149666 wrote:
Dear All
When I click 'LISTENER_<Full_hostname>' in the General section of Page Database and then click 'Net Services Administration' in the Related Links section of Page Listener through Oracle Enterprise Manger 10g Database Control in order to create Net Service Name in Oracle Internet Directory, I got following 500 Internal ErrorWhat do you mean by "in order to create Net Service Name in Oracle Internet Directory"? -
Netca Local Net Service Name Configuration
Hello,
I'm searching for a while now on how to configure a local net service name configuration silently with netca.rsp.
I can't found any Template according to that kind of configuration.
So I need to add a "Local Net Service Name configuration" into the Oracle Net Configuration Assistant.
I just have to configure the service name, TCP, hostname, username and password but I don't know how to setup the response file.
Here is the generic Template of netca.rsp
## Copyright(c) 1998, 2011 Oracle Corporation. All rights reserved. ##
## Specify values for the variables listed below to customize your ##
## installation. ##
## Each variable is associated with a comment. The comment ##
## identifies the variable type. ##
## Please specify the values in the following format: ##
## Type Example ##
## String "Sample Value" ##
## Boolean True or False ##
## Number 1000 ##
## StringList {"String value 1","String Value 2"} ##
## This sample response file causes the Oracle Net Configuration ##
## Assistant (NetCA) to complete an Oracle Net configuration during ##
## a custom install of the Oracle11g server which is similar to ##
## what would be created by the NetCA during typical Oracle11g ##
## install. It also documents all of the NetCA response file ##
## variables so you can create your own response file to configure ##
## Oracle Net during an install the way you wish. ##
[GENERAL]
RESPONSEFILE_VERSION="11.2"
CREATE_TYPE="CUSTOM"
# Name : SHOW_GUI
# Datatype : Boolean
# Description: This variable controls appearance/suppression of the NetCA GUI,
# Pre-req : N/A
# Default : TRUE
# Note:
# This must be set to false in order to run NetCA in silent mode.
# This is a substitute of "/silent" flag in the NetCA command line.
# The command line flag has precedence over the one in this response file.
# This feature is present since 10.1.0.3.
SHOW_GUI=false
# Name : LOG_FILE
# Datatype : String
# Description: If present, NetCA will log output to this file in addition to the
# standard out.
# Pre-req : N/A
# Default : NONE
# Note:
# This is a substitute of "/log" in the NetCA command line.
# The command line argument has precedence over the one in this response file.
# This feature is present since 10.1.0.3.
LOG_FILE=""C:/netca.log""
[oracle.net.ca]
#INSTALLED_COMPONENTS;StringList;list of installed components
# The possible values for installed components are:
# "net8","server","client","aso", "cman", "javavm"
#INSTALLED_COMPONENTS={"server","net8","javavm"}
#INSTALL_TYPE;String;type of install
# The possible values for install type are:
# "typical","minimal" or "custom"
INSTALL_TYPE=""typical""
#LISTENER_NUMBER;Number;Number of Listeners
# A typical install sets one listener
LISTENER_NUMBER=1
#LISTENER_NAMES;StringList;list of listener names
# The values for listener are:
# "LISTENER","LISTENER1","LISTENER2","LISTENER3", ...
# A typical install sets only "LISTENER"
LISTENER_NAMES={"LISTENER"}
#LISTENER_PROTOCOLS;StringList;list of listener addresses (protocols and parameters separated by semicolons)
# The possible values for listener protocols are:
# "TCP;1521","TCPS;2484","NMP;ORAPIPE","IPC;IPCKEY","VI;1521"
# A typical install sets only "TCP;1521"
LISTENER_PROTOCOLS={"TCP;1521"}
#LISTENER_START;String;name of the listener to start, in double quotes
LISTENER_START=""ERPSERVER""
#NAMING_METHODS;StringList;list of naming methods
# The possible values for naming methods are:
# LDAP, TNSNAMES, ONAMES, HOSTNAME, NOVELL, NIS, DCE
# A typical install sets only: "TNSNAMES","ONAMES","HOSTNAMES"
# or "LDAP","TNSNAMES","ONAMES","HOSTNAMES" for LDAP
NAMING_METHODS={"TNSNAMES","ONAMES","HOSTNAME"}
#NOVELL_NAMECONTEXT;String;Novell Directory Service name context, in double quotes
# A typical install does not use this variable.
#NOVELL_NAMECONTEXT = ""NAMCONTEXT""
#SUN_METAMAP;String; SUN meta map, in double quotes
# A typical install does not use this variable.
#SUN_METAMAP = ""MAP""
#DCE_CELLNAME;String;DCE cell name, in double quotes
# A typical install does not use this variable.
#DCE_CELLNAME = ""CELL""
#NSN_NUMBER;Number;Number of NetService Names
# A typical install sets one net service name
NSN_NUMBER=1
#NSN_NAMES;StringList;list of Net Service names
# A typical install sets net service name to "EXTPROC_CONNECTION_DATA"
NSN_NAMES={"EXTPROC_CONNECTION_DATA"}
#NSN_SERVICE;StringList;Oracle11g database's service name
# A typical install sets Oracle11g database's service name to "PLSExtProc"
NSN_SERVICE={"PLSExtProc"}
#NSN_PROTOCOLS;StringList;list of coma separated strings of Net Service Name protocol parameters
# The possible values for net service name protocol parameters are:
# "TCP;HOSTNAME;1521","TCPS;HOSTNAME;2484","NMP;COMPUTERNAME;ORAPIPE","VI;HOSTNAME;1521","IPC;IPCKEY"
# A typical install sets parameters to "IPC;EXTPROC"
NSN_PROTOCOLS={"TCP;HOSTNAME;1521"}
Does anyone have an idea or some information on how to configure the netca.rsp?
Thanks in advanceJust one more question how could i uninstall ORACLE client, it is not listed in the Add/remove programs.run Oracle Universal Installer (again).
OUI contains uninstall capability -
LDAP(iPlanet & OID) Net Service Names
Hi There,
Is it possible to use iPlanet's LDAP for net service names lookup instaed of Oracle Names?
Is there a way to extract the schema in OID and import into iPlanet ldap. If this could be done then NET8 should be able to connect to the directory server. Why I say this is: according to Oracle documentation, Net8 supports directory naming:
"Service addresses and net service names can be stored in a Lightweight Directory Access Protocol (LDAP)-compliant directory server."
Has anyone done this?.
With the release of Orcale 9i Oracle is due to ship a product called Oracle Names LDAP Proxy. Is there any information on this product.
All comments and suggestions are very welcome and appreciated
Regards
Pat LehaneHi Jay,
Thanks for the reply.
I installed NET 8.1.7 and am trying to connect to iPlanet LDAP through NET8 Configuration Assitant to create an Oracle schema in the in the iPlanet Directory Server but I get an error as follows:
configexception: Could not create Oracle schema:oracle.net.config.ConfigException
You must update the schema from a computer which directly supports your type of directory
There are still only three options in the directory server type in NET8 config assitant.
Is there another way of creating the schema in iPlanet or is there some steps to be done in iPlanet first.
Regards
Pat -
Ora 12154: TNS could not resolve connect identifier specified
Hi,
I have Oracle 11g (Release 1_32bit) Client on my C:\ drive which connect to a Remote 11g (11.1.0.7.0 - 64bit) server.
I have installed 10g DB Server(10.2.0.1.0) and Oracle 10g Forms(Forms [32 Bit] Version 10.1.2.0.2 ) on my D:\ drive.
When I try to connect to Oracle 10g DB from Forms using "Connect" button, I get following error:
"ORA-12154: TNS: could not resolve the connect identifier specified"
Tns and Listner files both are same in Developer_Suite home and 10g home.
Can someone please help me with this error?
Thanks"ORA-12154: TNS: could not resolve the connect identifier specified"
$ oerr ora 12154
12154, 00000, "TNS:could not resolve the connect identifier specified"
// *Cause: A connection to a database or other service was requested using
// a connect identifier, and the connect identifier specified could not
// be resolved into a connect descriptor using one of the naming methods
// configured. For example, if the type of connect identifier used was a
// net service name then the net service name could not be found in a
// naming method repository, or the repository could not be
// located or reached.
// *Action:
// - If you are using local naming (TNSNAMES.ORA file):
// - Make sure that "TNSNAMES" is listed as one of the values of the
// NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
// (SQLNET.ORA)
// - Verify that a TNSNAMES.ORA file exists and is in the proper
// directory and is accessible.
// - Check that the net service name used as the connect identifier
// exists in the TNSNAMES.ORA file.
// - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
// file. Look for unmatched parentheses or stray characters. Errors
// in a TNSNAMES.ORA file may make it unusable.
// - If you are using directory naming:
// - Verify that "LDAP" is listed as one of the values of the
// NAMES.DIRETORY_PATH parameter in the Oracle Net profile
// (SQLNET.ORA).
// - Verify that the LDAP directory server is up and that it is
// accessible.
// - Verify that the net service name or database name used as the
// connect identifier is configured in the directory.
// - Verify that the default context being used is correct by
// specifying a fully qualified net service name or a full LDAP DN
// as the connect identifier
// - If you are using easy connect naming:
// - Verify that "EZCONNECT" is listed as one of the values of the
// NAMES.DIRETORY_PATH parameter in the Oracle Net profile
// (SQLNET.ORA).
// - Make sure the host, port and service name specified
// are correct.
// - Try enclosing the connect identifier in quote marks.
// See the Oracle Net Services Administrators Guide or the Oracle
// operating system specific guide for more information on naming.
$
Tns and Listner files both are same in Developer_Suite home and 10g home.Listener files are totally useless in Developer Suite home, since they are server files. -
while installing oracle data warehouse builder 10g
i am getting prob such tat
INS0009:Unable to connect to the database with user SYS
java.sql.SQLException:Io exception : could not resolve the connect identifier
OraHome_1\network\ADMIN\SAMPLE\TNSNAMES.ORAhi my problem is in repository assistant IN 2ND STEP
After i enter the
Repository User name sindhu
Repository User Password tiger (As i kept the password of Oracle 10g)
SYSDBA User name SYS
SYSDBA Password tiger (As i kept the password of Oracle 10g)
Host name Local Host
Port number 1521 (default)
Oracle Service name OracleServiceXE
and i am not clicking the SQL* Plus
and clicking on " Next "
then my prob is
INS0009:Unable to connect to the database with the user SYS
java.sql.SQLException : Listener refused the connection with the following error
ORA-12514, TNS: listener dosenot currently know of service requested in connect descriptor
The Connection Descriptor used by the client was
(DESCRIPTION=(ADDRESS=(HOST=LOCALHOST)(PROTOCOL=tcp)(PORT=1521))(CONNECT_DATA=
(SERVICE_NAME=ORACLESERVICEXE)))
hope some one will give me a gud solution
Waiting for ur reply
Sindhu -
Net Service Names \ ODBC connection in 8i Pers
Hi,
I am new to Oracle and have 8i Personal
installed. I am trying to get an ODBC connection established to the sample database that was installed but it is not working. I have not been able to get the right combination of net service \ listener \ ODBC parameters. I have tried to do Test Database in the Net8 Assistant even on the
EXT_PROCCONNECTION_DAT service name that shipped but always get a ORA12560:Protocol Adaptor error. Should my protocol be IPC or TCP\IP - I am running local and the sample database is local, too. Does anyone know what parameters to use to get a connection or where I can find more about ODBC connections?
Thanks,
Mike ThrappProblem solved by running ODBC administrator from orahome instead of control panel.
Maybe you are looking for
-
20" Apple Monitor - Thunderbolt - MacBook Pro 15" (late 2011)
I have an Apple 20" monitor with an HDMI cable. I had that monitor connected to my Macbook Pro 15" (late 2011) with an HDMI to Mini adapter, and it was working fine as a second monitor. I purchased a Thunderbolt monitor to daisy-chain the Thunderbolt
-
Pages not loading completely or at all.
This is a problem I've been having for weeks and weeks. Pages in Safari (or in IE or in Firefox) will not load completely or at all. For example, the apple.com homepage does not load at all and neither does ebay. However, the amazon homepage will loa
-
I just bought a new 24" iMac. It has a 2.4 GHZ Processor, 3GB of Ram and here are specs on my Graphics Card and display: Chipset Model: ATI,RadeonHD2600 Type: Display Bus: PCIe PCIe Lane Width: x16 VRAM (Total): 256 MB Vendor: ATI (0x1002) Device ID:
-
Java code to make connection to web server??
Hi, we are looking at simple java code to connect to IIS Server and retrive a ZIPed file. this zip file contains photos. all individual photos are stored in zip file under doc root of IIS server.. any sample code will be great
-
2nd time posting: Flashing JTabbed Pane?
I'm trying to use a JTabbed Pane wherein tabs are created dynamically from the server. In order to alert the the user of the client software that a new tab has been created, I would like the top of the tab to flash or blink with a different color. an