 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Connect to Oracle on Virtual PC</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/connect-to-oracle-on-virtual-pc-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/connect-to-oracle-on-virtual-pc-2/</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 05:05:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/connect-to-oracle-on-virtual-pc-2/#comment-72671</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Thu, 14 Jan 2010 23:01:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-72671</guid>
		<description><![CDATA[Well, everything seems to be fine.

The client should be able to connect.

At this point, I can only think of a networking problem between the host and the guest.]]></description>
		<content:encoded><![CDATA[<p>Well, everything seems to be fine.</p>
<p>The client should be able to connect.</p>
<p>At this point, I can only think of a networking problem between the host and the guest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matblume</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/connect-to-oracle-on-virtual-pc-2/#comment-72662</link>
		<dc:creator>matblume</dc:creator>
		<pubDate>Thu, 14 Jan 2010 18:20:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-72662</guid>
		<description><![CDATA[C:&gt;LSNRCTL

LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 14-JAN-2010 19:17:35
Copyright (c) 1991, 2007, Oracle.  All rights reserved.
Welcome to LSNRCTL, type &quot;help&quot; for information.
LSNRCTL&gt; status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Production
Start Date                14-JAN-2010 17:58:41
Uptime                    0 days 1 hr. 18 min. 58 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   C:appXPMUserproduct11.1.0db_1networkadminlistener.ora
Listener Log File         c:appxpmuserdiagtnslsnrVirtualXP-19744listeneralertlog.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\.pipeEXTPROC1521ipc)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VirtualXP-19744)(PORT=1521)))
Services Summary...
Service &quot;orcl&quot; has 1 instance(s).
  Instance &quot;orcl&quot;, status READY, has 1 handler(s) for this service...
Service &quot;orclXDB&quot; has 1 instance(s).
  Instance &quot;orcl&quot;, status READY, has 1 handler(s) for this service...
Service &quot;orcl_XPT&quot; has 1 instance(s).
  Instance &quot;orcl&quot;, status READY, has 1 handler(s) for this service...
The command completed successfully

= = = = = = = = = = = = 

These are the cofig files:

# listener.ora Network Configuration File: C:appXPMUserproduct11.1.0db_1networkadminlistener.ora
# Generated by Oracle configuration tools.
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = VirtualXP-19744)(PORT = 1521))
    )
  )

# tnsnames.ora Network Configuration File: C:appXPMUserproduct11.1.0db_1networkadmintnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = VirtualXP-19744)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )]]></description>
		<content:encoded><![CDATA[<p>C:&gt;LSNRCTL</p>
<p>LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 &#8211; Production on 14-JAN-2010 19:17:35<br />
Copyright (c) 1991, 2007, Oracle.  All rights reserved.<br />
Welcome to LSNRCTL, type &#8220;help&#8221; for information.<br />
LSNRCTL&gt; status<br />
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))<br />
STATUS of the LISTENER<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Alias                     LISTENER<br />
Version                   TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 &#8211; Production<br />
Start Date                14-JAN-2010 17:58:41<br />
Uptime                    0 days 1 hr. 18 min. 58 sec<br />
Trace Level               off<br />
Security                  ON: Local OS Authentication<br />
SNMP                      OFF<br />
Listener Parameter File   C:appXPMUserproduct11.1.0db_1networkadminlistener.ora<br />
Listener Log File         c:appxpmuserdiagtnslsnrVirtualXP-19744listeneralertlog.xml<br />
Listening Endpoints Summary&#8230;<br />
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\.pipeEXTPROC1521ipc)))<br />
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VirtualXP-19744)(PORT=1521)))<br />
Services Summary&#8230;<br />
Service &#8220;orcl&#8221; has 1 instance(s).<br />
  Instance &#8220;orcl&#8221;, status READY, has 1 handler(s) for this service&#8230;<br />
Service &#8220;orclXDB&#8221; has 1 instance(s).<br />
  Instance &#8220;orcl&#8221;, status READY, has 1 handler(s) for this service&#8230;<br />
Service &#8220;orcl_XPT&#8221; has 1 instance(s).<br />
  Instance &#8220;orcl&#8221;, status READY, has 1 handler(s) for this service&#8230;<br />
The command completed successfully</p>
<p>= = = = = = = = = = = = </p>
<p>These are the cofig files:</p>
<p># listener.ora Network Configuration File: C:appXPMUserproduct11.1.0db_1networkadminlistener.ora<br />
# Generated by Oracle configuration tools.<br />
LISTENER =<br />
  (DESCRIPTION_LIST =<br />
    (DESCRIPTION =<br />
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))<br />
      (ADDRESS = (PROTOCOL = TCP)(HOST = VirtualXP-19744)(PORT = 1521))<br />
    )<br />
  )</p>
