Oracle 11g Remote Connection issue
When I try to connect to Oracle database remotely using SQLPlus or SQLDeveloper I get the following error.
ORA-01017: INVALID USERNAME/PASSWORD; logon denied.
Server details:
Oracle 11g on Enterprise Linux 4
I can connect using SQLPlus on the server.
SHOW SQLCASE is MIXED
Client details:
Windows Server 2003 enterprise Edition
Oracle 11g Client.
From remote computer my TNSPING to that server works perfectly.
For the same connection string I can’t connect from client. I am sure I am not typing bad password.
Any thought on this will be helpful.
Thank you,
Smith
Did the following steps and still not able to connect.
1. Cross checked that the REMOTE_LOGIN_PASSWORDFILE is set to EXCLUSIVE.
2. Created the PASSWORD file at the server using the tool ORAPWD
3. Restarted the server and started the Oracle listener and database.
4. Connected to the database using PLSQL in server to make sure it works fine there.
5. Checking at the client box to connect to the database. It fails and I am looking for help again at forum.
Now it is connecting using remote connection(sqlplus and sqlDeveloper) to the server. Interestingly the password are not the same when I connect remotely and from the server.
I am sure it is connecting to the same database both the occasion. I shut down the server and try to connect or v$version results indicates that I connecting to the same database.
Any jestification on this? I am getting lost here.
Thank you,
Smith
Edited by: user517525 on Feb 16, 2010 1:44 PM
Edited by: user517525 on Feb 16, 2010 2:22 PM
Similar Messages
-
Logic Remote connectivity issues after updating to iOS 8 (solved!)
Has anyone else has been experiencing connectivity issues with Logic Remote after updating to iOS 8?
After updating to iOS 8 I could no longer connect so I sent a feedback report to Apple and got a response that cleared up my problem immediately:
Navigate to the following directory on your desktop system running GarageBand:
~/Library/Containers/com.apple.garageband10/Data/Library/Preferences/
You can quickly navigate there using the “Go” menu in Finder -> Go To Folder (shift-command-G), then copy this path:
~/Library/Containers/com.apple.garageband10/Data/Library/Preferences/
In the Preferences folder should be a file named "com.apple.garageband10.cs”.
Make sure GarageBand is not running and delete the "com.apple.garageband10.cs” file.
Relaunch GarageBand and see if you should now be able to connect.
The same can be done for Logic by navigating to:
~/Library/Preferences/
And deleting "com.apple.logic.pro.cs" and restarting Logic.
Note that doing this will fix Logic Remote connectivity issues (and possibly other problems with latency and mixer functionality) but will also delete any other Controller settings that you've configured with Logic, if you happen to be using another controller of some sort.Thanks very much! This solved my connection problem.
-
Oracle 11g - External Table Issue SQL - PL/SQL?
Oracle 11g - External Table Issue?
=====================
I hope this is the right forum for this issue, if not let me, where to go.
We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
======================
Date1,date2,Political party,Name, ROLE
20-Jan-66,22-Nov-69,Democratic,"John ", MMM
22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
9-Aug-72,20-Jan-75,Republican,Henry,MMM
ALL NULL -- record
20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
======================
Our Expernal table structures is as follows
CREATE TABLE P_LOAD
DATE1 VARCHAR2(10),
DATE2 VARCHAR2(10),
POL_PRTY VARCHAR2(30),
P_NAME VARCHAR2(30),
P_ROLE VARCHAR2(5)
ORGANIZATION EXTERNAL
(TYPE ORACLE_LOADER
DEFAULT DIRECTORY P_EXT_TAB_D
ACCESS PARAMETERS (
RECORDS DELIMITED by NEWLINE
SKIP 1
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
REJECT ROWS WITH ALL NULL FIELDS
MISSING FIELD VALUES ARE NULL
DATE1 CHAR (10) Terminated by "," ,
DATE2 CHAR (10) Terminated by "," ,
POL_PRTY CHAR (30) Terminated by "," ,
P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
P_ROLE CHAR (5) Terminated by ","
LOCATION ('Input.dat')
REJECT LIMIT UNLIMITED;
It created successfully using SQL Developer
Here is the issue.
It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
It is loading all NULL value record (Rec # 6)
*** If we remove the '"' from input data, it loads all records including all NULL records
Log file has
KUP-04021: field formatting error for field P_NAME
KUP-04036: second enclosing delimiter not found
KUP-04101: record 2 rejected in file ....
Our questions
Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
Any idea?
Thanks in helping.
Edited by: qwe16235 on Jun 11, 2011 11:31 AMI'm not sure, but maybe you should get rid of the redundancy that you have in your CREATE TABLE statement.
This line covers all fields:
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
{code}
So I would change the field list to:
{code}
DATE1 CHAR (10),
DATE2 CHAR (10),
POL_PRTY CHAR (30),
P_NAME CHAR (30),
P_ROLE CHAR (5)
{code}
It worked on my installation. -
Oracle 11g - External Table Issue?
Oracle 11g - External Table Issue?
=====================
I hope this is the right forum for this issue, if not let me, where to go.
We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
======================
Date1,date2,Political party,Name, ROLE
20-Jan-66,22-Nov-69,Democratic,"John ", MMM
22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
9-Aug-72,20-Jan-75,Republican,Henry,MMM
------ ALL NULL -- record
20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
======================
Our Expernal table structures is as follows
CREATE TABLE P_LOAD
DATE1 VARCHAR2(10),
DATE2 VARCHAR2(10),
POL_PRTY VARCHAR2(30),
P_NAME VARCHAR2(30),
P_ROLE VARCHAR2(5)
ORGANIZATION EXTERNAL
(TYPE ORACLE_LOADER
DEFAULT DIRECTORY P_EXT_TAB_D
ACCESS PARAMETERS (
RECORDS DELIMITED by NEWLINE
SKIP 1
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
REJECT ROWS WITH ALL NULL FIELDS
MISSING FIELD VALUES ARE NULL
DATE1 CHAR (10) Terminated by "," ,
DATE2 CHAR (10) Terminated by "," ,
POL_PRTY CHAR (30) Terminated by "," ,
P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
P_ROLE CHAR (5) Terminated by ","
LOCATION ('Input.dat')
REJECT LIMIT UNLIMITED;
It created successfully using SQL Developer
Here is the issue.
It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
It is loading all NULL value record (Rec # 6)
*** If we remove the '"' from input data, it loads all records including all NULL records
Log file has
KUP-04021: field formatting error for field P_NAME
KUP-04036: second enclosing delimiter not found
KUP-04101: record 2 rejected in file ....
Our questions
Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
Any idea?
Thanks in helping.
Edited by: qwe16235 on Jun 10, 2011 2:16 PMThe following worked for me:
drop table p_load;
CREATE TABLE P_LOAD
DATE1 VARCHAR2(10),
DATE2 VARCHAR2(10),
POL_PRTY VARCHAR2(30),
P_NAME VARCHAR2(30),
P_ROLE VARCHAR2(5)
ORGANIZATION EXTERNAL
(TYPE ORACLE_LOADER
DEFAULT DIRECTORY scott_def_dir1
ACCESS PARAMETERS (
RECORDS DELIMITED by NEWLINE
badfile scott_def_dir2:'p_load_%a_%p.bad'
logfile scott_def_dir2:'p_load_%a_%p.log'
SKIP 1
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
MISSING FIELD VALUES ARE NULL
REJECT ROWS WITH ALL NULL FIELDS
DATE1 CHAR (10) Terminated by "," ,
DATE2 CHAR (10) Terminated by "," ,
POL_PRTY CHAR (30) Terminated by "," ,
P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
P_ROLE CHAR (5) Terminated by ","
LOCATION ('Input.dat')
REJECT LIMIT UNLIMITED;
Note that I had to interchange the two lines:
MISSING FIELD VALUES ARE NULL
REJECT ROWS WITH ALL NULL FIELDS
Just to get the access parameters to parse correctly.
I added two empty lines, one in the middle and one at the end - both were rejected.
In the log file, you will see the rejectiions:
$ cat p_load_000_9219.log
LOG file opened at 07/08/11 19:47:23
Field Definitions for table P_LOAD
Record format DELIMITED BY NEWLINE
Data in file has same endianness as the platform
Reject rows with all null fields
Fields in Data Source:
DATE1 CHAR (10)
Terminated by ","
Enclosed by """ and """
Trim whitespace same as SQL Loader
DATE2 CHAR (10)
Terminated by ","
Enclosed by """ and """
Trim whitespace same as SQL Loader
POL_PRTY CHAR (30)
Terminated by ","
Enclosed by """ and """
Trim whitespace same as SQL Loader
P_NAME CHAR (30)
Terminated by ","
Enclosed by """ and """
Trim whitespace same as SQL Loader
P_ROLE CHAR (5)
Terminated by ","
Enclosed by """ and """
Trim whitespace same as SQL Loader
KUP-04073: record ignored because all referenced fields are null for a record
KUP-04073: record ignored because all referenced fields are null for a record
Input Data:
Date1,date2,Political party,Name, ROLE
20-Jan-66,22-Nov-69,Democratic,"John ", MMM
22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
9-Aug-72,20-Jan-75,Republican,Henry,MMM
4-Aug-70,20-Jan-75,Independent
Result:
SQL> select * from p_load;
DATE1 DATE2 POL_PRTY P_NAME P_ROL
20-Jan-66 22-Nov-69 Democratic John MMM
22-Nov-70 20-Jan-71 Democratic John Jr. MMM
20-Jan-68 9-Aug-70 Republican Rick Ford Sr. MMM
9-Aug-72 20-Jan-75 Republican Henry MMM
Regards,
- Allen -
Oracle 11G + Database Connection taking too much Time
Hi ,
I am using Oracle 11G . When i try to connect to oracle database
sqlplus system/impetus@database
it takes too much time ( more than 1 min )
I am not getting why this is happening ?
Before some day it was working fine but suddenly the problem occurred.. Is this issue is related to log files generated by oracle or memory related issue ( sga and pga)..
Any Help please ?Darn! /tmp/capture.log does not contain what I expected it to contain.
So a different approach is needed.
issue the following command:
script /tmp/capture.log
#now you are in a new shell & issue the next 3 lines
strace sqlplus system/impetus@database
exit
Ctrl-d (Control D)
now issue the following commands.
ls -l /tmp/capture.log
wc -l /tmp/capture.log
Post the results from 2 commands above back here -
Need helps for remote connection issue
Dear guys,
Today, I got a problem regarding remote connections. My Oracle stopped responding to remote connections. (tried to connect by sqlplus with service name, and sqlplus hung) Tnsping works. Local connection works (tried to connect by sqlplus without service name).
Have to stutdown by sqlplus and oracle did not respond. Shutdown the server (windows server 2003 standard edition), system stop responding (guess it was caused by oracle service). Had to shutdown by pushing the power button. After it restarts, everything come back to normal. No error is logged in alert log.
Any ideas regarding this issue? Many thanks.
G.B.
Still studying this issue. Found an SQLNET.log in the %ORACLE_HOM%/NETWORK/LOG fould. It reads:
Fatal NI connect error 12638, connecting to:
(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.1.0.2.0 - Production
Time: 06-APR-2006 10:43:52
Tracing not turned on.
Tns error struct:
ns main err code: 12638
TNS-12638: Credential retrieval failed
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Seems it's related to authentication service issue. So, I just commented out SQLNET.AUTHENTICATION_SERVICES= (NTS) from sqlnet.ora even my database functions well after restart. But I'm not sure if this is the solution and still wondering what's the root cause of this error.
Message was edited by:
G.B.Q.Hi there!
Modify the following entry in sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES= (NTS)
to
SQLNET.AUTHENTICATION_SERVICES= (beq,none)
and you will be fine,
Regards,
Jay Munshi
http://jaydba.tripod.com -
Oracle 11g Case Insensitive Issue
Hi,
For our .net framework 4.0 Application we need case insenstive search. So I have tried setting NLS_COMP=LINGUISTIC & NLS_SORT=BINARY_CI in environmental variable.. But this is not working. But when I tried firing trigger on each logon and setting NLS_COMP for each session.. It is working.. But because of performance reason we don't want to fire on trigger for each database logon.
Pls Let me know why it is not working setting environmental variable. We are using Oracle 11g client and 10g server and connecting from our .net application through ODP.NET.
Regards,
RaghuDo you see the same behavior when connecting via SQLPlus after setting the environment variables? Is this an ODP.NET specific issue? If it's not specific to ODP, you'll probably get better insight by posting in one of the generic database forums.
With respect to ODP specific solutions, have you already checked out the OracleGlobalization class?
http://docs.oracle.com/cd/B19306_01/win.102/b14307/OracleGlobalizationClass.htm#i1009565
Hope it helps,
Greg -
Hi all,
After Oracle 11g migration, i have been facing issues in OEM scheduling. Twice the job did not run even after 11.2.0.7 upgrade. Hence i would like to explore the possibility of scheduling the same in DBMS jobs (we have not faced even a single failure since migration). However there is no mail alert available for successful completion of the job. In this regard i would like to have your views and help to create alerts to proceed further.
ThankxHi Ravi,
Really the link helps,eventhough i have been looking for the rootcause to overcome from the job failure(scheduled jobs)
Actually after completion/succeded of my scheduled job i may also get "INITIALIZATION ERROR" status message,so i need to be Re-schedule the particular job again
for next day.
Look up screenshot of the error
Job Name=OEM_FLEET_ICL_SEND_6_30_AM_DAILY
Job Owner=SYSMAN
Job Type=SQL Script
Target Type=Database Instance
Timestamp=Apr 19, 2011 6:30:44 AM
Status=Initialization Error
Step Output=
Command:Output Log
SQLPlus: Release 11.2.0.2.0 Production on Tue Apr 19 06:30:15 2011*
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> SQL> SQL> SQL> Connected.
SQL> SQL> SQL> SQL>
PL/SQL procedure successfully completed.
SQL> SP2-0103: Nothing in SQL buffer to run.
SQL>
Commit complete.
SQL> SQL> SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
*~~~End Step Output/Error Log~~~*
kindly advice me on this
Thanks -
Database link and remote connection issues..
We have a sql script... Large script that we would rather not post here. The script connects through a dblink to a remote site at the beginning and gets thousands of records. We then process these records locally which takes around 40 minutes. The link is unused for that time. Then the same script attempts to connect again through the dblink and set a confiirmation flag. But this final confirmation step routinely fails. The script used to work fine when the confirmation was at the beginning of the script.
My understanding is that when you go out through a dblink it creates a session on the remote computer. The session stays active until the local proc ends or the session times out. Successive calls through the dblink from the same proc will reuse the same remote session? Is this true?
So, Is the inactivity period possibly causing this dblink connectivity issue? We put some test sql select statements in the script here and there selecting from dual at the remote site to test the link inbetween major proc calls. Sometimes even these fail. What do I have to do to keep this link active? Is this even my issue?
Like I said this script worked fine when the confirmation piece was at the beginning right before we start downloading files and basically no inactivity period... Now we download files and confirm at the end with a 40min to 2 hour inactivity between.
The remote site as well as the network claim that they are not dropping us... The only piece of information I can provide is that on our side SQLNET.EXPIRE_TIME = 10 and on there side SQLNET.EXPIRE_TIME = 0. I've read that others solved this issue by manipulating this value.
Here are some of the errror message we get in our script...
ORA-03114: not connected to ORACLE
ERROR at line 1:
ORA-02068: following severe error from DMVAIS
ORA-03135: connection lost contact
Edited by: Mark Reichman on Nov 25, 2008 12:47 PM
Edited by: Mark Reichman on Nov 25, 2008 12:57 PMWhat version of Oracle?
What are the values of the following database parameters?
open_links max # open links per session
open_links_per_instance # open links per instanceAny chance you are exhausting one or both these parameter values?
Have you ran a check on the network connection between the two machines?
HTH -- Mark D Powell -- -
Hi All
I have installed Oracle 8i in two different networks(both are LAN). I need to remotely connect to Oracle in other network from my home network via VPN.
(I have already setup VPN connection between these to nework)
Is this possible. If so how can i connect. Please reply me.
Many ThanksPrince0606 wrote:
Hi All
I have installed Oracle 8i in two different networks(both are LAN). I need to remotely connect to Oracle in other network from my home network via VPN.
(I have already setup VPN connection between these to nework)
Is this possible. If so how can i connect. Please reply me.
Many Thanks
8i is obsoleted & unsupported this whole Century.
Both problem & solution are external to Oracle and are basic OS/Networking configuration issues.
You decided we did not need to know OS name or version for either system & solution specifics are OS depenedent.
How do I ask a question on the forums?
https://forums.oracle.com/message/9362002#9362002 -
Oracle 11g Migration performance issue
Hello,
There a performance issue with Migration from Oracle 10g(10.2.0.5) to Oracle 11g(11.2.0.2).
Its very simple statement hanging for more than a day and later found that query plan is very very bad. Example of the query is given below:
INSERT INTO TABLE_XYZ
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
While looking at cost in Explain plan :
on 10g --> 62567
0n 11g --> 9879652356776
Strange thing is that
Scenario 1: if I issue just query as shown below, will display rows immediately :
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
Scenario 2: If I create a table as shown below, will work correctly.
CREATE TABLE TABLE_XYZ AS
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
What could be the issue here with INSERT INTO <TAB> SELECT <COL> FROM <TAB1>?Table:
CREATE TABLE AVN_WRK_F_RENEWAL_TRANS_T
"PKSRCSYSTEMID" NUMBER(4,0) NOT NULL ENABLE,
"PKCOMPANYCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKBRANCHCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKLINEOFBUSINESS" NUMBER(4,0) NOT NULL ENABLE,
"PKPRODUCINGOFFICELIST" VARCHAR2(2 CHAR) NOT NULL ENABLE,
"PKPRODUCINGOFFICE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKEXPIRYYR" NUMBER(4,0) NOT NULL ENABLE,
"PKEXPIRYMTH" NUMBER(2,0) NOT NULL ENABLE,
"CURRENTEXPIRYCOUNT" NUMBER,
"CURRENTRENEWEDCOUNT" NUMBER,
"PREVIOUSEXPIRYCOUNT" NUMBER,
"PREVIOUSRENEWEDCOUNT" NUMBER
SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT
TABLESPACE "XYZ" ;
Explain Plan(With Insert Statement and Query):_
INSERT STATEMENT, GOAL = ALL_ROWS Cost=9110025395866 Cardinality=78120 Bytes=11952360
LOAD TABLE CONVENTIONAL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS
NESTED LOOPS OUTER Cost=9110025395866 Cardinality=78120 Bytes=11952360
TABLE ACCESS FULL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS_1ST Cost=115 Cardinality=78120 Bytes=2499840
VIEW PUSHED PREDICATE Object owner=ODS Cost=116615788 Cardinality=1 Bytes=121
SORT GROUP BY Cost=116615788 Cardinality=3594 Bytes=406122
VIEW Object owner=SYS Object name=VW_DAG_1 Cost=116615787 Cardinality=20168 Bytes=2278984
SORT GROUP BY Cost=116615787 Cardinality=20168 Bytes=4073936
NESTED LOOPS OUTER Cost=116614896 Cardinality=20168 Bytes=4073936
VIEW Object owner=SYS Cost=5722 Cardinality=20168 Bytes=2157976
NESTED LOOPS Cost=5722 Cardinality=20168 Bytes=2097472
HASH JOIN Cost=924 Cardinality=1199 Bytes=100716
NESTED LOOPS
NESTED LOOPS Cost=181 Cardinality=1199 Bytes=80333
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=159 Cardinality=1199 Bytes=39567
INDEX RANGE SCAN Object owner=ODS Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH Cost=7 Cardinality=1199
INDEX UNIQUE SCAN Object owner=ODS Object name=PK_AVN_D_MASTERPOLICYDETAILS Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=1 Cardinality=1 Bytes=34
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=288498 Bytes=4904466
VIEW PUSHED PREDICATE Object owner=ODS Cost=4 Cardinality=1 Bytes=20
FILTER
SORT AGGREGATE Cardinality=1 Bytes=21
TABLE ACCESS BY GLOBAL INDEX ROWID Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=4 Cardinality=1 Bytes=21
INDEX RANGE SCAN Object owner=ODS Object name=PK_AVN_F_TRANSACTIONS Cost=3 Cardinality=1
VIEW PUSHED PREDICATE Object owner=ODS Cost=5782 Cardinality=1 Bytes=95
SORT GROUP BY Cost=5782 Cardinality=2485 Bytes=216195
VIEW Object owner=SYS Object name=VW_DAG_0 Cost=5781 Cardinality=2485 Bytes=216195
SORT GROUP BY Cost=5781 Cardinality=2485 Bytes=278320
HASH JOIN Cost=5780 Cardinality=2485 Bytes=278320
VIEW Object owner=SYS Object name=VW_GBC_15 Cost=925 Cardinality=1199 Bytes=73139
SORT GROUP BY Cost=925 Cardinality=1199 Bytes=100716
HASH JOIN Cost=924 Cardinality=1199 Bytes=100716
NESTED LOOPS
NESTED LOOPS Cost=181 Cardinality=1199 Bytes=80333
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=159 Cardinality=1199 Bytes=39567
INDEX RANGE SCAN Object owner=ODS Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH Cost=7 Cardinality=1199
INDEX UNIQUE SCAN Object owner=ODS Object name=PK_AVN_D_MASTERPOLICYDETAILS Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=1 Cardinality=1 Bytes=34
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=288498 Bytes=4904466
VIEW Object owner=SYS Object name=VW_GBF_16 Cost=4854 Cardinality=75507 Bytes=3850857
SORT GROUP BY Cost=4854 Cardinality=75507 Bytes=2340717
VIEW Object owner=ODS Cost=4207 Cardinality=75507 Bytes=2340717
SORT GROUP BY Cost=4207 Cardinality=75507 Bytes=1585647
PARTITION HASH ALL Cost=3713 Cardinality=75936 Bytes=1594656
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3713 Cardinality=75936 Bytes=1594656
Explain Plan(Only Query):_
SELECT STATEMENT, GOAL = ALL_ROWS Cost=62783 Cardinality=89964 Bytes=17632944
HASH JOIN OUTER Cost=62783 Cardinality=89964 Bytes=17632944
TABLE ACCESS FULL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS_1ST Cost=138 Cardinality=89964 Bytes=2878848
VIEW Object owner=ODS Cost=60556 Cardinality=227882 Bytes=37372648
HASH GROUP BY Cost=60556 Cardinality=227882 Bytes=26434312
VIEW Object owner=SYS Object name=VW_DAG_1 Cost=54600 Cardinality=227882 Bytes=26434312
HASH GROUP BY Cost=54600 Cardinality=227882 Bytes=36005356
HASH JOIN OUTER Cost=46664 Cardinality=227882 Bytes=36005356
VIEW Object owner=SYS Cost=18270 Cardinality=227882 Bytes=16635386
HASH JOIN Cost=18270 Cardinality=227882 Bytes=32587126
HASH JOIN Cost=12147 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=10076 Cardinality=34667 Bytes=2322689
TABLE ACCESS FULL Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=137 Cardinality=34667 Bytes=1178678
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=9934 Cardinality=820724 Bytes=27083892
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=866377 Bytes=14728409
VIEW Object owner=ODS Cost=5195 Cardinality=227882 Bytes=13445038
HASH GROUP BY Cost=5195 Cardinality=227882 Bytes=4785522
PARTITION HASH ALL Cost=3717 Cardinality=227882 Bytes=4785522
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3717 Cardinality=227882 Bytes=4785522
VIEW Object owner=ODS Cost=26427 Cardinality=227882 Bytes=19369970
HASH GROUP BY Cost=26427 Cardinality=227882 Bytes=18686324
VIEW Object owner=SYS Object name=VW_DAG_0 Cost=26427 Cardinality=227882 Bytes=18686324
HASH GROUP BY Cost=26427 Cardinality=227882 Bytes=25294902
HASH JOIN Cost=20687 Cardinality=227882 Bytes=25294902
VIEW Object owner=SYS Object name=VW_GBC_15 Cost=12826 Cardinality=34667 Bytes=2080020
HASH GROUP BY Cost=12826 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=12147 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=10076 Cardinality=34667 Bytes=2322689
TABLE ACCESS FULL Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=137 Cardinality=34667 Bytes=1178678
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=9934 Cardinality=820724 Bytes=27083892
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=866377 Bytes=14728409
VIEW Object owner=SYS Object name=VW_GBF_16 Cost=7059 Cardinality=227882 Bytes=11621982
HASH GROUP BY Cost=7059 Cardinality=227882 Bytes=6836460
VIEW Object owner=ODS Cost=5195 Cardinality=227882 Bytes=6836460
HASH GROUP BY Cost=5195 Cardinality=227882 Bytes=4785522
PARTITION HASH ALL Cost=3717 Cardinality=227882 Bytes=4785522
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3717 Cardinality=227882 Bytes=4785522 -
Solution manager Remote Connection issues
Hi
I'm currently in the process of setting up Solution Manager 7.1 on windows Server 2008r2 using central system.
I did the prerequisite check & the Solman installation and i'm actuallly working on the post-installation steps.
I'm experiencing difficulty with the step : "Configure Remote Connection to SAP".
I followed the informations provided on : http://service.sap.com/remoteconnection
In the technical prerequesite you have to set up a connection to sap support.
So i have to choose a connection type : I selected Internet connection so my first question is : do we need "VPN with SNC" or "VPN OR SNC" ?
I personnaly understood VPN or SNC.
So from here i decided to use SNC.
The first step was to set up & configure the SAProuter. I decided to do it on an another computer on the same domain ( not on the same computer where Solution Manager is installed ) but i'm not sure it is necesary
I assume I can install Saprouter on the same location as the Solution manager? do you recommend it ?
The Basic Functions testing with niping is working.
The next step is : "establish Internet Connections"
So now i can choose between SNC or VPN : my goal is to establish the connection as fast as possible.
I actually don't have a switch available ( i can get one if necesary but time is running ... ) so i'm opting for the SNC solution.
I tryed to get the certificate for the saprouter but i don't have a register SAProuter, but when i opened a customer messager for component XX-SER-NET, SAP answered about the impossibility to access SAP service Backbone with an SNC , saying that i will need to register a VPN site to site connection to SAP => i don't get it .... Can someone explain it to me ?
So please can one of you guru's tell me how to set this remote connection :
-which materials ( server / switch / firewalls ) ?
-where to get the right documentation ?
-What about DMZ ?
-I have a single IP Address is that enough ? ( setting up nat for port 3299 )
- do i have to contact a service provider ?
My idea was initially to set up the SAProuter on the same computer as the SOLMAN setup & use SNC communication to communicate with SAP but it doesn't seems that easy. Do i need separate installation for Saprouter <=> Solution Manager. ?
What's the minimal infrastructure to establish this connection ?
In addition to that, after configuring the SAProuter, i had trouble with the SAPMMC : on my system , on the instance 0 , the process disp+work.EXE won't run ( yellow light )and i can't find where i made a mistake if you have suggestions ...
Really need your help, i'm on a short deadline ... Any help, even incomplete, would be appreciated.
Thanks a lot.Thx for the answer.
I actually managed to register my saprouter with SAP and was granted with CN/OU & connection informations.
I followed this guide : http://service.sap.com/saprouter-sncdoc with the addition of this guide : http://wiki.sdn.sap.com/wiki/display/Basis/SAProuterviaSNC.
My first issue : I'm running with a Windows server 2008 r2 enterprise edition 64 bits with a processor Intel Xeon 2.4ghz ( dualcore). so i decided to use the crypto folder "nt-x86_64"
For the environment variable i set as System variables SECUDIR = C:\usr\sap\saprouter and SNC_LIB = C:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll
The generation/install of the certificate is alright ( sapgenpse get_my_name -v -n Issuer is OK )
using the command :saprouter -r -K "p:CN=mycn, OU=myOUnbr, OU=SAProuter, O=SAP, C=DE" i have
I get the following message : trc file dev_rout
no ligging active
Its strange cause it looks like its running but when i check the services running on windows saprouter isn't started .... How to know if SAProuter is running right ?
If i folow the SAP procedure : Step 3 : test of the ip connection by the customer : SAP Remote Services : technical preparation ( see SAP Note 812386 ) : it's ask in the note to implement note 766505 via SNOTE : i get the following error msg : Error in remote connection to destination SAPOSS : Error when opening an RFC connection ( LB: Hostname or service of the message server unknown#DEST = SA
What's wrong ?
If i use T oss1 in parameter => technical setting => i set my saprouter info in SAProuter 1 ( at customer site ) with instance no. 99 and if SAProuter and SAPNet Message Server at SAP i put the following : Name : sapserv2 / IP Address 194.39.131.34 intance no. 99 and message server name oss001/ DB Name 001/ Instance no.01.
When trying to "Logon to SAPNet" i have an error Unable to connect to SAPNet message server ( default connection will be used ... )
and followed by the error screen : "partner '80.15.173.168:sapdp99' not reached WSAECONNREFUSED : Connection refused. do you want to see the detailed error description ? "
Details : module nixxi.cpp / line 3286 / Method : NipConnect2:80.15.173.168:3299 / Return code : -10 / System call : connect / Error No : 10061 / Error Text WSAECONNREFUSED: Connection refused / Counter : 10
Any idea ?
when doing niping.exe -c -H /H/mylocalSR/H/194.39.131.34/H/194/39.131.34 i obtain :
Wed Dec 07 21:20:09 2011
connect to server o.k
Wed Dec 07 21:20:09 2011
send and receive 10 messages (len 1000)
times -
avg 122.148 ms
max 193.731 ms
min 81.564 ms
tr 15.990 kB/s
excluding max and min :
av2 118.273 ms
tr2 16.514 kB/s
Is it the expected output ?
I've maintained system data in service.sap.com/system-data ( selecting the sap router ) then i tryed to use the SAP service connection, downloaded the .exe but i can't find the stfk.oez. I realized that in my maintain connection screen i have no space for entering any routestring. Seems wrong ?
Do i have to use the SAO?
i've made nat redirection from my router as this : from my public ip to my lan ip ( 192.168.x.x) what should i enter in the routestring : /H/public or lan or hostname ?/S/3299 ?
Hoping you can help me ! ( the goal of all this is to set up RFC connection for postinst step of Solution manager ).
Edited by: BLANCHARD Guillaume on Dec 7, 2011 10:47 PM -
Oracle 11g clusterware installation issue.
In our test lab, we are facing the following issue.Kindly help us to resolve this issue.
Environment Details
O/S : Oracle Enterprise Linux
Database: Oracle 11g
Clusterware: Oracle 11g
The nodes are created using vmware.
All the pre installation checks using clufvy utility are successful.
During Installation of clusterware software, we need to run root.sh at the end on all the nodes. We have 2 node cluster. Root.sh runs successfully on node 1, but fails on node 2.
Root.sh on node 2 details are given below
# ./root.sh
WARNING: directory '/u01/app/oracle/product/11.1.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01/app/oracle/product/11.1.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 11G Release 1.
assigning default hostname tsa1-fdfolio for node 1.
assigning default hostname tsa2-fdfolio for node 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: tsa1-fdfolio tsa1-fdfolio-priv tsa1-fdfolio
node 2: tsa2-fdfolio tsa2-fdfolio-priv tsa2-fdfolio
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 90 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
Failure at final check of Oracle CRS stack.
10The trace files which **might** contain some useful error messages are :
a) The latest trace files under $CRS_Home/log/hostname/client directory
b) The OS Messages file ( /var/log/messages )
This information can then be used to google similar issues ..
Paste those messages here and I'll see if it rings a bell ..
Vishwa -
Oracle 11g database Connection & Response are very slow
I have an ORACLE 11g R2 on lRed Hat Enterprise Linux Server release 5.3 (Tikanga).
initially it was working fine.
Now a days while attempting to connect into the database from network using @service_name
it takes a lot of time to establish the connection and even it gets connected the query response time is very high.
on the other hand if I connect from the native database machine's terminal without @service_name it works fine & the response time is convincing. But even from the native database machine's terminal with @service_name it is giving me the same pain.
can any body help me how to fix this.
Thanks in advance..
Arkeshthanks for the reply & Query
Alert Log entry do look like this
ORACLE_BASE from environment = /u01/app/oracle
Thu Apr 22 07:29:10 2010
ALTER DATABASE MOUNT
Successful mount of redo thread 1, with mount id 4283520006
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Thu Apr 22 07:29:15 2010
ALTER DATABASE OPEN
Beginning crash recovery of 1 threads
parallel recovery started with 7 processes
Started redo scan
Completed redo scan
read 15 KB redo, 23 data blocks need recovery
Started redo application at
Thread 1: logseq 449, block 8217
Recovery of Online Redo Log: Thread 1 Group 2 Seq 449 Reading mem 0
Mem# 0: /u01/app/oracle/oradata/ultimus/redo02.log
Completed redo application of 0.01MB
Completed crash recovery at
Thread 1: logseq 449, block 8248, scn 10502937
23 data blocks read, 23 data blocks written, 15 redo k-bytes read
Thread 1 advanced to log sequence 450 (thread open)
Thread 1 opened at log sequence 450
Current log# 3 seq# 450 mem# 0: /u01/app/oracle/oradata/ultimus/redo03.log
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 2.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is WE8MSWIN1252
No Resource Manager plan active
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
Thu Apr 22 07:29:18 2010
QMNC started with pid=27, OS id=3611
Completed: ALTER DATABASE OPEN
Thu Apr 22 07:29:20 2010
db_recovery_file_dest_size of 10240 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Thu Apr 22 07:29:20 2010
Starting background process CJQ0
Thu Apr 22 07:29:20 2010
CJQ0 started with pid=28, OS id=3817
Thu Apr 22 07:34:18 2010
Starting background process SMCO
Thu Apr 22 07:34:18 2010
SMCO started with pid=19, OS id=3861
Thu Apr 22 07:59:23 2010
Thread 1 advanced to log sequence 451 (LGWR switch)
Current log# 1 seq# 451 mem# 0: /u01/app/oracle/oradata/ultimus/redo01.log
Thu Apr 22 10:09:23 2010
DM00 started with pid=34, OS id=6272, job ULTIMUS.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:09:25 2010
DW00 started with pid=35, OS id=6274, wid=1, job ULTIMUS.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:11:20 2010
Thread 1 cannot allocate new log, sequence 452
Private strand flush not complete
Current log# 1 seq# 451 mem# 0: /u01/app/oracle/oradata/ultimus/redo01.log
Thread 1 advanced to log sequence 452 (LGWR switch)
Current log# 2 seq# 452 mem# 0: /u01/app/oracle/oradata/ultimus/redo02.log
Thu Apr 22 10:13:28 2010
DM00 started with pid=45, OS id=6395, job ULTIMUSISL.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:13:29 2010
DW00 started with pid=46, OS id=6397, wid=1, job ULTIMUSISL.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:14:29 2010
Thread 1 cannot allocate new log, sequence 453
Private strand flush not complete
Current log# 2 seq# 452 mem# 0: /u01/app/oracle/oradata/ultimus/redo02.log
Thread 1 advanced to log sequence 453 (LGWR switch)
Current log# 3 seq# 453 mem# 0: /u01/app/oracle/oradata/ultimus/redo03.log
Thu Apr 22 10:15:40 2010
DM00 started with pid=43, OS id=6432, job IULTIMUS.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:15:41 2010
DW00 started with pid=45, OS id=6434, wid=1, job IULTIMUS.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:16:38 2010
DM00 started with pid=45, OS id=6450, job ULTIMUSEXT.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:16:38 2010
DW00 started with pid=46, OS id=6452, wid=1, job ULTIMUSEXT.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:26:18 2010
Fatal NI connect error 12537, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
Time: 22-APR-2010 10:26:18
Tracing not turned on.
Tns error struct:
ns main err code: 12537
TNS-12537: TNS:connection closed
ns secondary err code: 12560
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
opiodr aborting process unknown ospid (6587) as a result of ORA-609 -
Coldfusion 9 & Oracle 11g r1 connection
We recently updated to Coldfusion 9. We are wondering how we can get an odbc connection to oracle 11g r1. I did a full installation of CF 9 with the ODBC option checked but it did not have an option for oracle databases, when we went to the data source in CF admin to create database connections. According to the CF 9 documentation there is suppose to be one? We are using CF 9 standard, what am I doing wrong. Previously we used "Configuring ColdFusion MX to use the Oracle JDBC thin driver" and that seem to work. But not for the new version of Coldfusion and oracle.
If anyone found a solution please let me know the details.
ChadIf you are sure you have newer versions you may try
runInstaller -ignoreSysPrereqs .
That bypasses the pre-checks. But there's a risk even more severe errors will occur later.
Werner
Maybe you are looking for
-
Pass Multiple Prompt Values Dynamically in a Publication
Hello I have a dynamic list for list for my Publications of a Web Intelligence Document. The dynamic list has the following columns names ID Name Email Zone and the Web Intelligence document has the columns: Zone Sales Value I can't use Profiles beca
-
I have migrated within a week of buying DW CS3 to DW CS4 and have been spending the last 24 hours or so watching the excellent videos on lynda.com for CS4. I then decided to take the plunge and start producing my own content. The first thing I wanted
-
I am trying to use a message properties file in my jsf page, to display headings ect. But it gives an error > org.apache.jasper.JasperException: Can't find bundle for base name bundle.Messages, locale en_US I put my Message.properties file in my fold
-
Macbook creating weird application problem
everytime i download a program; for example Skype, i follow everything and copy the icon to my application folder after installation is done. however, when i open my applications folder to use it, it has a weird "do not enter" logo instead of the reg
-
Upgrading Mail Database stuck after Migration/Yosemite upgrade
Decided to move a user profile from my old iMac with Mac OS X 10.7.5 to a newer MacBook Pro with 10.10.2. Everything seems to have moved over just fine except Mail. I have what looks like a frozen status bar for the last day that says "Upgrading your