ORA 920 Relational operator missing
We are in a process of moving data from .txt file to staging table. Earlier we have conducted the same run many times and it was proper and successful. Today we tried the same but it ended in an error saying ORA-920.Relational operator missing.
We checked the colums there was no change in the mapping . It was as it as it was for previous runs.
Could u pls help me out of this.It would be really appreciable.
Aniruddha
Hi,
Could you copy the command from Operator here, please?
Cezar Santos
http://odiexperts.com
Similar Messages
-
Error: ORA-00920: invalid relational operator (WWV-16016)
Hi,
When I try to query in the form, I'm getting the following error
An unexpected error occurred: ORA-00920: invalid relational operator (WWV-16016).
The form has a field of type varchar2 with lov attached to it. This error is happening only if I enter characters more than 40 or select a value which has more than 40 characters from the lov.
Anbody had this problem?..Is there a solution for this?..Help would be appreciated.
Thanks
PJI figured out the problem and it seems like if the value has any 'IN' or 'BETWEEN' and try to query this error is happening and it's not because of character length. I think Portal assumes that relational operator is entered and tries to query based on those words. Is it a bug in the Portal?..
Thanks
PJ -
Case with where clause - ORA-00920: Invalid relational operator
Hi All, when I try to run the query below, I get the following error...
ORA-00920: invalid relational operator
00920. 00000 - "invalid relational operator"
*Cause:
*Action:
Error at Line: 16 Column: 5
Does anyone know what's wrong with my query? thanks in advance.
SELECT concat (year,period)
FROM DD_ACTUALS_FACT
WHERE CASE Period
WHEN 'JAN' THEN '01'
WHEN 'FEB' THEN '02'
WHEN 'MAR' THEN '03'
WHEN 'APR' THEN '04'
WHEN 'MAY' THEN '05'
WHEN 'JUN' THEN '06'
WHEN 'JUL' THEN '07'
WHEN 'AUG' THEN '08'
WHEN 'SEP' THEN '09'
WHEN 'OCT' THEN '10'
WHEN 'NOV' THEN '11'
WHEN 'DEC' THEN '12'
END as "MonthNo"
ORDER BY CONCAT (year,"MonthNo") DESCThe problem is the as "MonthNo" - you can't give an "AS" alias to an expression in a where clause.
You have not actually given any condition, just a set of translations from period into a number.
You also haven't said what you're trying to do.
Perhaps you want:
SELECT concat (year,period)
FROM DD_ACTUALS_FACT
WHERE something
ORDER BY CONCAT (year, CASE Period
WHEN 'JAN' THEN '01'
WHEN 'FEB' THEN '02'
WHEN 'MAR' THEN '03'
WHEN 'APR' THEN '04'
WHEN 'MAY' THEN '05'
WHEN 'JUN' THEN '06'
WHEN 'JUL' THEN '07'
WHEN 'AUG' THEN '08'
WHEN 'SEP' THEN '09'
WHEN 'OCT' THEN '10'
WHEN 'NOV' THEN '11'
WHEN 'DEC' THEN '12'
END ) DESC -
Requesting help-On a report Getting ora-00920 invalid relational operator.
Hi everyone,
I am having a report region with the following query:
select CASE
WHEN ISITRECENTADDENDUM(meckey_fk,code)
THEN
'<a href="javascript:popUp2('''
|| 'f?p=&APP_ID.:61:&SESSION.::NO::P61_MECKEY_FK:'
|| &P60_MECKEY.
|| ''', 700, 700);">'
|| '<img src="#IMAGE_PREFIX#gobut.gif">'
|| '</a>'
ELSE NULL
END EditAddendum,
'<a href="javascript:popURL('''
||'&REPORTS_URL.keynewmec&P_1=&P60_MECNUM.'
|| ''', 700, 700);">'
|| '<img src="#WORKSPACE_IMAGES#printer.jpg">'
|| '</a>'
PrintMEC,
"CODE",
"MECKEY_FK",
"ADDENDUM",
"WHO_CREATED",
"WHEN_CREATED"
from "C_ADDENDUMS"
where "MECKEY_FK" = v('P60_MECKEY')
And my function returning boolean is as follows:
create or replace FUNCTION "ISITRECENTADDENDUM"
(meckeyi in number,
codei in varchar2)
return Boolean
is
x varchar2(1);
begin
select max(code) into x from c_addendums where meckey_fk = meckeyi;
if x = codei then
return true;
else
return false;
end if;
exception
when others then
return FALSE;
end;
But I am getting ORA-00920 invalid relational operator. Can anyone please help me out? I am not knowing where the error is. When I run the function by itself I am getting "False" returned as expected. Appreciate any advice on this.
Rgds,
Suma.Suma,
It looks like what you are trying to do is display a link for the record with the highest value in the Code column, and nothing for the other records.
If that is the case, you can eliminate the function and just use a SQL query like this:
(not tested)
select CASE
WHEN code = Max(code) over (partition by meckey_fk)
THEN
'<a href="#">'
|| ' '
|| '< img class="TargetAlertIcon" src="chrome://targetalert/content/skin/internal.png"></a>'
ELSE NULL
END EditAddendum,
'<a href="#">'
|| ' '
|| '< img class="TargetAlertIcon" src="chrome://targetalert/content/skin/internal.png"></a>' PrintMEC,
"CODE", "MECKEY_FK", "ADDENDUM", "WHO_CREATED", "WHEN_CREATED"
from "C_ADDENDUMS"
where "MECKEY_FK" = :P60_MECKEYIs that what you're trying to do?
Doug -
Using regexp_instr in a where clause - invalid relational operator
Whey I try to run this query in TOAD I get an ORA-00920: invalid relational operator error. It's part of a 10g stored procedure. When I highlight it and run it it prompts me for the missing values and then the error pops up. The AND in line 4 is highlighted.
select CRIME_CLASSIFICATION_ID, crime_type, nvl(count(CRIME_CLASSIFICATION_ID),0) as CRIMECNT
From vaps.vw_offenses
where regexp_instr(valoc,to_char(location_id))
AND ( fromdate is null or
offense_date between to_date(fromdate, 'mm/dd/yyyy') AND to_date(todate,'mm/dd/yyyy')
group by crime_classification_id, crime_typeHi,
Review what REGEXP_INSTR does: it returns a NUMBER.
Your WHERE clause couldn't make any sense if you used any other kind of NUMBER expression in that place, e.g. a NUMBER literal such as 12:
select CRIME_CLASSIFICATION_ID, crime_type, nvl(count(CRIME_CLASSIFICATION_ID),0) as CRIMECNT
From vaps.vw_offenses
where 12 -- This is obviously wrong
AND ( fromdate is null or
offense_date between to_date(fromdate, 'mm/dd/yyyy') AND to_date(todate,'mm/dd/yyyy')
group by crime_classification_id, crime_type
It's not going to work any better with a function (like REGEXP_INSTR) that returns a NUMBER.
How can you fix it? That depends on what you want to do. Why are you calling REGEXP_INSTR? What is that condition checking?
Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved, so that the people who want to help you can re-create the problem and test their ideas.
Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
Always say which version of Oracle you're using (for example, 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
DB Connect error: ORA-12535: TNS:operation timed out
Hi,
I am trying to connect to a external oracle database from SAP.
I entered the TNS entry of the external DB in the TNSNAMES.ORA and configured it in the table DBCON.
But i am not able to connect to the external database. It is throwing the error
"sql error 12.535 ; occured:ORA-12535: TNS:operation timed out"
But i was able to connect the database from my system through TNSPING and also from TOAD.
Do i need to configure any parameter in LISTENER.ORA in SAP or in the external database?Hi,
Thanks for the reply.
The note which you specified was with BI objects. But i am trying to connect from SAP R/3 to a remote Oracle database.
I got connected to the remote Oracle database for an hour and it got disconnected by saying "TNS operation timed out".
The CONNECT_TIMEOUT parameter in LISTERER.ORA of the remote Oracle database is missing.
Will this may be the cause for the "TNS operation timed out". -
Error while using utl_http.request :ORA-12535: TNS:operation timed
Hi.
I'm using 11g
I'm trying to use utl_http.request
I tried select utl_http.request('http://srvab.us.oracle.com') from dual;
and get the below error
Error report:
SQL Error: ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1577
ORA-12535: TNS:operation timed out
ORA-06512: at line 1
29273. 00000 - "HTTP request failed"
*Cause: The UTL_HTTP package failed to execute the HTTP request.
*Action: Use get_detailed_sqlerrm to check the detailed error message.
Fix the error and retry the HTTP request.
I have tried the below steps after checking Oracle KM
BEGIN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(acl => 'ACL_OPSLOG.xml',
description => 'ACL SRVAP AUTOSR PURPOSES',
principal => 'username',
is_grant => true,
privilege => 'connect',
start_date => null,
end_date => null );
COMMIT;
END;
BEGIN
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL (
acl => 'ACL_OPSLOG.xml',
host => '*.us.oracle.com',
lower_port => null,
upper_port => null);
COMMIT;
END;
But still no luck.Please assist
Thanks
ArchanaAccording to the exception, the error is not ACL related, but network related.
Basic test. Connect to the Oracle server using a console (e.g. ssh or telnet into the server). On that server, test the network connectivity to the web server. E.g.
telnet srvab.us.oracle.com 80If this fails, then so will PL/SQL code in that Oracle server. -
Hi,
if I :
create table t (a number, b number, c number);
and then run the following query:
delete from t where a='1' and (b, c) in (
select b, c from t
where a='1'
group by b, c
having count(*) > 1);
-- nothing to see here
I get the following error:
ORA-00920: invalid relational operator
If I remove the "-- nothing to see here" comment, the query runs fine.
If I remove the quotes around the 1s it also runs fine, with or without the trailing comment.
I had a look through the forum and couldn't see this listed anywhere, though I presume others have come across similar problems?
I presume there is a simpler test case; I tried to reduce it a bit, but most of what is there seems to be needed to reproduce the error.
Note that it doesn't have to be a comment following the query; any text at all will cause the same error.
regards,
WilliamHaving just played around a bit, if you change the subquery to just return a single column, say "b" rather than "b" and "c":
delete from t where a='1' and b in (
select b from t
where a='1'
group by b
having count(*) > 1);
-- nothing to see here
Then I get error "ORA-00911: invalid character" instead.
If I run the buffer as a script (F5) I get:
SQL ERROR:ORA-00911: invalid character
delete from t where a='1' and b in (
select b from t
where a='1'
group by b
having count(*) > 1);
-- nothing to see here
ORA-00911: invalid character
In case that helps you locate it at all.
Note: if I move the "group by" clause onto the where line then it runs correctly.
regards,
William
Message was edited by:
user454290 -
Incomplete request/response operation missing send
Brief on orchestration whihc have request response port(published as WCF service)
1. receive(initialize co-relation)
2. Looping and do some operation(in scope and exception handling)
3.listen with receive(follow co-relation )& dynamic set delay shape(this step is also in loop, delay continues untill second request is received)
4. construct resp message and send
getting build error incomplete request/response operation missing sendYou have a loop shape, and obviously an condition associated to that loop.
Now consider a scenario: you receive a message - and your loop condition is not met. In such cases you are coming out of loop (after receiving a message), and you will not be able to send anything back on the Req/Res port. Hence the Compiler restricts you
this way.
Thanks
Abhishek -
"ORA-12535:TNS:operation timed out" error
hi,
I want to connect to my oracle server.If I try to connect my client means"ORA-12535:TNS:operation timed out" error is shown.What should i do to the rectify this problem.Pls give me a solution.
Thanks in advance.
-reg
Lakshman.We are using wiondows XP and oracle 8i.
I am able to ping the host where the database resides.
this problem occurs only when we try to connect this server form the client.I able to connect other servers without any problem.
I able to establish local connections.
I am trying tnsping database service.
client and the server are in same LAN only.
Pls give me a solution.
Thanks in advance.
-regs,
Lakshman. -
ORA-12535: TNS:operation timed out (during DBLINK testing)
Hi,
I have created a database link using the follwoing script :
create database link UIIODS.WORLD
connect to <user_id>
identified by <pwd>
using '(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 147.147.3.41)(PORT = 1552))
(CONNECT_DATA =
(SERVICE_NAME = uiiods)
But when I am executing the sql : select * from [email protected]
it gives the error : ORA-12535: TNS:operation timed out.
I am trying to create the database link from a 9.2.0.5 database server and sid of this service_name is R2SRVR5.world.
Please find below TNS,sqlnet and listener entries of the server R2SRVR5.WORLD :
R2SRVR5_DBSRC.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 157.227.6.39)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = R2SRVR5.WORLD)
UIIODS.PROD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 147.147.3.41)(PORT = 1552))
(CONNECT_DATA =
(SERVICE_NAME = uiiods)
# SQLNET.ORA Network Configuration File: C:\oracle\ora92\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# NAMES.DEFAULT_DOMAIN = tcskolkata.co.in
SQLNET.AUTHENTICATION_SERVICES= (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
# LISTENER.ORA Network Configuration File: C:\oracle\ora92\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = tcs061243)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = R2SRVR5.WORLD)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = R2SRVR5)
(SID_DESC =
(GLOBAL_DBNAME = dbsrc.world)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = dbsrc)
(SID_DESC =
(GLOBAL_DBNAME = NEWDBSRC.WORLD)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = NEWDBSRC)
PING and TNSPING working fine,but DBLINK is not working.
Please provide a solution.
Thanks in Advance,
KoushikHi,
Sorry for late response. Please find below the timing for TNSPING.
C:\>ping 147.147.3.41
Pinging 147.147.3.41 with 32 bytes of data:
Reply from 147.147.3.41: bytes=32 time=246ms TTL=247
Reply from 147.147.3.41: bytes=32 time=242ms TTL=247
Reply from 147.147.3.41: bytes=32 time=237ms TTL=247
Reply from 147.147.3.41: bytes=32 time=227ms TTL=247
Ping statistics for 147.147.3.41:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 227ms, Maximum = 246ms, Average = 238ms
C:\>tnsping 147.147.3.41
TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 29-DEC-2005 15:03:49
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\Oracle10g_Home\network\admin\sqlnet.ora
Used EZCONNECT adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=147.147.3.41))(ADDRESS=(PROTOCOL=TCP)(HOST=147.147.3.41)(PORT=1521)))
OK (700 msec)
C:\>tnsping uiiods.prod
TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 29-DEC-2005 15:04:02
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\Oracle10g_Home\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 147.147.3.41)(PORT = 1552))) (CONNECT_DATA = (SERVICE_NAME = uiiods)))
OK (580 msec)
Please suggest any solution.
Regards,
Koushik -
ORA-12535: TNS:operation timed out on other pc
After installing the XE edition on a server, I can connect fine on the server itsself. But when I try to connect from a client machine, I get ORA-12535: TNS:operation timed out.
My tnsnames on the client holds this string for the XE db:
MyDB.10gXE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
any ideas???Rather than
MyDB.10gXE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
why not go with the bulk standard tnsnames entry as follows:-
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
I don't think the qualified MyDB.10gXE name is adding any value and may well confuse things.
Although setting it for my environment does work
C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
005 18:06:48
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen
-lap.us.oracle.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_
NAME = XE)))
OK (40 msec)
OK - when I use your entry pasted directly from the above, with my server name, I get the following problem:-
C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
005 18:07:43
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION =
TNS-12533: TNS:illegal ADDRESS parameters
I added back some spaces, as indicated by the . below, and it works fine
MyDB.10gXE =
(DESCRIPTION =
.(ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen-lap.us.oracle.com)(PORT = 1521))
.(CONNECT_DATA =
.(SERVER = DEDICATED)
.(SERVICE_NAME = XE)
.) -
ORA-12535 TNS:operation timed out from SQLPlus and Enterprise Manager Conso
I keep getting a ORA-12535 TNS:operation timed out error, when I try to start my Database.
I know its a timeout error, but I would like to know what is timing out and why. All I want is the database its self to run to allow me to connect to it via SQLPlus and JDBC.
Is there any information on what the following services do and which ones I need to have running to use the database.
Oracle OLAP 9.0.101
Oracle OLAP Agent
Oracle oraHome90Agent
Oracle oraHome90ClientCache
Oracle OraHome90PagingServer
OracleOra90SNMPPeerEncapsulator
OracleOra90SNMPPeerMasterAgent
OracleOra90STNSListener
Thanks for any help TonyEither reconfigure CONNECT_TIMEOUT to be 0, which means wait indefinitely, or reconfigure CONNECT_TIMEOUT to be some higher value. Or, if the timeout is unacceptably long, turn on tracing for further information.
If you have oracle metalink, then read the following note;
Note:119706.1 - Troubleshooting Guide TNS-12535 & ORA-12535 Errors -
ORA-12535: TNS:operation timed out on a win2000 Oracle instance
Hi,
i have a Oracle 8.1.5 instance on a WIN2000 PC.
I can connect me to this database with sqlplus
as long i stay on the PC (means i started the sqlplus
on the same machine).
When i try to connect from an other (unix-)system
i get after a while (ca. 90 sec.) the error:
ORA-12535: TNS:operation timed out
tnsping works fine (answer comes back in one second)
There are no firewalls or other "strange" things between
the database and the failing client (on an other PC,
also win2000, Oracle 8.1.5 everything works fine).
Below you see the log with debug of the listener.
I have also a trace on level SUPPORT but this is more
than 1000 lines for just 1 or 2 TNSPINGs and one SQLPLUS
connect. Due to this volume i decided not to attach it to
this initial mail.
Does any one have some advice or experiences ?
Please advice.
Best regards,
[email protected]
======================================================================
TNSLSNR for 32-bit Windows: Version 8.1.5.0.0 - Production on 19-APR-01 09:07:26
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Die System-Parameterdatei ist D:\Oracle81\network\admin\listener.ora
Log-Meldungen wurden geschrieben in: D:\Oracle81\network\log\listener.log
Listen auf: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=driller-nb)(PORT=1521))(PROTOCOL_STACK=(PRESENTATION=TTC)(SESSION=NS)))
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
19-APR-01 09:07:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=mdriller))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=135286784)) * status * 0
19-APR-01 09:08:04 * service_register * MDR50 * 0
19-APR-01 09:08:11 * trc_level * 0
19-APR-01 09:08:16 * trc_level * 0
---------------- BEGIN TNSLSNR DEBUG ---------------------
*** ENDPOINT #1 **
Name:
Address: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=driller-nb)(PORT=1521))(PROTOCOL_STACK=(PRESENTATION=TTC)(SESSION=NS)))
Presentation: ttc
Session: NS
Info = <none>
Display: <none>
Load: 0
Handler ID = 80FFE377148D-41F8-AAC2-09A8BD4BE682
Oracle SID = <none>
Flags:
** INSTANCE #1 **
INSTANCE_NAME: MDR50
SERVICE_NAMEs: MDR50
INSTANCE LOAD: 0
INSTANCE ID: 4CC2FCDA6819-40D2-839D-F1628CC0BCA2
FLAGS: LOCAL
VERSION: 81500
NUM. HANDLERS: 2
Handler Matrix: (NS):
tcp nmp spx raw ipc beq lu62 tcps ANY
ttc 0 0 0 0 0 0 0 0 0
giop 0 0 0 0 0 0 0 0 0
http 0 0 0 0 0 0 0 0 0
ro 0 0 0 0 0 0 0 0 0
ANY 0 0 0 0 0 0 0 0 2
Handler Matrix: (RAW):
tcp nmp spx raw ipc beq lu62 tcps ANY
ttc 0 0 0 0 0 0 0 0 0
giop 0 0 0 0 0 0 0 0 0
http 0 0 0 0 0 0 0 0 0
ro 0 0 0 0 0 0 0 0 0
ANY 0 0 0 0 0 0 0 0 0
SERVICE HANDLERS:
Name: DEDICATED
Address: (ADDRESS=(PROTOCOL=beq)(PROGRAM=oracle)(ENVS=)(ARGV0=oracleMDR50)(ARGS='(LOCAL=NO)'))
Presentation: <none>
Session: <none>
Info = LOCAL SERVER
Display: DEDICATED SERVER
Load: 0
Handler ID = 83CB008C17A3-4E48-94DA-2765A62AAD7E
Oracle SID = <none>
Flags: BEQUEATH
Name: DEDICATED
Address: (ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleMDR50)(ARGS='(DESCRIPTION=(LOCAL=no)(ADDRESS=(PROTOCOL=BEQ)))'))
Presentation: <none>
Session: NS
Info = LOCAL SERVER
Display: DEDICATED SERVER
Load: 0
Handler ID = D9E0EC298D16-40FA-935F-7B989D139666
Oracle SID = MDR50
Flags: BEQUEATH CONNECTED DYNAMIC
** INSTANCE #2 **
INSTANCE_NAME: PLSExtProc
SERVICE_NAMEs: PLSExtProc
INSTANCE LOAD: 0
INSTANCE ID: 000000000000-0000-0000-000000000000
FLAGS: LOCAL
NUM. HANDLERS: 1
Handler Matrix: (NS):
tcp nmp spx raw ipc beq lu62 tcps ANY
ttc 0 0 0 0 0 0 0 0 0
giop 0 0 0 0 0 0 0 0 0
http 0 0 0 0 0 0 0 0 0
ro 0 0 0 0 0 0 0 0 0
ANY 0 0 0 0 0 0 0 0 1
Handler Matrix: (RAW):
tcp nmp spx raw ipc beq lu62 tcps ANY
ttc 0 0 0 0 0 0 0 0 0
giop 0 0 0 0 0 0 0 0 0
http 0 0 0 0 0 0 0 0 0
ro 0 0 0 0 0 0 0 0 0
ANY 0 0 0 0 0 0 0 0 0
SERVICE HANDLERS:
Name: DEDICATED
Address: (ADDRESS=(PROTOCOL=beq)(PROGRAM=extproc)(ENVS=)(ARGV0=extprocPLSExtProc)(ARGS='(LOCAL=NO)'))
Presentation: <none>
Session: <none>
Info = LOCAL SERVER
Display: DEDICATED SERVER
Load: 0
Handler ID = 56D4DAD11082-4097-992C-AF7F8067D858
Oracle SID = <none>
Flags: BEQUEATH
---------------- END TNSLSNR DEBUG ---------------------
19-APR-01 09:08:28 * debug * 0
19-APR-01 09:08:41 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=mdriller))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=135286784)) * status * 0
19-APR-01 09:09:57 * ping * 0
19-APR-01 09:10:16 * (CONNECT_DATA=(SID=MDR50)(CID=(PROGRAM=)(HOST=slarti)(USER=mdriller))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.34)(PORT=55678)) * establish * MDR50 * 0
19-APR-01 09:14:39 * trc_level * 0
19-APR-01 09:14:58 * trc_level * 0
19-APR-01 09:15:06 * trc_level * 0
19-APR-01 09:16:16 * trc_level * 0
19-APR-01 09:16:20 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=mdriller))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=135286784)) * status * 0
19-APR-01 09:16:33 * trc_level * 0
19-APR-01 09:17:09 * ping * 0
19-APR-01 09:17:51 * (CONNECT_DATA=(SID=MDR50)(CID=(PROGRAM=)(HOST=slarti)(USER=mdriller))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.34)(PORT=55695)) * establish * MDR50 * 0
19-APR-01 09:18:06 * MDR50 * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.34)(PORT=55695)) * service_update * MDR50 * 0
19-APR-01 09:23:33 * (CONNECT_DATA=(SID=MDR50)(CID=(PROGRAM=)(HOST=deep-thought)(USER=mdriller))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.22)(PORT=42006)) * establish * MDR50 * 0
19-APR-01 09:28:09 * MDR50 * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.22)(PORT=42006)) * service_update * MDR50 * 0
19-APR-01 09:28:25 * ping * 0
nullRather than
MyDB.10gXE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
why not go with the bulk standard tnsnames entry as follows:-
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
I don't think the qualified MyDB.10gXE name is adding any value and may well confuse things.
Although setting it for my environment does work
C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
005 18:06:48
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen
-lap.us.oracle.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_
NAME = XE)))
OK (40 msec)
OK - when I use your entry pasted directly from the above, with my server name, I get the following problem:-
C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
005 18:07:43
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION =
TNS-12533: TNS:illegal ADDRESS parameters
I added back some spaces, as indicated by the . below, and it works fine
MyDB.10gXE =
(DESCRIPTION =
.(ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen-lap.us.oracle.com)(PORT = 1521))
.(CONNECT_DATA =
.(SERVER = DEDICATED)
.(SERVICE_NAME = XE)
.) -
I installed Oracle 9i (9.2.0.1.0) on a Windows XP machine (the machine is in a domain). There were no errors during the instalation, but I have problems connecting from the same machine using the sid. Here are some examples from a command promt:
D:\>tnsping orcl9i
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 31-OCT-20
08 17:43:22
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = timisoara01)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl9i)))
TNS-12560: TNS:protocol adapter error
D:\>sqlplus "sys/pass@orcl9i as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 17:54:54 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-12535: TNS:operation timed out
Enter user-name:If I don't use the sid I can connect:
D:\>sqlplus "sys/pass as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 18:05:46 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL>If I go to services I see that the service is running: OracleServiceORCL9I Started.
Thx.Yes, the XP firewall is running. During the Oracle instalation it poped up twice, but I selected 'Unblock'. I can't turn it off because it is running using the domain settings, but I can add exceptions (programs or ports). Port 1521, tnsping or sqlplus are not blocked and there is an option 'Display a notification when Windows Firewall blocks a program' witch is checked.
Maybe you are looking for
-
Receiving an error in Print Report.vi in the Text Report Example.vi
I am trying to run the "Text Report Example.vi" example under Windows XP Professional, MS Office 2003 and LV 6.1 and I get an error in the "Print Report.vi" saying that there is an unknown error (-2147452567). I have searched through the Knowledgebas
-
MacBook pro will not charge even when the charger is plugged in and working
So this is a strange one. I have been using my MacBook pro for a lot of film editing and motion graphics. Recently, I noticed that my battery kept going down, even when charging. I thought nothing on it and kept using it. After around 4 hours, the ba
-
I downloaded IOS 7 to my computer and now my iPad is disabled without me putting in a passcode
I updated my iPad with OS 7 and now it is asking for a passcode that I did not put itn and now it is dasabled. Does anyone know what I can do to enable it?
-
Color not displaying correctly
ive recently noticed that my colors arent displaying correctly ive already deleted the Illustrator settings folder to reset all preferences to default but the color problem is still happening i have my color ooptions this way im using adobe illustrat
-
Help Editing code from a published html file with flash detection enabled from flash
hi guys ive publish a html file with flash detection enabled from flash heres the code from the publish html: <!-- saved from url=(0013)about:internet --> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"