<p># tnsnames.ora Network Configuration File: C:appXPMUserproduct11.1.0db_1networkadmintnsnames.ora<br />
# Generated by Oracle configuration tools.<br />
ORCL =<br />
  (DESCRIPTION =<br />
    (ADDRESS = (PROTOCOL = TCP)(HOST = VirtualXP-19744)(PORT = 1521))<br />
    (CONNECT_DATA =<br />
      (SERVER = DEDICATED)<br />
      (SERVICE_NAME = orcl)<br />
    )<br />
  )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/connect-to-oracle-on-virtual-pc-2/#comment-72604</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Wed, 13 Jan 2010 21:54:15 +0000</pubDate>
		<guid isPermaLink="false">#comment-72604</guid>
		<description><![CDATA[Once in LSNRCTL, type:

&lt;pre&gt;status&lt;/pre&gt;

and post the results.

If possible, post the contents of your listener.ora file as well.]]></description>
		<content:encoded><![CDATA[<p>Once in LSNRCTL, type:</p>
<pre>status</pre>
<p>and post the results.</p>
<p>If possible, post the contents of your listener.ora file as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matblume</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/connect-to-oracle-on-virtual-pc-2/#comment-72597</link>
		<dc:creator>matblume</dc:creator>
		<pubDate>Wed, 13 Jan 2010 19:53:31 +0000</pubDate>
		<guid isPermaLink="false">#comment-72597</guid>
		<description><![CDATA[Thanks for your help again.

Sorry, I had not understood that telnetting on port 1521 will try to talk to Oracle, which I could have guessed of course. And yes the db was not running, since I start the services only manually with a script, when I need them.

After having started them

C:&gt;net start
These Windows services are started:
...
...
   OracleOraDb11g_home1TNSListener
   OracleServiceORCL

and

C:&gt;LSNRCTL
LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 13-JAN-2010 20:39:40
Copyright (c) 1991, 2007, Oracle.  All rights reserved.
Welcome to LSNRCTL, type &quot;help&quot; for information.

... and when trying a telnet connection to the VM on port 1521 it doesn&#039;t come back right away with an error message as it did before but says only after quite a few seconds of 
                     Connecting To 192.168.1.21...
Press any key to continue...
followed by 
Connection to host lost.

I take that for a postive sign, that 2 programs actively try talking to each other, but don&#039;t make it. But there is at least connection.

Does that help for the diagnosis?]]></description>
		<content:encoded><![CDATA[<p>Thanks for your help again.</p>
<p>Sorry, I had not understood that telnetting on port 1521 will try to talk to Oracle, which I could have guessed of course. And yes the db was not running, since I start the services only manually with a script, when I need them.</p>
<p>After having started them</p>
<p>C:&gt;net start<br />
These Windows services are started:<br />
&#8230;<br />
&#8230;<br />
   OracleOraDb11g_home1TNSListener<br />
   OracleServiceORCL</p>
<p>and</p>
<p>C:&gt;LSNRCTL<br />
LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 &#8211; Production on 13-JAN-2010 20:39:40<br />
Copyright (c) 1991, 2007, Oracle.  All rights reserved.<br />
Welcome to LSNRCTL, type &#8220;help&#8221; for information.</p>
<p>&#8230; and when trying a telnet connection to the VM on port 1521 it doesn&#8217;t come back right away with an error message as it did before but says only after quite a few seconds of<br />
                     Connecting To 192.168.1.21&#8230;<br />
Press any key to continue&#8230;<br />
followed by<br />
Connection to host lost.</p>
<p>I take that for a postive sign, that 2 programs actively try talking to each other, but don&#8217;t make it. But there is at least connection.</p>
<p>Does that help for the diagnosis?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/connect-to-oracle-on-virtual-pc-2/#comment-72576</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Wed, 13 Jan 2010 14:07:44 +0000</pubDate>
		<guid isPermaLink="false">#comment-72576</guid>
		<description><![CDATA[Are you sure the database is up ?

If you can ping the machine, and no firewall is turned on, and the database is up, but you can&#039;t telnet to port 1521, then I can only think of 2 possibilities:

-The listener is not running.
-The listener is configured to listen on a port different than 1521.

Uste the LSNRCTL tool to check the listener status, and check the port configured in your listener.ora file.]]></description>
		<content:encoded><![CDATA[<p>Are you sure the database is up ?</p>
<p>If you can ping the machine, and no firewall is turned on, and the database is up, but you can&#8217;t telnet to port 1521, then I can only think of 2 possibilities:</p>
<p>-The listener is not running.<br />
-The listener is configured to listen on a port different than 1521.</p>
<p>Uste the LSNRCTL tool to check the listener status, and check the port configured in your listener.ora file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matblume</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/connect-to-oracle-on-virtual-pc-2/#comment-72541</link>
		<dc:creator>matblume</dc:creator>
		<pubDate>Tue, 12 Jan 2010 20:29:54 +0000</pubDate>
		<guid isPermaLink="false">#comment-72541</guid>
		<description><![CDATA[The SID name (default: orcl) is correct.

But the telnet connection fails:
Microsoft Telnet&gt; open 192.168.1.21 1521
Connecting To 192.168.1.21...Could not open connection to the host, on port 1521
: Connect failed

This remains the case when both firewalls are turned off.]]></description>
		<content:encoded><![CDATA[<p>The SID name (default: orcl) is correct.</p>
<p>But the telnet connection fails:<br />
Microsoft Telnet&gt; open 192.168.1.21 1521<br />
Connecting To 192.168.1.21&#8230;Could not open connection to the host, on port 1521<br />
: Connect failed</p>
<p>This remains the case when both firewalls are turned off.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/connect-to-oracle-on-virtual-pc-2/#comment-72483</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Mon, 11 Jan 2010 22:41:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-72483</guid>
		<description><![CDATA[Are you sure the SID or service name you are using is correct ?  Compare it to the one specified in the tnsnames.ora file of the VM where you can successfully connect from.
Also, can you telnet to port 1521 of your VM, from the host ?]]></description>
		<content:encoded><![CDATA[<p>Are you sure the SID or service name you are using is correct ?  Compare it to the one specified in the tnsnames.ora file of the VM where you can successfully connect from.<br />
Also, can you telnet to port 1521 of your VM, from the host ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matblume</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/connect-to-oracle-on-virtual-pc-2/#comment-72479</link>
		<dc:creator>matblume</dc:creator>
		<pubDate>Mon, 11 Jan 2010 21:21:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-72479</guid>
		<description><![CDATA[Yes I&#039;m using the &lt;Basic&gt; Connection Type in SQL Developer. 
The &lt;TNS&gt; Connection Type also gives me a connection error, probably because I didn&#039;t register the VM&#039;s name as a network host.]]></description>
		<content:encoded><![CDATA[<p>Yes I&#8217;m using the &lt;Basic&gt; Connection Type in SQL Developer.<br />
The &lt;TNS&gt; Connection Type also gives me a connection error, probably because I didn&#8217;t register the VM&#8217;s name as a network host.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/connect-to-oracle-on-virtual-pc-2/#comment-72456</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Mon, 11 Jan 2010 15:43:20 +0000</pubDate>
		<guid isPermaLink="false">#comment-72456</guid>
		<description><![CDATA[Sql Developer should work even without the instant client.

Are you using the &#039;Basic&#039; tab when setting your connection in Sql Developer ?]]></description>
		<content:encoded><![CDATA[<p>Sql Developer should work even without the instant client.</p>
<p>Are you using the &#8216;Basic&#8217; tab when setting your connection in Sql Developer ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matblume</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/connect-to-oracle-on-virtual-pc-2/#comment-72423</link>
		<dc:creator>matblume</dc:creator>
		<pubDate>Sat, 09 Jan 2010 17:51:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-72423</guid>
		<description><![CDATA[Thanks Carlos for your continued help.

Now when using the active WLAN Adapter in the VM configuration. The pings get answered in both directions -- Normal you will say   ;-)     but big progress for me.

Then I try to connect from SQL Developer to Oracle on the VM using the VM&#039;s ip address as hostname. But still: Network adapter could not connect.

A thought: could it be due to the fact that Oracle on the VM is 32 bit whereas SQL Developer is 64 bit?]]></description>
		<content:encoded><![CDATA[<p>Thanks Carlos for your continued help.</p>
<p>Now when using the active WLAN Adapter in the VM configuration. The pings get answered in both directions &#8212; Normal you will say   <img src='http://itknowledgeexchange.techtarget.com/itanswers/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />      but big progress for me.</p>
<p>Then I try to connect from SQL Developer to Oracle on the VM using the VM&#8217;s ip address as hostname. But still: Network adapter could not connect.</p>
<p>A thought: could it be due to the fact that Oracle on the VM is 32 bit whereas SQL Developer is 64 bit?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.042 seconds using memcached
Object Caching 397/403 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 10:10:19 -->