<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Oracle dblink problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-dblink-problem/m-p/2818391#M912652</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;the problem was in remotenetservicename definition: it was defined into the tnsname.ora of my pc and hence I was able to log in using my oracle client&lt;BR /&gt;But when I tried from sqlworksheet of my database, since that name was not into init.ora parameter file, it was not recognized&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You should use the following command&lt;BR /&gt;"create public database link linkname connect to remuser identified by rempwd using 'RemoteService'" &lt;BR /&gt;&lt;BR /&gt;with an explicit definition for remoteservice instead of using the name alias defined only on your pc&lt;BR /&gt;&lt;BR /&gt;Cheerz!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Giulio</description>
    <pubDate>Wed, 09 Jul 2003 15:09:59 GMT</pubDate>
    <dc:creator>BGiulio</dc:creator>
    <dc:date>2003-07-09T15:09:59Z</dc:date>
    <item>
      <title>Oracle dblink problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-dblink-problem/m-p/2818388#M912649</link>
      <description>Hello Gang,&lt;BR /&gt;&lt;BR /&gt;I'm facing a strange problem with the use of a dblink, here i have put some details of the issue:&lt;BR /&gt;&lt;BR /&gt;My database: an oracle 8.01&lt;BR /&gt;Remote db oracle 9i&lt;BR /&gt;&lt;BR /&gt;I've been granted the access to the remote db with 'remuser'/'rempwd'&lt;BR /&gt;&lt;BR /&gt;1st step: creation of the TNS service name 'RemoteService'to the remote db, I tested it and it works&lt;BR /&gt;&lt;BR /&gt;2step: creation of the dblink in my database:&lt;BR /&gt;&lt;BR /&gt;"create public database link linkname connect to remuser identified by rempwd using 'RemoteService'"&lt;BR /&gt;&lt;BR /&gt;Now, if i connect using Sql+ with 'RemoteService' and remuser/rempwd, I'm able to perform my query&lt;BR /&gt;&lt;BR /&gt;select * from ownername.nametable;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If with Sql logged to my database service I launch the below select:&lt;BR /&gt;&lt;BR /&gt;select * from ownername.nametable@linkname;&lt;BR /&gt;&lt;BR /&gt;the Sql session hangs without returning anything, nor errors neither data.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do you have any idea of what the problem could be?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks already!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Oct 2002 15:33:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-dblink-problem/m-p/2818388#M912649</guid>
      <dc:creator>BGiulio</dc:creator>
      <dc:date>2002-10-03T15:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle dblink problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-dblink-problem/m-p/2818389#M912650</link>
      <description>When you say that it is hanging, do you let it sit for a while waiting, or do you cancel it?  &lt;BR /&gt;&lt;BR /&gt;Can you get the session wait event for the session as well?  &lt;BR /&gt;&lt;BR /&gt;You will need to get your current sid (select distinct sid from v$mystat) and then run the select statement, and in another session perform "select * from v$session_wait where sid = &lt;SID&gt;".&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Brian&lt;/SID&gt;</description>
      <pubDate>Fri, 04 Oct 2002 00:11:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-dblink-problem/m-p/2818389#M912650</guid>
      <dc:creator>Brian Crabtree</dc:creator>
      <dc:date>2002-10-04T00:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle dblink problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-dblink-problem/m-p/2818390#M912651</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;Ever find an answer to this one?&lt;BR /&gt;Got the same problem myself.   Is it something to do with /etc/hosts not having the remotes servers IP address?   Hosts is owned by root so changing it just to try is a hassle.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Bobby&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jul 2003 14:44:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-dblink-problem/m-p/2818390#M912651</guid>
      <dc:creator>Robert Howie</dc:creator>
      <dc:date>2003-07-09T14:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle dblink problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-dblink-problem/m-p/2818391#M912652</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;the problem was in remotenetservicename definition: it was defined into the tnsname.ora of my pc and hence I was able to log in using my oracle client&lt;BR /&gt;But when I tried from sqlworksheet of my database, since that name was not into init.ora parameter file, it was not recognized&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You should use the following command&lt;BR /&gt;"create public database link linkname connect to remuser identified by rempwd using 'RemoteService'" &lt;BR /&gt;&lt;BR /&gt;with an explicit definition for remoteservice instead of using the name alias defined only on your pc&lt;BR /&gt;&lt;BR /&gt;Cheerz!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Giulio</description>
      <pubDate>Wed, 09 Jul 2003 15:09:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-dblink-problem/m-p/2818391#M912652</guid>
      <dc:creator>BGiulio</dc:creator>
      <dc:date>2003-07-09T15:09:59Z</dc:date>
    </item>
  </channel>
</rss>

