Why oracle 11g needs loopback adapter???
Hi
i have installed obi11g on my windows 32.
initially i couldnt install as microsoft loopback adapter wasnt configured on my system...
but after configuring loopback adapter on my system i am able to successfully installl.
my question is that why oracle need microsoft loopback adapter,
even though i hav manually assigned the ip address in the network configuration. tcp ip settings..
plz help guys
hi mahis,
my question is that why oracle need microsoft loopback adapterIts a pre-requisite for OBIEE 11g to call the IP of the host file.It is defined that way,you can go through the documentation for it.
mahis,please mark points to your previous threads and close it along with this.Follow rules http://forums.oracle.com/forums/ann.jspa?annID=939
By,
KK
Similar Messages
-
Why Do We Need Java Adapter module ???
Hi All,
Why Do We Need Java Adapter module ???
What is the Use of it ????
Where we Write the code for this
Regards
VamsiHi Vamsi,
Adapter modules are required to enhance the functionality of SAP XI.
Enhancements like.
1. Converting the payload (not covered with standards)
2. Changing encoding
3. Encryption and decryption
4. Creating and merging of additional attachments
Please follow the links below.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e">How to Create Modules for the J2EE Adapter Engine</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e21106cc-0c01-0010-db95-dbfc0ffd83b3">Adapter Module Development - Presentation</a>
*Reward points if helpful*
Regards,
Sushil. -
Oracle 11g needs group by - why?
Hi folks,
I thought migrating a 10.2 DB to 11g would face no problems, but on a 11g db the following code will produce a ora-00979 error ( which was functional under 10.2
UPDATE OBJEKT o SET
( o.herstellungskosten
, o.angemess_valutierungsstand
) =
( SELECT c.o_herstellungskosten
, b.o_angemess_valutierung
FROM obj_gewerk_calc_vw b
, read_obj_herstkosten_all_vw c
WHERE b.o_obj_id = o.obj_id
AND b.o_obj_id = c.o_obj_id (+)
WHERE o.obj_id BETWEEN obj_von AND obj_bis
;the inline-query ( the internally iterating, surrounding update statement gives all obj_ids into the select, therfore the where-clause is for testing modified from c.o_obj_id = o.obj_id to c.o_obj_id > 0, and for better explanation the obj_id is additionally selected ) as:
SELECT b.o_obj_id
, c.o_herstellungskosten
, b.o_angemess_valutierung
FROM obj_gewerk_calc_vw b
, read_obj_herstkosten_all_vw c
WHERE c.o_obj_id > 0
AND b.o_obj_id = c.o_obj_id (+) the result is:
O_OBJ_ID, O_HERSTELLUNGSKOSTEN , O_ANGEMESS_VALUTIERUNG
1, -1561871,85 , 403600
201, -573162,43 , 811214,9
222, 0 , 1888680
242, -1583060,05 , 2759600
285, -10000 , 0
Environmental information:
Windows7 64bit Workstation, oracle 11g 64bit Enterprise server running on that WS, using Quest Toad for testing and debugging
since this update statement definitely works under 10g, I wonder if it is a bug under 11g.
Could anybody help ?
thanks in advance,
WilkoTrue :-) I too have been a "victim".
It would help if unintentional duplicate posts were edited to change the topic to "Ignore - Unintentional duplicate post due to network/software glitch" (or words to that effect), provide a link to the active post being responded to, and mark the duplicate post as answered. Maybe it is just too much to ask ? ;-)
Srini -
Would like to write OCA exam for Oracle 11G, Need Help ?
Hi Team,
I would like to write OCA exam for Oracle 11g, I am a SQL/PLSQL developer and could you please guide me what are the exams needs to take.
Please provide me links and materials inorder to know the exam details/model paper.
Thanks in advance............
Thanks
Raghavendra Setty S
[email address removed by moderator for security purposes]
Edited by: Certification Forum Moderator on May 16, 2012 4:12 AMHi Raghavendra, welcome to the forum!
I suggest you remove you email from your post to avoid recieveing undesired emails.
There are two OCA paths, OCA Developer or OCA DBA.
For both paths you need to take one of the following SQL exams:
1z0-007 Introduction to Oracle9i SQL (this is an outdated exam)
or
1z0-047 Oracle Database SQL Expert (more advanced exam recommended for developers/dbas with SQL experience)
or
1z0-051 Oracle Database 11g: SQL Fundamentals I (recommended for beginners or people with average experience in SQL)
After passing one of these exams, if you want to take the OCA DBA path you need to do the:
1z0-052 Administration I exam
After passing one of the SQL exams, if you want to take the OCA Developer path you need one of the:
1z0-147 Program with PL/SQL (outdated exam)
or
1z0-144 Oracle Database 11g: Program with PL/SQL (more actual exam, recommended)
For information on specific exams:
1z0-007: http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_007
1z0-047: http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_047
1z0-051: http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_051
1z0-052: http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_052
1z0-147: http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_org_id=1001&lang=US&p_exam_id=1Z0_147
1z0-144: http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_org_id=1001&lang=US&p_exam_id=1Z0_144
For information on the OCA Developer path:
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=458&get_params=p_track_id:PLSQL
For information on the OCA DBA path:
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=458&get_params=p_track_id:Datab11g -
Migrating from Red Brick database to Oracle 11g -Need help with the process
Hi,
I am on this new project were we are migrating from IBM Red Brick Data Warehouse to Oracle 11g. We have a very tight time line. I was hoping if any of you have done this migration before and are willing to share their experience. Any help would be greatly appreciated. I would like to get a brief idea about how to go about the process.
Thanks in advance!Hello,
that is a matter of supply and demand, and as the demand to migrate Red Brick to Oracle RDBMS is very low, Oracle never included Red Brick into the migration tools.
If you search in the forums for Red Brick, you will not find much more than this one from the year 2006:
Re: Migration from rebrick 6.0.3 to Oracle 9i
Options:
In general we have the following options:
1. Oracle Migration Workbench
2. SQL Developer Migration Workbench
3. Generic Connectivity
4. SQL*Loader
Regarding your dedicated foreign database, option 1 and 2 fail as those tools
do not work against Red Brick DB.
Generic Connectivity would be an option if you have an ODBC driver to this database.
In this dedicated case, you can then set up generic connectivity (= a database
link to the foreign database using odbc).
The Oracle database we support generic connectivity can reside on Windows,
Solaris, HP-UX, AIX and Linux.
If the Oracle database is on any other platform, you might migrate to a
database on this platform, then export the migrated DB and then load it into
the real target db.
Generic Connectivity will allow you to perform a SQL*Plus copy of tables; this
means you can create tables like they are defined in your source and transfer
the data to the Oracle db; but no procedures, triggers or anything coded can be
transferred.
Last option (4) is that you generate "flat files". This means ASCII-SPOOL
Files and then import them using SQL*Loader. As far as I know there is no
existing SQL*Loader sample file for Red Brick databases exports and you need to
write them on your own.
I recommend to read also the following note in My Oracle Support:
Note 233876.1: Options for Connecting to Foreign Data Stores and Non-Oracle Databases
Best regards
Wolfgang -
Major bugs in oracle 11g 11.1.0.7??
Hii All,
We are planning to upgrade to 11g currently we are using
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 Solaris: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Now we are planning to upgrade to version 11.1.0.7,but heard that it contains many bugs.And our DBA suggest us version 11.2.0.1.0 where all the bugs in the earlier release of 11g got fixed. Is it true?
These links show that there are some bugs in 11.1.0.7
http://nilesh-joshi.blogspot.com/2010/06/oracle-111070-bug.html
http://mikerault.blogspot.com/2009/03/more-fun-with-oracle11g-11107.html
1)Can any one brief the bugs in the version 11.1.0.7 ???
2)Let me know whether are all those bugs got fixed in the version 11.2.0.1.0??
Is this bug oracle 11g needs group by - why? fixed in 11gR2???
Regards
Raghu.Bottom line - you'll be lucky if you never run into a bug in any release.
I'd always be hesitant to go with any x.1 release including 11.2.0.1.
Bear in mind that you're probably not upgrading today but in a few months time.
11.2.0.2 is available on Linux
Use Metalink to identify any bugs in any specific feature or release you're interested.
Doc Id 738538.1 - 11.1.0.7 Patch Set - Availability and Known Issues
Doc Id - 880707.1 - 11.2.0.1 Base Release - Availability and Known Issues
Doc ID 1179474.1 - Known issues specific to 11.2.0.2
Doc ID 1178583.1 - Bugs fixed in the 11.2.0.2 Patch Set -
Oracle 11g - Problem in referring ROWNUM in the SQL
Hello All,
We are facing a strange problem with Oracle 11g (11.2.0.1.0).
When we issue a query which refers the rownum, it returns a invalid record ( which is not exists in the table).
The same sql is working fine once we analyze the table
Note: The same sql is working fine with oracle 10g (Before analyze also).
The script to reproduce the issue:
DROP TABLE BusinessEntities;
CREATE TABLE BusinessEntities
business_entity_id VARCHAR2(25) PRIMARY KEY,
business_entity_name VARCHAR2(50) NOT NULL ,
owner_id VARCHAR2(25) ,
statutory_detail_id NUMBER ,
address_id NUMBER NOT NULL
DROP TABLE BusEntityRoles;
CREATE TABLE BusEntityRoles
business_entity_id VARCHAR2(25) NOT NULL,
role_id VARCHAR2(10) NOT NULL,
PRIMARY KEY (business_entity_id, role_id)
INSERT
INTO businessentities ( business_entity_id , business_entity_name, owner_id , statutory_detail_id , address_id)
VALUES
( 'OWNER', 'OWNER Corporation Ltd', NULL , 1, 1 );
INSERT
INTO businessentities ( business_entity_id , business_entity_name, owner_id , statutory_detail_id , address_id)
VALUES
( 'ALL_IN_ALL', 'ALL IN ALL Corporation Ltd', 'OWNER' , 2, 2 );
INSERT INTO busentityroles(business_entity_id, role_id) VALUES ('TEST' , 'OWNER');
INSERT INTO busentityroles (business_entity_id,role_id) VALUES ('TEST','VENDOR');
INSERT INTO busentityroles(business_entity_id, role_id) VALUES ('ALL_IN_ALL' , 'VENDOR');
SELECT *
FROM
(SELECT raw_sql_.business_entity_id, raw_sql_.business_entity_name, raw_sql_.owner_id, raw_sql_.address_id,
rownum raw_rnum_
FROM
(SELECT *
FROM BusinessEntities
WHERE (business_entity_id IN
(SELECT business_entity_id
FROM BusinessEntities
WHERE business_entity_id = 'OWNER'
OR owner_id = 'ALL_IN_ALL'
AND business_entity_id NOT IN
(SELECT business_entity_id FROM BusEntityRoles
ORDER BY business_entity_id ASC
) raw_sql_
WHERE rownum <= 5
WHERE raw_rnum_ > 0;
OUTPUT Before Analyzing
BUSINESS_ENTITY_ID: OWNER
BUSINESS_ENTITY_NAME: NULL
OWNER_ID: OWNER
ADDRESS_ID: NULL
RAW_RNUM_: 1
Note: There is no record in the table with the value business_entity_id as 'OWNER' and OWNER_ID as 'OWNER' and the address_id as NULL
OUTPUT : After analyzed the table Using the below mentioned command
ANALYZE TABLE "BUSENTITYSUPPLYCHAINROLES" ESTIMATE STATISTICS
ANALYZE TABLE "BUSINESSENTITIES" ESTIMATE STATISTICS
BUSINESS_ENTITY_ID: OWNER
BUSINESS_ENTITY_NAME: OWNER Corporation Ltd
OWNER_ID: NULL
ADDRESS_ID: 1
RAW_RNUM_: 1
Any clue why Oracle 11g is behaving like this.Hi,
it's a good practice to give aliases for tables, as well as name query blocks. Here it is (and formatted for convinience):
select --/*+ gather_plan_statistics optimizer_features_enable('10.2.0.4') */
from (select /*+ qb_name(v2) */
raw_sql_.business_entity_id
,raw_sql_.business_entity_name
,raw_sql_.owner_id
,raw_sql_.address_id
,rownum raw_rnum_
from (select /*+ qb_name(v1) */ *
from businessentities b1
where (b1.business_entity_id in
(select /*+ qb_name(in) */ b2.business_entity_id
from businessentities b2
where business_entity_id = 'OWNER'
or owner_id = 'ALL_IN_ALL'
and business_entity_id not in
(select /*+ qb_name(not_in) */ r.business_entity_id from busentityroles r)))
order by business_entity_id asc) raw_sql_
where rownum <= 5)
where raw_rnum_ > 0;You are facing some bug - definitely - and, possibly, it is caused by [join elimination|http://optimizermagic.blogspot.com/2008/06/why-are-some-of-tables-in-my-query.html]. As a workaround you should rewrite the query to eliminate unnecessary join manually; or you may include a hint to not eliminate join (it's not documented):
SQL>
select -- /*+ gather_plan_statistics optimizer_features_enable('10.2.0.4') */
from (select /*+ qb_name(v2) */
raw_sql_.business_entity_id
,raw_sql_.business_entity_name
,raw_sql_.owner_id
,raw_sql_.address_id
,rownum raw_rnum_
from (select /*+ qb_name(v1) no_eliminate_join(b1) */ *
from businessentities b1
where (b1.business_entity_id in
(select /*+ qb_name(in) */ b2.business_entity_id
from businessentities b2
where business_entity_id = 'OWNER'
or owner_id = 'ALL_IN_ALL'
and business_entity_id not in
(select /*+ qb_name(not_in) */ r.business_entity_id from busentityroles r)))
order by business_entity_id asc) raw_sql_
where rownum <= 5)
20 where raw_rnum_ > 0;
BUSINESS_ENTITY_ID BUSINESS_ENTITY_NAME OWNER_ID ADDRESS_ID RAW_RNUM_
OWNER OWNER Corporation Ltd 1 1Strange thing is executing a transformed query gives correct result too:
SELECT "from$_subquery$_001"."BUSINESS_ENTITY_ID" "BUSINESS_ENTITY_ID",
"from$_subquery$_001"."BUSINESS_ENTITY_NAME" "BUSINESS_ENTITY_NAME",
"from$_subquery$_001"."OWNER_ID" "OWNER_ID",
"from$_subquery$_001"."ADDRESS_ID" "ADDRESS_ID",
"from$_subquery$_001"."RAW_RNUM_" "RAW_RNUM_"
FROM (SELECT /*+ QB_NAME ("V2") */
"RAW_SQL_"."BUSINESS_ENTITY_ID" "BUSINESS_ENTITY_ID",
"RAW_SQL_"."BUSINESS_ENTITY_NAME" "BUSINESS_ENTITY_NAME",
"RAW_SQL_"."OWNER_ID" "OWNER_ID","RAW_SQL_"."ADDRESS_ID" "ADDRESS_ID",
ROWNUM "RAW_RNUM_"
FROM (SELECT /*+ QB_NAME ("V1") */
"SYS_ALIAS_1"."BUSINESS_ENTITY_ID" "BUSINESS_ENTITY_ID",
"SYS_ALIAS_1"."BUSINESS_ENTITY_NAME" "BUSINESS_ENTITY_NAME",
"SYS_ALIAS_1"."OWNER_ID" "OWNER_ID",
"SYS_ALIAS_1"."STATUTORY_DETAIL_ID" "STATUTORY_DETAIL_ID",
"SYS_ALIAS_1"."ADDRESS_ID" "ADDRESS_ID"
FROM "TIM"."BUSINESSENTITIES" "SYS_ALIAS_1"
WHERE ("SYS_ALIAS_1"."BUSINESS_ENTITY_ID"='OWNER'
OR "SYS_ALIAS_1"."OWNER_ID"='ALL_IN_ALL' AND NOT
EXISTS (SELECT /*+ QB_NAME ("NOT_IN") */ 0
FROM "TIM"."BUSENTITYROLES" "R"
WHERE "R"."BUSINESS_ENTITY_ID"="SYS_ALIAS_1"."BUSINESS_ENTITY_ID")
ORDER BY "SYS_ALIAS_1"."BUSINESS_ENTITY_ID") "RAW_SQL_"
WHERE ROWNUM<=5) "from$_subquery$_001"
26 WHERE "from$_subquery$_001"."RAW_RNUM_">0
27 /
BUSINESS_ENTITY_ID BUSINESS_ENTITY_NAME OWNER_ID ADDRESS_ID RAW_RNUM_
OWNER OWNER Corporation Ltd 1 1 -
Need to connect to Oracle 11g using PI 7.1 JDBC adapter
Hi All,
I am trying to configure a JDBC adapter to connect Oracle 11g. For this I need to know the driver,jar and connection URL details.
Can anyone please provide the above information?
Please correct me if my details are wrong :
JDBC Driver : oracle.jdbc.driver.OracleDriver
JAR : ojdbc5.jar
URL : jdbc:oracle:thin:@localhost:1521:ora11i
Regards,
Prakash.Yes i knew how to deploy the jars using SDA.
I will try to deploy the above jar (ojdbc5.jar ) and try to connect to Oracle 11g with URL & Driver classname.
If I face any problem then i will get back to you. -
Do i really need to install Microsoft Loopback Adapter ?
i am installing oracle 10g on windows xp proffessional + AMD sempron 3100+
when started oracle universal installer, i received a warning like following :
DHCP configuration detected , you need to configure ur primary loopback adapter to MICROSOFT LOOPBACK ADAPTER
i m using belkin wireless card to connect to internet and i dont need to change it anyway.
please someone suggest me : whether i shud continue with this warning OR do i need something more before installing oracle 10g ???
thanks in advance,
-imranmcaI have Windows XP professional SP2 with a static ip address of my internal lan.
The installation don't pass the check about lan with the same message as you
"DHCP configuration detected , you need to configure ur primary loopback adapter to MICROSOFT LOOPBACK ADAPTER". Why?
I followed the instructions and now is all working adding in the hosts file 2 lines and not only one:
IP_addr computer_name.domain computer_name
IP_addr sid_name.domain sid_name
I'm not convinced of my euristic solution... can someone explain me why i have to configure the microsoft loopback adapter when i don't have a dhcp configuration? -
Installing Oracle 11g database problem (loopback adatper problem)
Hi, I tried to install Oracle 11g and I got a warning mentioning that I need to install Loopback adapter first.
I followed the Loopback adapter installation instruction from the oracle website, and in the last step I need to add a line to the hosts file. Which is where I got a problem...my laptop doesn't have a domain name, but it's a workgroup name instead.
So can I put this:
ip_address host_name
instead of this:
ip_address host_name.domain_name host_name
And if we cannot do that, should I try this 2nd method below?:
I also read one thread in the forum saying that we don't need to install Loopback adapter, but instead we have to edit the listener.ora and tnsnames.ora files and make the value for HOST 127.0.0.1.
Message was edited by:
user610037If I understand you correctly, I should add a line like this in the host file(a, b, c or d??):
example: My computer host name is: "David"
a) "10.10.10.10 David.testing.com"
or
b) "10.10.10.10 David.testing.com David"
or
c) "10.10.10.10 localhost.testing.com
or
d) "10.10.10.10 localhost.testing.com localhost" -
Need help setting up DB Link from my Oracle 11g XE to SQL Server.
Hi,
I'm trying to create a DB Link from my Oracle 11g Express Edition in a Windows XP machine to an SQL Server. Here are the steps I've done so far.
1. Created and setup an ODBC Connection for the SQL Server DB. Named it SQLSERVER. Windows Authenticated.
2. Modified listener.ora. See below.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = SQLSERVER)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = hsodbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)3. Modified tnsnames.ora. See below.
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
SQLSERVER =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT=1521))
(CONNECT_DATA =
(SID = SQLSERVER)
(HS = OK)
)4. Copied C:\oraclexe\app\oracle\product\11.2.0\server\hs\admin\initdg4odbc.ora to C:\oraclexe\app\oracle\product\11.2.0\server\hs\admin\initSQLSERVER.ora and modified it. See below.
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = SQLSERVER
HS_FDS_TRACE_LEVEL = off
# Environment variables required for the non-Oracle system
#set <envvar>=<value>5. Restarted listener.
C:\>lsnrctl stop
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2012 11:33
:51
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
The command completed successfully
C:\>lsnrctl start
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2012 11:33
:54
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\ad
min\listener.ora
Log messages written to C:\oraclexe\app\oracle\diag\tnslsnr\PHAILORTD000012\list
ener\alert\log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
ction
Start Date 18-SEP-2012 11:33:57
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\PHAILORTD000012\li
stener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "SQLSERVER" has 1 instance(s).
Instance "SQLSERVER", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully6. Created database link using the following command.
create database link sqlserver using 'SQLSERVER';7. Test using
select * from "dbo.mytable"@sqlserver;
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from SQLSERVER
select * from dbo.mytable@sqlserver;
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from SQLSERVER
select * from mytable@sqlserver;
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from SQLSERVERI followed the steps provided in this link but not sure where I went wrong. Can someone help me.
http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm
Thanks,
AllenHere's more information on the machines.
Machine where the Oracle Database 11g Express Edition: IP Address is 10.162.128.67
Machine where the SQL Server database: IP Address is 142.120.51.30.
I've modified the tnsnames.ora to the following:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.162.128.67)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
SQLSERVER =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 142.120.51.30)(PORT=1433))
(CONNECT_DATA =
(SID = SQLSERVER)
(HS = OK)
)But now I'm getting the following error:
C:\>tnsping sqlserver
TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2
012 14:52:59
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = 142.120.51.30)(PORT=1434))) (CONNECT_DATA = (SID = SQLSERVER)) (HS = OK)
TNS-12541: TNS:no listener
C:\>Regards,
Allen -
Loopback adapter not working - can't install Oracle.
I'm attempting to install 10g on a Win XP box that is not connected to a network. Installation instructions dictate to install the MS loopback adapter before database installation. I installed it, but I can't get the loopback adapter to work. It can't find itself with ping and the 10g software won't install without it.
I'm up for a big job using Oracle and I want to upgrade my skills before I interview. This is very important to me. This may sound a bit corny, but I need to pay for a few medical bills and this job has enough of a pay raise to cover my expenses.
I don't like my current job and I love working with Oracle. Can someone please help me?
-EarlNvm, solved the problem myself using driver genius pro 10
-
New To Oracle.. Needs Help:: Conversion from SQL Server to Oracle 11g
I am new to Oracle 11g and badly need the conversion of SQL Server Functions to Oracle.. Sample Pasted Code not working .. end with error.. pls help
Create Table TempT (ID1 Varchar (10),
ID2 Varchar (10)
CREATE OR REPLACE PACKAGE GLOBALPKG
AS
TYPE RCT1 IS REF CURSOR;
TRANCOUNT INTEGER := 0;
IDENTITY INTEGER;
END;
CREATE OR REPLACE FUNCTION fTempT
i IN VARCHAR2 DEFAULT NULL
RETURN GLOBALPKG.RCT1
IS
REFCURSOR GLOBALPKG.RCT1;
BEGIN
OPEN REFCURSOR FOR
SELECT TT.*
FROM TempT TT
WHERE (fTempT.i = ''
OR TT.ID1 = fTempT.i)
RETURN REFCURSOR;
END;
CREATE OR REPLACE FUNCTION fTempTF
i IN VARCHAR2 DEFAULT NULL
RETURN GLOBALPKG.RCT1
IS
REFCURSOR GLOBALPKG.RCT1;
BEGIN
OPEN REFCURSOR FOR
SELECT *
FROM TABLE(fTempT(i))
RETURN REFCURSOR;
END;
LAST FUNCTION ENDs WITH ERROR
Error(13,7): PL/SQL: ORA-22905: cannot access rows from a non-nested table item2. The major purpose is to get a simplest way to create a parameterized function who can return a table like output. 2nd function has no use instead i was testing the result of First Function like thisIf you just want to select from a select, you should use a view not a function.
1. which program is more help ful for writing and executing queries bcoz after using Query Analyzer of Microsoft It seems difficult to work on SQL Developer.
sqlplus? If you are having difficulty learning new tools because of an old one you used, probably best to forget the old one and concentrate on learning the new one because it will be different. This goes for the database itself also.
2. Can DMLs be used within a Function.Yes, you just can't execute the function in another SQL statement if it modifies data and this is a good thing.
3. Can temporary tables be used within a function.Unfortunately yes, but they shouldn't be unless you are in a slowest application competition.
5. Each Function which is a Table Function must be accompanied with Type Definitions?? its a bit longer way of doing the things than SQL ServerThat is why it is better to use views instead, is there any reason you want a select that you can select from inside a function?
SQL Server for last 9 years thats why i refer this toolThat is not in itself a problem, if you try and do what you did in SQLServer in Oracle, that will be a problem though. -
Why do i need the Microsoft Loopback Adaptor on XP
I just received a new PC running XP pro at work. This new PC replaced my old PC running win 2k. I installed XE as a domain user and it installed and ran without any issues. Now i try to install XE on XP pro and the listener will not start for port 8080 or any other port. Why would this new PC have this problem? Both PCs are configured to use DHCP.
Thanks,
ChristopherHi
Please have a look into the following to understand Loopback Adapter and DHCP:
What is a Loopback Adapter?
The Microsoft Loopback adapter is a testing tool for a virtual network environment where network access is not available. Also, you must use the Loopback adapter if there are conflicts with a network adapter or with a network adapter driver. You can bind network clients, protocols, and other network configuration items to the Loopback adapter, and you can install the network adapter driver or network adapter later while retaining the network configuration information. The Loopback adapter is a useful tool for testing the configuration of network protocols such as TCP/IP on a local system when you don't have a network card.
DHCP is a protocol used by networked computers (clients) to obtain IP addresses and other parameters such as the default gateway, subnet mask, and IP addresses of DNS servers from a DHCP server. It facilitates access to a network because these settings would otherwise have to be made manually for the client to participate in the network.
The DHCP server ensures that all IP addresses are unique, that is, no IP address is assigned to a second client while the first client's assignment is valid (its lease has not expired). Thus IP address pool management is done by the server
The Dynamic Host Configuration Protocol (DHCP) automates the assignment of IP addresses, subnet masks, default gateway, and other IP parameters. The assignment occurs when the DHCP-configured machine boots up or regains connectivity to the network. The DHCP client sends out a query requesting a response from a DHCP server on the locally attached network. The query is typically initiated immediately after booting up and before the client initiates any IP based communication with other hosts. The DHCP server then replies to the client with its assigned IP address, subnet mask, DNS server and default gateway information.
The assignment of the IP address generally expires after a predetermined period of time, at which point the DHCP client and server renegotiate a new IP address from the server's predefined pool of addresses. Typical intervals range from one hour to several months, and can, if desired, be set to infinite (never expire). The length of time the address is available to the device it was assigned to is called a lease, and is determined by the server.
DHCP is intended for client PCs, not servers. It also suggests when DHCP is suitable: when there are lots of client machines to be configured So if you work in the server room of a corporation, you may well think that you have a large number of servers which need IP addresses to be allocated... but generally, for most corporate networks, the number of servers will be relatively small. And they also tend to all be physically co-located in one, large, rather chilly, server room. There is therefore no need for servers to have dynamically-assigned IP addresses.
One more way to understand DHCP: DHCP is a protocol that lets network administrators centrally manage and automate the assignment of IP Addresses on the corporate network. When a company sets up its computer users with a connection to the Internet, an IP address must be assigned to each machine. Without DHCP, the IP address must be entered manually at each computer .
The key features of DHCP are listed as central management of IP addresses.
-Priya -
Need help regarding upgrading Oracle 10g Forms to Oracle 11g Fusion Middlew
Hi All,
I am trying to create a workshop on a VM for showing the migration / upgrading of Oracle Forms 10g to Oracle 11g FMW using the Upgrade Assistant tool available in <ORACLE_HOME>/bin/ua.bat.
As per my understanding of pre-requisites:
1) I need to install Oracle SOA Suite 10g on my VM.
2) I also need to install Oracle SOA Suite 11g on my VM.
3) I need to install Oracle Forms/Reports Services 10g on my Oracle SOA Suite 10g installation.
4) I need to run Oracle Forms/reports installer on my Oracle SOA Suite 11g installation.
5) I need to run upgrade assistant tool on my VM to upgrade my form from source(Oracle SOA Suite 10g) to destination(Oracle SOA Suite 11g). Is it mandatory for this migration that I should have Oracle SOA Suite 10g and Oracle SOA Suite 11g on the same system ?
Having all these software installed on one VM would be difficult. So just wanted to check can I avoid any software to install on VM ?
If there is any alternative suggestion then please let me know.
Regards,What do you want to do with the SOA-suite? At least for Froms10G is is not necessary.
Maybe you are looking for
-
How to remove serial number from a PC?
Hello, I had previously activated some NI products on a PC using my serial number. Now, I'm transferring ownership of the PC to someone else, so I've deactivated the products. However, the serial number is still recorded somewhere in the PC: In the N
-
[uploader.exe] copying file C:\ProgramData\Microsoft\Application Compatibility Toolkit\DataCollector\Logging\AM-STATCOMP-{3BF5AAEF-847F-44b3-91DB-F8CC5E27D366}\STATUS-MYClient{2F12D96D-469D-43A8-9830-3E3DC3082848}.xml.cab to \\MYserver\ACT_LOG\STATUS
-
Is the cloud keeping me from txting my wife?
My wife and I both have iphone 3gs's syncd on same pc under the same Itunes and Apple ID account. Now all of a sudden we can not txt each other and my phone keeps losing data and signal. Is it because we are both using the same cloud ID? If so how do
-
Hi Experts, We are Merging Roles. We have HR role in which we want ESS, MSS and HR Admin Role. For these we created HR role and assigned ESS, MSS, HR Admin roles. Only one role (first role) is displaying in HR role. We tried different options, but i
-
Trying to empty the Trash and it tells me I don't have permission. It's my computer.
I can't get my trash to empty. The error message tells me I don't have permission to perform some of the functions. I'm that Admistrator of my own computer. Help please...