Proble to connect oracle DB from Sql Developer
1st I installed fedora 13 on VirtualBox 4.1 machine and then i installed a oracle 10g(the db run correctly and listener too).
the listener paramater:
LISTENER =(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.8)(PORT=1521))
2nd in my local machine (Fedora 13 too) i installed a sql developer and when i trying connect to oracle on virutal machine i recived a next error
using connection Basic:Status: Failure -Test failed: IO Error: The Network Adapter could not establish the connection.
the parameter i settings are:
connection name:XXXX
username name:user_created
password:XXXX
Hostname = 10.0.0.8
port = 1521
SID = the_same_of_database
i can make ping well to the virtual machine.
using connection TNS: Status: Failure -Test failed. Required property 'hostname' is not set on the DatabaseProvider.
But i don't know where is the tnsnames file for sql developer.
i don't know if i have to install any JDBC for sqldeveloper.
i can't make tnsping because on my local machine i don't have installed.
Hi, excuse me, but mi trouble come from my listener.ora,
Help me please, my listener settings is:
Listener
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = ipc)(KEY = PNPKEY))
(ADDRESS = (PROTOCOL = tcp)(HOST = fe13oracle01.localdomain)(PORT = 1521))
) #AFTER I RAN THE LSNRCTL START THOSE parentheses WAS BECAMED RED
) #AFTER I RAN THE LSNRCTL START THOSE parentheses WAS BECAMED RED
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = MY_SID)
(ORACLE_HOME = /opt/app/oracle/product/10.1.0/db_1)
(SID_NAME = MY_SID)
(PROGRAM = extproc)
lsnrctl start:
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 16-JAN-2012 23:29:28
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
The command completed successfully
[oracle@fe13oracle01 ~]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 16-JAN-2012 23:29:36
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /opt/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /opt/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
Log messages written to /opt/app/oracle/product/10.1.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fe13oracle01.localdomain)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 16-JAN-2012 23:29:36
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
Listener Log File /opt/app/oracle/product/10.1.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fe13oracle01.localdomain)(PORT=1521)))
Services Summary...
Service "MY_SID" has 1 instance(s).
Instance "MY_SID", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Tnsnames:
PROPHET =
(DESCRIPTION_LIST =
(ADDRESS = (PROTOCOL = tcp)(HOST = 10.0.0.8)(PORT = 1521)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = MY_SID)
On my (ORACLE_SID =) on my .bash_profile i put sid_name UPPER, i don't know if that point has any influences
Similar Messages
-
I have problem to connect oracle DB with SQL developer
I try connect to my oracle db with oracle SQL developer and received that message:
http://ioj.com/v/camkp
(pictures 1 and 2)
if i try connect with sql plus, all well.
command : select userenv('LANGUAGE') from dual; result: Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> select userenv('LANGUAGE') from dual;
*USERENV('LANGUAGE')
RUSSIAN_RUSSIA.CL8MSWIN1251*
in SQL DEVELOPER: (picture 3)
check\uncheck "Skip NLS Settings", nothing changed.
what the issue is?Then apparently it's still not getting the OS settings right; try to add these to \sqldeveloper\bin\sqldeveloper.conf (maybe region is enough):
AddVMOption -Duser.language=en
AddVMOption -Duser.country=US
AddVMOption -Duser.region=USHope that helps,
K. -
Issue when connecting to database from SQL Developer tool
Hi,
I was trying to connect to a remote oracle database 10.2.0.5 (hosted at window 2008 R2 server) from my local SQL Developer tool.
When setting up connection in SQL Developer tool, I was able to connect to the database by selecting TNS (Network Allias).
However, it does not work when I choose Basic type with the same information (HOST, PORT, SID).
What is the difference between TNS and Basic setting option? Please advise and assist.
Thanks.
Regards,
JiaHi JimSmith,
Thanks for reply.
TNS entry as below:
ORCL_DB =
(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 91.198.252.83)(PORT = 1521)) )
(CONNECT_DATA = (SID = orcl) (SERVER = DEDICATED) ) )
It works fine if I choose TNS (Network Allias: ORCL_DB).
For the Basic setting:
Hostname = 91.198.252.83
Port = 1521
SID = orcl
The error I received when connecting to db based on Basic option is Failure -Io exception: The Network Adapter could not establish the connection.
Below are the entries of SQLnet.ora. Any entry should I add into sqlnet.ora?
SQLNET.AUTHENTICATION_SERVICES= (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
Appreciate your comment.
Thanks.
Regards,
Jia -
Not able to connect Oracle DBXE from sql*plus client
Hi,
I have installed Oracle 10gXE from oracle site. i have updated the tnsnames.ora also
but when i try to connect the db through sql*plus client, i am redirected to .net debugger.
Pls help me in this,
Thanks in advance.
-- RajaHello,
Can you clarify what you are trying to connect from? If it's B1 ( one ) then post to the [B1 forum|http://forums.sdn.sap.com/index.jspa#44].
Otherwise need more info on the product you are using?
Typically the Oracle Path must be in the PATH statement as well it requires the correct platform ( 32 or 64 ) bit client installed.
Most BOE/CR products are 32 bit so you need to install the 32 bit client.
Don -
Error connecting oracle 11g through SQL Developer
i am using SQL Developer to connect to oracle 11g which is installed to another machine in same network
means i am using a client machine to get connected to oracle installed to host machine through SQL Developer
iam getting this error
network adapter could not establish the connection
vendor code 170002
my listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = his-zoheb.PCSTECH.COM)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
my tnsnames.ora
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = his-ansari.pcstech.com)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
iam not understanding what is problem
please somebody helpI would say it's vendor code 17002 (not 170002). And such a message is thrown by SQL Developer , unfortunately very generic for any kind of connection problems.
Start sqlplus and try to connect, very likely you get a better error message.
Recently I had such a connection problem and the reason was - No Listener.
Werner -
Cann't connect to apex from sql developer
Platform: win8.
XE and SQL Dev work properly.
Connecting under XE database user "system" (it doesn't matter, the result will be the same).
Trying to connect to "localhost-1521-xe" I get
Status : Failure -Test failed: ORA-00604: error occurred at recursive SQL level 1
ORA-12705: Cannot access NLS data files or invalid environment specified
Trying to connect to "local/bequeath" I get
Status : Failure -Test failed: C:\oraclexe\app\oracle\product\11.2.0\server\bin\ocijdbc11.dll: Can't load IA 32-bit .dll on a AMD 64-bit platformJari's right. Also see the following for more information;
Connect apex.oracle.com workspace schema using a developer tool
Kofi -
Want to connect Oracle 11g from SQL Navigator on Windows
Hi brothers,
I'm a new ora man, and having a issue need your help.
I installed Ora 11g on linux (Ubuntu 8.10) and SQL Navigator 11g on WindowsXP. Now, I want to use SQL Navigtor to connect database server. I tried many times but it still fails with me. I read some articles on Internet but they were not useful to me.
Here is some information about my system.
Linux : 192.168.0.82
Windows : 192.168.0.230
(+I can ping from Windows to Linux+)
$ lsnrctl stat
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 03-APR-2009 16:18:15
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 03-APR-2009 08:33:41
Uptime 0 days 7 hr. 44 min. 34 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /u01/app/oracle/diag/tnslsnr/kimngoc-desktop/listener/alert/log.xml
Listening Endpoints Summary...
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=kimngoc-desktop)(PORT=1521)))+
Services Summary...
Service "intrepid" has 1 instance(s).
Instance "intrepid", status READY, has 1 handler(s) for this service...
Service "intrepidXDB" has 1 instance(s).
Instance "intrepid", status READY, has 1 handler(s) for this service...
Service "intrepid_XPT" has 1 instance(s).
Instance "intrepid", status READY, has 1 handler(s) for this service...
The command completed successfully
$ps -afe | grep -i listener
oracle 5383 1 0 08:33 ? 00:00:00 /u01/app/oracle/product/11.1.0/orasample/bin/tnslsnr LISTENER -inherit
oracle 19705 6600 0 16:23 pts/0 00:00:00 grep -i listener
Pls help solve this problem if you can.download SqlDeveloper from OTN.
it allows you to connect to remote databases without extra drivers
BTW, there is a SqlDeveloper forum here on OTN, might be helpful
SQL Developer -
Hi Oracle Cloud Gurus,
I have signed up for Oracle Database Cloud Service Trial and activated the same. I am able to login to Apex applications, SQL Workshop etc but not able to connect from SQL*Developer on my local m/c.
I configured the "Cloud Connection" by giving the provided username, password and URL. When I try to connect, I get the error - "HTTP/1.1 302 Found". Any ideas how to resolve this ?
Here is the complete error stack:
oracle.dbtools.raptor.cloud.auth.AuthenticationFailedException: HTTP/1.1 302 Found
at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:162)
at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.authenticate(BasicAuthenticationEngine.java:63)
at oracle.dbtools.raptor.cloud.auth.basic.GUIBasicAuthenticationEngine.authenticate(GUIBasicAuthenticationEngine.java:26)
at oracle.dbtools.raptor.cloud.connection.ConnectionCreator.createConnection(ConnectionCreator.java:24)
at oracle.dbtools.raptor.cloud.connection.CConnections$C.getConnection(CConnections.java:39)
at oracle.dbtools.raptor.cloud.connection.CConnections.getConnection(CConnections.java:176)
at oracle.dbtools.raptor.cloud.navigator.CloudConnection.openConnectionImpl(CloudConnection.java:127)
at oracle.dbtools.raptor.cloud.navigator.CloudConnection.getConnection(CloudConnection.java:89)
at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:74)
at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:38)
at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:554)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: HTTP/1.1 302 Found
at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationHandler.handleError(BasicAuthenticationHandler.java:250)
at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationHandler.handleError(BasicAuthenticationHandler.java:24)
at oracle.dbtools.raptor.cloud.connection.CloudHander.handleResponse(CloudHander.java:38)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:945)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:910)
at oracle.dbtools.raptor.cloud.connection.DefaultClient.executeRequest(DefaultClient.java:96)
at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:153)
... 17 moreCan you please post some of the values you are using to connect to your Schema Service? (please redact the hostname URL for security purposes)
You can also follow this tutorial:
Data Loading and the Oracle Database Cloud Service
Format is usually:
username used to sign up
password giving at sign up
Service Instance URL -
Failure to connect to 11G XE from Sql Developer
Hi Gurus,
I have been trying for more than a week to make this work. Basically I am trying to install XE database 11.2.0 on my windows 7 64 bit computer.
I have had problems with the getting the listener up , finally managed to get it up by deleting the Oracle_home and reinstalling 11g XE.
Changed the listener.ora file to include the sid XE - restarted th listener so now its working.
-- I am able to start the instance from command prompt as
SQL> conn / as sysdba
Connected.
SQL> startup
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1388352 bytes
Variable Size 620757184 bytes
Database Buffers 444596224 bytes
Redo Buffers 4591616 bytes
ORA-00205: error in identifying control file, check alert log for more info**
When I checked the log files here are the details
from C:\Oracle11XE\app\oracle\diag\rdbms\xe\xe\alert
<txt>ORA-00210: cannot open the specified control file
ORA-00202: control file: 'C:\ORACLE11XE\APP\ORACLE\ORADATA\XE\CONTROL.DBF'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
</txt>
Please let me know how I can resolved this issue. The eventual goal is to get the database up and running and be able to conenct from Sql Developer installed on the same machine.
any help will be greatly appreciated.
Here are some details
tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <Cumputername>)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = 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)
listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = XE)
(ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = <ComputerName>)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
lsnrctl status result
LSNRCTL> status
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 30-JAN-2013 11:35:47
Uptime 0 days 0 hr. 0 min. 13 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\Oracle11XE\app\oracle\product\11.2.0\server\network
\admin\listener.ora
Listener Log File C:\Oracle11XE\app\oracle\diag\tnslsnr\ZaidHP\listener\
alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ZaidHP)(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 "XE" has 1 instance(s).
Instance "XE", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Thanks
Edited by: user12026382 on Jan 30, 2013 10:57 AMHi clcarter
Thanks for your input. I actually did a complete de-install and re-install.
The two things I did differently this time was
1. Delete any ORACLE_HOME or ORACLE_SID variables that were existing and just to make sure check from cmd> set ORACLE_HOME - should return not defined.
(This I found at a different forum)
2. Run the setup (as administrator) this time.
And you guessed it.. It worked. I was able to login to the database. Also could go to the database home page.
Thanks for your inputs.
On a side note.. since I am new to forums, I wanted to know how you quote things in the grey area as you did when you replied 'ORA-00205: error in identifying control file, check alert log for more info'. -
Could not connect to a DATABASE with localhost as Hostname from SQL develop
I am not able to connect to any Database from SQL Developer by providing "localhost" as Hostname. I could able to connect by providing the IP(192.168.1.50) of the system.
The problem here is If I am out of internet, My system does not have IP, So I am not able to connect to DB
But I need to submit a project wheere I will not have any internet. Could you please let me know how to connect to DB using localhost
Following are the listener.ora and tnsnames.ora files.
listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
=============================
tnsnames.ora
# tnsnames.ora Network Configuration File: D:\oracle\product\10.2.0\db_2\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORA9 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ora9)
ORA8 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ora8)
EMP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = emp)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Thanks in advance,
SriniOracle always uses DNS.
DNS consults the local host file.
Try in a command box
ping localhost
This should work.
If this doesn't work you need to edit
%WINDOWS%\'systems\drivers\etc\hosts
The first line needs to read
127.0.0.1 localhost
Sybrand Bakker
Senior Oracle DBA -
Error while connecting database from SQL developer
Hello experts,
i have installed oracle 11g R2 database on WIN32 platform, and my database is working in sql plus but while connecting the same via sql developer am getting the following error:
NO more data to read from socket
Vendor code 17410
Kindly suggest.
Regards,
KKI have restarted the listener service but still getting the same in sql dev
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 05-JAN-2013 21:56:29
Uptime 0 days 0 hr. 2 min. 44 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File d:\app\Karan\product\11.2.0\dbhome_1\network\admin\lis
tener.ora
Listener Log File d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log.
xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "OIMDB" has 1 instance(s).
Instance "OIMDB", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL> stop
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
The command completed successfully
LSNRCTL> start
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
System parameter file is d:\app\Karan\product\11.2.0\dbhome_1\network\admin\list
ener.ora
Log messages written to d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log.xm
l
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
ipc)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 05-JAN-2013 21:59:45
Uptime 0 days 0 hr. 0 min. 6 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File d:\app\Karan\product\11.2.0\dbhome_1\network\admin\lis
tener.ora
Listener Log File d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log.
xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "OIMDB" has 1 instance(s).
Instance "OIMDB", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL>
Edited by: 958122 on Jan 5, 2013 9:59 PM -
Connect from SQL Developer to several SQL Server instances
Our SQL Server has more than one instance, but I see only one instance of them trying to connect from SQL Developer 1.2 to SQL Server. How I should define the connection information? Usually we connect to SQL Server by <hostname>/<instancename> and then the database name as CatalogName (Initial Catalog). In the Oracle world you can give only the hostname, a port number and the database name. How I can convince the SQL Developer to choose one of our SQL Server instances?
Hi user627927,
Bug/Enhancement request already logged.
We have not got this configuration in house, two people have suggested workarounds but we are unable to test them for now. The last person was unable to get these workarounds working, and we have not confirmed them in house.
Can you get the instances connected through two different ports?
It would be great if you could confirm either workaround.
-Turloch
*1/Suggestion 1 change the URL through SQLDevelopers xml connection store.
*2/Overload the port field to have instance in the eventual url
*1/Suggestion 1 change the url through SQLDevelopers xml connection store.
[Note it is probably simpler to connect a dummy connection through the connection dialog as usual save it (you cannot connect) and then add the instance information rather than having to enter all the information in an unmanaged way.]
Hi Naveen,
I had same problem as you and user579801. I managed to resolve it by doing the following.
1. Locate the file called IDEConnections.xml in the folder where you have installed SQL Developer (eg. c:\sql developer\sqldeveloper\system\oracle.jdeveloper.db.connection.11.1.1.0.11.42.62).
2. Create the following entries under <connections> tag.
<connection>
<URL>jdbc:jtds:sqlserver://\\.\;namedPipe=true;instance=SQLDBNam;</URL>
<ConnectionName>SQLServer</ConnectionName>
<user>SQLUser</user>
<ConnectionType>JDBC</ConnectionType>
<DeployPassword>false</DeployPassword>
<JdbcDriver>net.sourceforge.jtds.jdbc.Driver</JdbcDriver>
<RaptorConnectionType>Microsoft SQL Server</RaptorConnectionType>
</connection>
3. Save the file; Close and re-open the SQL Developer and try connecting.
Hope this will solve your problem. Good luck.
Regards
Raja
*2/Overload the port field to have instance in the eventual url
This took some figuring out but I cracked it in the end....
SQLServer tab:
Hostname: <servername>
Port: <portnumber>/<databasename>;instance=<instancename>
so for me the Port field looks like this: 1433/Gaffa;instance=SQL01
That should now connect to a named instance SQL Server.
Paul Fairhurst -
How do I migrate views from MS SQL 2008 to Oracle 11g through SQL Developer
Is there any way to migrate the views from MS SQL 2008 to Oracle 11g through SQL Developer? Please give me some detail steps. Thanks for your help.
KevinHi Kevin,
user13531850 wrote:
Hi Turloch,
When I use migrate to oracle, I got a problem, the migrate tool create a new schema for me in my case (AZTECA_KSMMS), it migrates all the stuffs under that schema (AZTECA_KSMMS). However my application need the all the Oracle data under schema AZTECA instead of AZTECA_KSMMS. Is there any way to specify specific schema (AZTECA) for target oracle database? Schema remapping is available:
First Capture (separately) then during right click convert on the captured model there is a Specify the conversion options with a Object Naming tab where the schema (and other) name changes are editable.
I have not used this recently.
Also during the migration process, when I choose repository, there is a check box for truncate to reset repository to empty state, Do I need to check that truncate Check Box so the repository will be cleared from last migration?The repository can hold multple migration attempts. Check truncate to get rid of previous attempts information. This cleans up the repository - not the destination database.
There are also online database and offline database options during the migration process, what are the difference between these two choices? After I migrated to Oracle, all my views has a red cross icon next to it. Does that mean the view migration is failed or not? Please give me your comments. Thanks for your help.offline: for big (amount of data) databases with simple data types,
uses bcp + files + scripts + sqlldr.
online: for small (amount of data) databases (easier),
uses (Java) jdbc.
The view is likely to be broken - recompiling it may help.
The Oracle schema is created using a .sql file - see under generated in the directory you gave originally in the wizard. There is a .out file that contains the result of running this script including any errors. During conversion there are also likely to be warnings displayed on the UI.
There may be a single issue that is causing multiple issues - if viewa depends on functionb, and functionb is broken, viewa will also fail.
>
Kevin-Turloch
SQLDeveloper Team -
Able to connect from SQL-Assistant BUT unable to connect from Sql Developer
Hello,
I have been troubling with this issue for the last two weeks...tried so much, but could not able to resolve....
sqlplus username/password@IPAddress:port/ServiceName
I am able to connect to DATABASE from SQLAssistant only when I provide string like ABOVE........If I dont mention the SERVICE, m unable to connect to DB...
Now the biggest issue is with SQL Developer.....m not at all able to connect to DB using SQL Developer....I tried all options...but no use...
waiting for your reply......
Thanks Much in Advance.....What have you tried, and what error messages are you getting?
When you create a connection in SQL Developer, you should specify IPAddress,port,ServiceName as in your sqlplus connect string. -
Connect to Oracle database from SQL Sever
Can you help on an issue of connection from SQL Server to Oracle database:
In SQL Server, I create a "linked server" to connect to Oracle database on a different machine. But it will take a unreasonable time (about 30 seconds) to call a Oracle query from SQL Server.No there are no entries required in the TNSNAMES.ORA
When you are using ODBC for connection, Oracle does not look fo rany enteries in TNSNAMES.ORA file.
Now I am able to connect to both SQL Plus and Forms 6i. But while connecting to SQL Plus its giving an error
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
Server not available or version too low for this feature
Connected to:
Oracle Open Client Adapter for ODBC 6.0.5.35.0
Microsoft SQL Server 08.00.0534
Also while disconnecting the Windows Program Error comes, and the application closes abruptly.
Maybe you are looking for
-
BI IP Executing planning sequence via process chain not possible
Hi, we use BI IP and have defined a process chain (RSPC) with value type process planning sequence. When we execute it, we get error message "Inconsistent input parameter (parameter: <unknown>, value <unknown>)" When we execute this planning sequence
-
Creation of CAPI Definition fails
Within Headstart Utilities the creation of all CAPI Definitions fails with Error Messages "Activity aborted with ORACLE internal errors" and "ORA-06508: PL/SQL: could not find program unit being called". It seems that this caused due package hsu_capc
-
[SOLVED] Conky, LM-sensors and hwmon
Hi, I used the guide found at the forum thread http://bbs.archlinux.org/viewtopic.php?id=43397 (post #4) to get my GPU and CPU temperature shown in conky by using LM-sensors. It all works fine, except for a single little error... My conky-setup for t
-
I can't get 10.6 version of Itunes to open?
I can't get 10.6 version of Itunes to open?
-
Firefox won't accept some of the addresses I want to be allowed in my outlook mailbox
I have some address in my outlook express mail box that I want firefox to let through and open the website but firefox won't let it come through how do I fix this problem so that I can use these websites