Oracle 11g on Windows XP - TCP with SSL
Hello
have successfully installing Oracle 11 g on a Windows XP computer that is used as a small server in a test/test environment.
This machine is running in my local environment without external connections Windows Firewall is disabled.
A java test program written to connect to the server using TCP / through a connection of plaintext using the driver oracle thin JDBC works very well.
Wanted now to set up the server so that it would accept SSL connections (ultimately with counterpart, but without authentication server or client authentication as a configuration to boot).
Used Oracle Net Manager to configure the server as follows:
(Note: have used red ink hightlight settings I don't know if they are needed)
Listener.ora |
---|
listener.ora # Network Configuration file: C:\ORACLE11G\app\oracle\product\11.2.0\NETWORK\ADMIN\listener.ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = CLRExtProc) (ORACLE_HOME = C:\ORACLE11G\app\oracle\product\11.2.0) (= Extproc PROGRAM) (ENVS = "EXTPROC_DLLS=ONLY:C:\ORACLE11G\app\oracle\product\11.2.0\bin\oraclr11.dll") ) ) LISTENER_TCPS = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC2484)) ) (DESCRIPTION = (ADDRESS = (PROTOCOL = TCPS) (HOST = 192.168.178.103)(PORT = 2484)) ) ) SSL_CLIENT_AUTHENTICATION = FALSE LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521)) ) (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = AOPENMINI)(PORT = 1521)) ) ) ADR_BASE_LISTENER = C:\ORACLE11G\app\oracle TRACE_LEVEL_LISTENER_TCPS = USER ADR_BASE_LISTENER_TCPS = C:\ORACLE11G\app\oracle\product\11.2.0\log |
tnsnames.ora |
---|
tnsnames.ora # Network Configuration file: C:\ORACLE11G\app\oracle\product\11.2.0\NETWORK\ADMIN\tnsnames.ora # Generated by Oracle configuration tools. PMT = |
(SERVICE_NAME = PMT)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = AOPENMINI)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCPS) (HOST = AOPENMINI)(PORT = 2484))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.168.178.103)
)
)
SQLNET.ora |
---|
sqlnet.ora # Network Configuration file: C:\ORACLE11G\app\oracle\product\11.2.0\NETWORK\ADMIN\sqlnet.ora # Generated by Oracle configuration tools. # This file is actually generated by netca. But if customers can opt for SQLNET. AUTHENTICATION_SERVICES = (NONE) SSL_VERSION = 0 TRACE_LEVEL_CLIENT = USER NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT) SSL_CLIENT_AUTHENTICATION = TRUE TRACE_LEVEL_SERVER = USER WALLET_LOCATION = ADR_BASE = C:\ORACLE11G\app\oracle\product\11.2.0\log |
Here is the error I get
error |
---|
Caused by: java.net.ConnectException: connection refused: connect at java.net.PlainSocketImpl.socketConnect (Native Method) at java.net.PlainSocketImpl.doConnect (unknown Source) at java.net.PlainSocketImpl.connectToAddress (unknown Source) at java.net.PlainSocketImpl.connect (unknown Source) at java.net.SocksSocketImpl.connect (unknown Source) at java.net.Socket.connect (unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect (unknown Source) at oracle.net.nt.TcpsNTAdapter.connect(TcpsNTAdapter.java:114) at oracle.net.nt.ConnOption.connect(ConnOption.java:123) at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:337) |
For some reason, the server doesn't listen on port 2484 at all (running telnet localhost 2484 on the server itself leads to no possible connection).
Is not not a network expert I'm stuck here and would appreciate any help on how to overcome this problem of set-up.
Thank you
Why a listener 2nd for the TCPS? Why not use a single listener - as is the default value recommended?
Do you have SSL certificates (root complete auth chain) for the server in the portfolio of Oracle for this server - with the generated SSL certificate request, signed by a root authority?
To see the server tcp listener endpoints, use the netstat command. Enable SQL * Net follow-up on the side of the listener if you need to trace and debug connections to the listener. Activate too on the client side if you need to trace the calls from the client to the listener.
Tags: Database
Similar Questions
-
Latest version of the Oracle 11g for Windows Client
I was able to download Oracle 11 g Client base of
http://www.Oracle.com/technology/software/products/database/Oracle11g/111060_win32soft.html
Anyone know if this what they have for 11g? Oracle has provided any patches in addition to this group?I'll have to specify this patch #: 6890831 and I should specify Windows (32) for platform? The Oracle Clients are Windows machines.
Yes that's correct.
-
Y at - it Oracle 11g for windows 64-bit XE?
Hey, guys:
I am a newbie to install Oracle. I need to install Oracle XE 11 g. I checked it on Oracle, only Oracle Database Express Edition 11 g Release 2 for windows x 32. My OS is Windows 7 64 bit. I am so worried if there are potential compatibility problems. There are Oracle XE 11 g for windows 64-bit (or is it important to work with OC4J 10 g oc4j_extended_101350 and APEX 4.1 earphone)? Whereas I have to install a listener OC4J and Oracle APEX. I am concerned about this compatibility issue more. (I installed OC4J 10 g (oc4j_extended_101350) and installed as a windows associated with the application javaservice service, he spent a lot of time to solve the problem of compatibility)
Thank you very much!
SamThis has been asked and answered several times in these forums - use the search function of pl - https://forums.oracle.com/forums/search.jspa?threadID=&q=XE+AND+64+AND+windows&objID=c18&dateRange=all&userID=&numResults=15&rankBy=10001
HTH
Srini -
DBA Oracle 11g on Windows or Linux?
Advise me please, oracle under windows or linux, which is in demand?
I'm a beginner, so I can't understand wat to learn. I am an ASP.Net with c#
oracle DBA career evolution programmer. A few comments are more
appreciated.
Thank you
AmjadHello
First of all, and that learning about windows on linux. Know a few operating system commands before going for linux. I tried to
explain certain commands in brief. Also check out the link below:http://rafioracledba.blogspot.com/search/label/UNIX%20For%20DBA
Best regards
Rafi.
http://rafioracledba.blogspot.com/ -
Oracle 11g R2 RAC on IBM with SAN storage
Hello Experts,
I design an implementation for RAC Oracle 11 g 2 on AIX 6.1 with IBM's SAN storage. My drawing do not include Oracle ASM, I know, it is recommended to use Oracle ASM, but my purpose is not included
I read the Guide of Installation of Oracle Grid Infrastructure and I have below questions about storage configurations:
1. do I need a special configuration to replace the DSO?
2. is it compulsory to use HACMP (IBM's Clustering solution) because I don't use ASM? Since based on the infrastructure Grid section 3.2 Installation guide (the Storage Configuration shared): [http://download.oracle.com/docs/cd/E11882_01/install.112/e17210/storage.htm] there is a section 3.2.7 "Configuration HACMP multinode disk Heartbeat (MNDHB) for Oracle Clusterware" so my question is it is mandatory to use HACMP if I don't want to use ASM?
3. in the same above installation guide, mentioned in section 3.2.8 that "to use the raw logical volumes for Oracle Clusterware, HACMP must be installed and configured on all nodes in a cluster." what is raw logical volumes? is it compulsory to use it? Since I'm not on ASM?
4 installation guide, in sections 3.2.3 to sections 3.2.9 are these prerequisites sections sections 3.2.10 to 3.2.15? or I can simply ask section 3.2.10 to 3.2.15 without applying 3.2.3 to 3.2.9?
One last Question:
ASM is integrated with the cluster software, do a separate license or license the license of the ASM cluster cover?
Kind regardsNB wrote:
Hello Levi,the information provided is very useful. But what I heard in the installation guide network infrastructure that the raw device needs HCMP while GPFS need not of HACMP, GPFS is a cluster provided by IBM file system.
Your input please?Hello
Raw disk device (RD) is the LUN (disk) storage mapped on AIX.
Raw logical volume (RLV) is the LUN (device) created the LVM of AIX.If you use devices of raw disk that you don't need HACMP, because AIX (core) has only receive instructions from Oracle to read and write, AIX does not support concurrency control in the raw disks, this control is managed by Oracle.
If you use raw logical volumes (CLVM) HACMP must be installed and configured on all nodes in the cluster, volume logic is a feature of AIX (IBM) to enable simultaneous mode, you install HACMP, Oracle not manage concurrency control because Oracle does not know that there is an LVM behind.
You are right, that the new version of GPFS are usable without HACMP.
Kind regards
Levi PereiraPublished by: Levi Pereira on October 8, 2011 17:26 # update the info on gels of features
-
Oracle 11G install on Win 7 with PL/SQL Developer Help Needed
Today is my first day with Oracle. I tried to install Ora11g since our network drive. I think that the installation went well. I also have installated PL/SQL Developer when I try to log in I got the following error see below.
---------------------------
PL/SQL Developer - (not connected)
---------------------------
Initialization error
SQL * Net not properly installed
OracleHomeKey: SOFTWARE\ORACLE
OracleHomeDir:
---------------------------
Ok
After I did some research on the Internet I found this solution "go to tools > Preferences > options manually set 'Oracle Home" in the folder "Library OIC" and ORACLE_HOME to file oci.dll is located in ORACLE_HOME/bin/oci.dll.
C:\app\user\product\11.2.0\Client_1\bin.dll < = I think it's my Oracle_Home
C:\app\user\product\11.2.0\client_1\bin\oci.dll < = is my OCI library.
When I apply a thse 2 ways I get the following error.
Initialization error
Could not load C:\app\user\product\11.2.0\client_1\bin.dll «»
OCIDLL to C:\app\user\product\11.2.0\client_1\bin.dll
LoadLibrary (C:\app\user\product\11.2.0\client_1\bin\.dll) returned 0
Can someone help me with this? /PL indicate which version of Win 7 - you need professional or superior - home versions are not taken in charge/certified, then things may or may not work as expected.
http://download.Oracle.com/docs/CD/E11882_01/install.112/e16773/reqs.htm#CHDHGGFE
HTH
Srini -
"post requesties of installing oracle database 11g on windows".
can any tell me what are the post installation requesties of installing oracle 11g on windows database?
Thanks and greetings
Vikash
"All Izz well".See the documentation
http://download.Oracle.com/docs/CD/E11882_01/install.112/e10843/postcfg.htm#i1006313See you soon
Concerning
Renjith Malet -
Hi all
I tried to install oracle 11g on windows 7 but when database creating the installer hang and error log display.Hello
First of all, you must make sure that the event viewer service is running, all you have to do is to go to
my computer right click Properties then in computer management, you will find event viewer.Second, expand the event viewer and go to system and make a right, and then click clear log.
You can do the same step for application.then come back again and try to create the database :)
-
Hi, I have installed oracle 11g on windows to test the object. I am facing a few questions:
(1) after connecting to the database. I ran the command "Shutdown". I took a lot of time. but after that I ran the startup. now, the database does not start uo back.
It is said: ORA-01031: insufficient privileges
(2) how can we check the status of the database, either running or down
I know that in linux, we can check it in ps - ux | grep tns
is there a similar command in windows
(3) in addition, I created the general database using dbca utility. but it has not made the default tables. IE emp, dept etc.
I guess these are the base that is created tables.
Thank you
Baku Amadou S.Hello
I use here an example dbname is orcl
1. Please check the pfile is present. ORACLE_HOME\database\initorcl.ora
2. Please check the services.msc as vinayak said.if Oracleserviceorcl function isn't there, create the service as c:\...>oradim-nouveau - sid orcl syspwd - sys
3. the service must be present and started.if not... start it by right click--> Start.
4. set the oracle_sid = oracle_sid.c:\...>set * orcl *.
5. check if it is set.c:\...>echo '% oracle_sid % '.
6. connect to oracle sys as sysdba c:\...>sqlplus
7. starting the database instance.c:\...>startup
8. see the status of the instance.c:\...sql>select of v$ instance;
9. see the status of the database.c:\...sql>select of the v database open_mode $;If you get an error, please report it.
Kind regards
Rameau -
Problem with Oracle 9i and Oracle 11g
Hello
I have 2 Installation of Oracle: Oracle 9i client and Server Oracle 11.2
Oracle 9i to: C:\oraclient9\
Oracle 11g: C:\app\a.l\product\11.2.0\
I have an application that has to connect to Oracle via ODBC, but whenever I try to connect looking for odbc Oracle 9i and I get this error:
ORA-12541: TNS no listener
If I try to boot with sqlplus to: start-> run-> sqlplusw get Oracle 9i version
If I'm running sqlplus from start-> program-> Oracle 11-> I can connect properly.
If I try to create a new ODBC it always plug the Oracle version 9i.
I tried:
Set ORACLE_HOME=C:\app\a.l\product\11.2.0\dbhome_1
Set ORACLE_SID = ORCL
but when I try: sqlplus / as sysdba I get this error:
14 error initializing SQL * more
SP1 file < lang > .msb not found message
SP2-0750: you may need to set ORACLE_HOME in your Oracle software directory
If I try to boot with sqlplus to: start-> run-> sqlplusw get Oracle 9i version with the error:
ORA-12541: TNS no listener
Variables environment variables in the path are:
C:\oraclient9\bin; C:\Program Files\Oracle\jre\1.3.1\bin; C:\Program Files\Oracle\jre\1.1.8\bin; C:\app\a.l\product\11.2.0\dbhome_1\BIN; C:\app\a.l\product\11.2.0\dbhome_1\bin;%SystemRoot%\System32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\WindowsPowerShell\v1.0\; C:\Program Files\Sybase\SQL Anywhere 9\win32. C:\Program Files\Sybase\Shared\win32; C:\Program Files\Sybase\SQL Anywhere 9\drivers; C:\Program Files\Sybase\Shared\Sybase 4.2 Central; c:\Program Files\Microsoft SQL Server\90\Tools\binn\; C:\Progra~1\XRay
tnsnames 11g:
tnsnames 9i:# tnsnames.ora Network Configuration File: C:\app\a.l\product\11.2.0\dbhome_1\network\admin\tnsnames.ora # Generated by Oracle configuration tools. LISTENER_ORCL = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ORACLR_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (CONNECT_DATA = (SID = CLRExtProc) (PRESENTATION = RO) ) ) ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl.domopenplan.local) ) )
11g listener.ora:# TNSNAMES.ORA Network Configuration File: C:\oraclient9\network\admin\tnsnames.ora # Generated by Oracle configuration tools. ORCL.DOMOPENPLAN.LOCAL = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl.domopenplan.local) ) )
Do you have any idea how I can create a new ODBC to connect to Oracle 11g?# listener.ora Network Configuration File: C:\app\a.l\product\11.2.0\dbhome_1\network\admin\listener.ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = CLRExtProc) (ORACLE_HOME = C:\app\a.l\product\11.2.0\dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:C:\app\a.l\product\11.2.0\dbhome_1\bin\oraclr11.dll") ) (SID_DESC = (GLOBAL_DBNAME = orcl.domopenplan.local) (SID_NAME = orcl.domopenplan.local) (ORACLE_HOME = C:\app\a.l\product\11.2.0\dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:C:\app\a.l\product\11.2.0\dbhome_1\bin\oraclr11.dll") ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.103)(PORT = 1521)) ) ) ADR_BASE_LISTENER = C:\app\a.l
Thanks in advance!opening for the system control window Server DB & question OS command sequence
lsnrctl status
set
lsnrctl serviceCOPY orders & results then PASTE all come back here
-
OBIEE 10.1 with Oracle 11g
10 OBIEE can work with Oracle 11 g?
I installed OBIEE 10 g on my laptop (window Home premium Vista)
I then installed Oracle database 11g (desktop version)
When I tried to import the database into the administrator create a repository, I provided the connection string for oracle 11g, but it gave me following error
Failed to load c:\OracleBI\Server\bin\nqsdbgatewayoci10g.dll dll. Check if the database Oracle 10 g client is installed.
Edited by: 967447 November 30, 2012 07:12Try to reinstall or install the Oracle client with advanced features. That solved your problem.
OR
1.uninstall/remove the previous 64 Bit JDK, 64-bit Oracle Client and OBIEE
2. download and install the 32 Bit JDK and the 32 Bit Oracle 11 G client
3 reinstall OBIEE OTM Administrator GuideAppreciate if you mark as correct
-
RAC with Oracle VM and Windows Server
Hi all,
We want to implement the system with Oracle database 11g or 10g 64 bit (CARS) on the OS of Microsoft Server 2008/2003. We do not have enough licenses for all the hearts, and we want to find a way to implement the RAC database with existing licenses.
Is this a good solution to use virtualization, as Oracle VM?
How much is safe to use virtualization?
Can we do Oracle Real Application Clusters (RAC) environments Oracle VM with Windows Server 2008 64-bit (or 2003 Server) operating system and use hard partition?
Is it better to invest in licenses or try with Oracle VM?
Oracle VM can be configured so that it is recognized as a difficult score.
Hard partitions allow customers of one license these CPU used by the partition instead of license all the processors on the physical server.
Source: oracle.com
Thank you!Virtualization is not certified for Oracle RAC on Windows.
+ Software on Oracle VM [464754.1 ID] + notes States certified:
Oracle Real Application Clusters (RAC) Oracle 10.2.0.4 and up (10gR2) and 11.1.0.7 and up (11gR1) and 11gR2 RAC for Linux x86 and Linux x86_64 certified on Oracle VM Guest OS: Oracle Linux 5.1 (and above) RHEL 5.1 (and above) for Linux x86 / Linux x86_64 Paravirtualized (PV) mode only (Guest OS and drivers) Only supported on Oracle VM 2.1.2 and above Live-migration of an Oracle RAC VM is supported with Oracle VM 2.2.1 and above. Previous versions are not supported. Please refer to this link for best practices. Over-committing CPUs is not recommended, but supported with the following restrictions: The total amount of VCPUs allocated to guest domains (running Oracle RAC guests), should not exceed two times (2x) the amount of real CPUs / cores in the Oracle VM server. The amount of VCPUs allocated to a single guest domain should not exceed the amount of real CPUs / cores in the Oracle VM server. Maintain Oracle VMs default VCPU allocation for dom-0: Oracle VM will allocate 1 VCPU for each real CPU or core to dom-0. CPU pinning is only recommended for hard partitioning. If no hard partitioning is required, CPU pinning should not be used. Static support only (dynamic support is being planned): Dynamic resizing of guest virtual machine is not supported (VCPU, memory and I/O) Virtual Machine Pause/Restore of an active Real Application Cluster virtual machine is not supported.
-
Oracle 11g compatibility with oracle 10g and 9i?
Hi all
I have a few questions about the compatibility of 11g.
Client Oracle 11g is compatible with oracle 10g client that is already installed on the desktop computer?
If any changes to do so and where?
Is oracle 11g oracle 10 g/9i on the same server where are installed the 10 g/9i compatible?
Concerning
If the question you ask yourself is 'Can I have multiple versions of the Oracle installed on the same client computer' or "Can I have several versions of the database Oracle installed on the same machine", the answer is Yes. As long as you install each version in another House of Oracle, and we are talking about versions 8.1.5 and upward, you can have as many different versions of the client and the database on the same machine as you wish. Of course, you are still subject to the support of operating system compatibility (e.g. Oracle 9.2 did not had been supported on Windows 2008, so do not expect to work).
The only problem you may have would be with components that are not compatible with several House. This mainly affects third-party Windows drivers (drivers third party ODBC, etc.) who do not know how to work with multiple Oracle homes and end up using which version of the client Oracle happens to appear first in the path.
Justin
-
Where can I download Oracle 11g R2 for Windows 7 64 bit Client? Thanks in advance.
Where can I download Oracle 11g R2 for Windows 7 64 bit Client? Thanks in advance.
-
Steps to integrate the suite oracle E-business R12.1.3 with 11g OID.
Hi all
Can someone let me know the document Metalink ID/steps to integrate the suite oracle E-business R12.1.3 with 11g OID.
Thank you
Dinesh.Edith says:
Hi allCan someone let me know the document Metalink ID/steps to integrate the suite oracle E-business R12.1.3 with 11g OID.
Thank you
Dinesh.Please visit the following links/docs.
With the help of Oracle Internet Directory 11 GR 1 material the patch 4 (11.1.1.5.0) and Single Sign-on with Oracle eBusiness Suite [ID 1286596.1]
Integration of Oracle E-Business Suite Release 12 with Access Manager Oracle 11 GR 1 material (11.1.1.5) using Oracle E-Business Suite AccessGate [1309013.1 ID]https://blogs.Oracle.com/stevenChan/entry/oracle_access_manager_11_11
https://blogs.Oracle.com/stevenChan/entry/why_does_ebs_integration_withThank you
Hussein
Maybe you are looking for
-
Anyone know if there is a way to edit or create custom forms / layouts, perhaps with automated controls and actions? It is possible with Office Outlook and Lotus Notes, but I've not seen a way in Thunderbird. Thank you
-
Hello first of all: I am relatively new to LabWindows, working on it for some practical work as a student (Yes and sorry for the bad English, I'm from the Germany) The problem: The first important Information: After searching for a solution, I don't
-
my email is hujacked by bandits, how do new account email?
An email from friends has been compromised and he sent me two times and I opened the email earlier did not know it was an infected email. How can I get a new email ACCT.?
-
Broken index in video avi files need permanent repairs.
I recovered deleted using recovery software video avi files. The problem is that the index needs to be repaired. The VLC media player is a feature to fix the index by which I can play the videos on the pc. However, the problem is that you cannot save
-
How to view the songs that were on the "rocket" using windows Explorer?
How to view the songs that were on the "rocket" when buying using windows Explorer?