ORA-12154:Can connect oracle in CGI!
I use such code to connect oracle , in shell
its work fine. but in Apache run as a CGI,
ORA-12154 occer. I have set the var such as ORACLE_HOME, etc.
olg(&lda,(ub1 *)hda,"scott/tiger@to195",...)
anything others i need do ?
I use such code to connect oracle , in shell
its work fine. but in Apache run as a CGI,
ORA-12154 occer. I have set the var such as ORACLE_HOME, etc.
olg(&lda,(ub1 *)hda,"scott/tiger@to195",...)
anything others i need do ?
Similar Messages
-
TNS error ORA-12154 : can connect to one server but not to another.
Hello,
I have a Forms 6.0 application running on a Solaris box. It connects
fine to an Oracle 9.0 server but fails with ORA-12154 when trying to
connect to Oracle 10g running on a different server.
'sqlplus' can connect fine to both servers .
'tnsping'result is succesful from the Solaris client to both servers.
Configuration details are as follows. (IP Addresses have been
sanitised. I've included the client side listener and also entries for
the 'local' Oracle 8i server running on the Solaris 'client' although
I think some of this may be not relevant):
1. Connecting to Server 9.0 : application CAN connect successfully:
a. application URL
http://host_ip_address:7778/dev60cgi/if60cgi?config=rack : application
runs successfully
b. client's formsweb.cfg excerpt:
[rack]
pageTitle=yadayada
form=login01
userid=user/pass@nn_rackspace
archive=f60all.jar, oracle_ice-4_03_1.jar
c. client's tnsnames.ora excerpt (local services not excluded):
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sun1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
RR =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sun1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = RR)
NN_RACKSPACE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 1.2.33.44)(PORT =1521))
(CONNECT_DATA =
# (SERVER = DEDICATED)
(SERVICE_NAME = QQ1.QONNECTIS.COM)
NN_QQ3 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(CONNECT_DATA =
# (SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
NN_QQ3.qonnectis.com =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(CONNECT_DATA =
# (SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
d. client's sqlnet.ora: contains ONLY:
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
e. client's listener.ora excerpt:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /space/oracle/OraHome1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /space/oracle/OraHome1)
(SID_NAME = orcl)
(SID_DESC =
(GLOBAL_DBNAME = NN)
(ORACLE_HOME = /space/oracle/OraHome1)
(SID_NAME = NN)
(SID_DESC =
(GLOBAL_DBNAME = RR)
(ORACLE_HOME = /space/oracle/OraHome1)
(SID_NAME = RR)
f. remote server's tnsnames.ora excerpt:
QQ1.QONNECTIS.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = qanasta1.qonnectis.com)
(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = QQ1.qonnectis.com)
QQ1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)
(HOST = qanasta1.qonnectis.com)
(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = QQ1)
QQ3.QONNECTIS.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl.qonnectis.com)
g. remote server's sqlnet.ora contains only:
NAMES.DEFAULT_DOMAIN = qonnectis.com
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
h. remote server's listener.ora excerpt:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)
(HOST =qanasta1.qonnectis.com)
(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = QQ1.qonnectis.com)
(ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
(SID_NAME = QQ1)
i. on Solaris client, tnsping nn_rackspace : succeeds
j. on Solaris client, sqlplus user/pass@nn_rackspace: succeeds
k. on server, Oracle server processes have names like ora_d000_QQ1.
l. on server, Oracle connected listener processes show up in ps
listing like oracleQQ1 (LOCAL=NO)
m. On server, lsnrctl status reports amongst other things
Service "QQ1.qonnectis.com" has 2 instance(s).
Instance "QQ1", status UNKNOWN, has 1 handler(s) for this service...
Instance "QQ1", status READY, has 1 handler(s) for this service...
2. Connecting to Server 10g : application does NOT connect successfully:
a. application URL
http://host_ip_address:7778/dev60cgi/if60cgi?config=rack2
b. client's formsweb.cfg excerpt:
[rack2]
pageTitle=yadayada
form=login01
userid=user/pass@nn_qq3
archive=f60all.jar, oracle_ice-4_03_1.jar
c. client's tnsnames.ora excerpt (local services not excluded):
-as above-
d. client's sqlnet.ora: contains ONLY:
-as above-
e. client's listener.ora excerpt:
-as above-
f. remote server's tnsnames.ora excerpt:
# default sid 'orcl' : for local access
orcl =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
# QQ3_Vlan : default sid 'orcl' : access over 10. private net from qq1
QQ3_VLAN =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.99.99.99)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
# nn_qq3 : default sid 'orcl' : access from external sites by public
# external IP - specifically sun admin dba tool in twx
NN_QQ3 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
g. remote server's sqlnet.ora contains only:
NAMES.DIRECTORY_PATH= (TNSNAMES)
NAMES.DEFAULT_DOMAIN = qonnectis.com
h. remote server's listener.ora excerpt:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/OraHome_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /u01/app/oracle/OraHome_1)
(SID_NAME = orcl)
i. on Solaris client, tnsping nn_qq3 : succeeds
j. on Solaris client, sqlplus user/pass@nn_qq3: succeeds
k. on server, Oracle server processes have names like ora_d000_orcl .
l. on server, Oracle connected listener processes show up in ps
listing like oracleorcl (LOCAL=NO)
m. On server, lsnrctl status reports amongst other things
Service "orcl" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this
service...
Service "orcl.qonnectis.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
As you can see, I have tried adding an alias for the default domain
name suffix '.qonnectis.com' in the tnsnames.ora files on the solaris
client and on the new 10g server.
Just to add to the fun, the 'new' server running Ora 10g CANNOT connect
to the old server running Ora 9:
sqlplus user/pass@nn_qq3
sqlplus user/pass@nn_qq3.qonnectis.com both fail.
While the old 9.0 server CAN connect to the new 10g one:
sqlplus user/[email protected] succeeds.
Sorry this is such a mess. TBH I find this whole area extremely
confusing.
All suggestions welcome. Unfortunately I am away on holiday next week
but will follow up any leads when I get back.
thanks!
Victor Churchill.Hi DianeinBirmingham,
Welcome to the Apple Discussions
The Log goes further
Chat ended with error -8
Video Conference Error Report:
Video Conference Support Report:
Video Conference User Report:
Binary Images Description for "iChat":
This bit suggests the ports are not open.
Intermittent success like this And the ports not being open suggests a Modem that might be SIP aware such a Thomson-Alcatel Speedtouch device.
Can you tell us what modem you have ?
7:55 PM Friday; July 13, 2007 -
ORA-12154 error connecting CR 2008 to Oracle XE on Windows 7
I have Crystal 2008 SP3 running on Windows 7. I have Oracle Database Express Edition installed and running. Using the DirectData CR Oracle ODBC Driver 5.1 I test connect fine to Oracle but when I try to use Database Expert to connect to my Oracle database I fail to connect.
The error I get is Failed to open the connection. Details: ORA-12154: TNS:could not resolve the connect identifier specified. [Database Vendor Code: 12154]. I've spent a lot of time here trolling for information. My TNSnames.ora file appears to be correctly formatted but I'm not sure if it has the correct information in it. I checked my Path and that may be the problem but I am not technical enough to know what to put there so that this 32-bit driver is the first in the list. It's the driver in Windows/SysWOW64. I just need to be able to run a SQL statement in Oracle and create RPTs in CR - not be an OS Expert. Any help would be greatly appreciated.
TNSNAMES.ORA
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Owner-VAIO)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
PATH
PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program File
s (x86)\Common Files\Microsoft Shared\Windows Live;C:\oraclexe\app\oracle\produc
t\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\W
indows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Softw
are\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)
\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Common Files\R
oxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Intuit\QBPOSSDKRuntim
e;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Windows Live
\SharedHello,
This should work, XE is not lsited in our supported platforms PDF but it's still 10.2 which is supported.
There are more tools you can use to debug, third party Connection tests and ProcessMonitor as well as our database logging dll but if you are running out of time I suggest you purchase a single case and a Rep will contact you directly to resolve the problem.
To get a single support case got to:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=38156200
And No, the ORA file should be in the that folder.
Thanks again
Don -
ORA-12154 while installing Oracle 10g on windows 7
Hi,
I am trying to install Oracle 10g express edition on my machine (core 2 duo 2.93) running on Windows 7.
The installation moves on perfectly for the 1st step and while running the 2nd step (Net configuration Assistant), it gives the ORA-12154 error.
The contents of my configuration files at this point are as follows:
Listener.ora
=============
SID_LIST_ORCL =
(SID_LIST =
(SID_DESC =
(SID_NAME = ORCL)
(ORACLE_HOME = F:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
ORCL =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
=============
And that of tnsnames.ora is:
=============
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
=============
After some googling around, I have found and installed the Microsoft Loopback adapter too (since my LAN is DHCP enabled) and also tried to turn on the firewall on my machine to check if it is not a problem with the port 1521 being blocked by the firewall.
However, even after all that I still get the error "ORA-12154: TNS:could not resolve the connect identifier specified." while running the Net configuration Assistant and/or running SQL Plus to connect to the SID - ORCL.
I can only see one service running in my services by the name : OracleOraDb10g_home1TNSListenerORCL
Any suggestions or advice on the error would be much welcome.
Is it anything related to Windows 7 ? Because I have managed to install using the same installer on another machine which runs Windows XP and everything seems fine there.
Thanking you all in anticipation.
Shreyasuser12753151 wrote:
Hmmm.. but then I'd have expected some installation error. I have read around that people have managed to install oracle on windows 7.
The error displayed seems to be indicating that there is some configuration or permissions issue.Check that the user has permission to write in the ORACLE_HOME\network\admin - UAC might be blocking that.
Install with software only, and run netca & dbca separately to create the database after the s/w install. (That's the way it is done in production anyway, so get used to it.)
But yes - you still may have problems. Those who did fake it out on Windows 7 usually understand what to do. If you are smart enough to actually do it, my hat is off to you. -
ORA-12154 in new oracle client installation (ASP applications)
Hello,
I've got a test server with an Oracle 10.2 client that has some web services running on it. They connect using the oracle client to a database in another server. Untill this morning they were working great but then I has some trouble and I had to reinstall the Oracle client again. Now I have installed once any Web Service tries to open a connection to my oracle database I get an ORA-12154.
I've tried to run (in my test server) a simple console application that opens a connection to the same database with the same connectionstring and queries a table and it works great, so I think that there might be some problem with asp.net applications or something like that....
Does somebody know how can I solve that??
Thanks in advance!after you reinstall Oracle client, run netca to configure your tnsnames again. Or if you have copy of old tnsnames.ora file put under new client ORACLE_HOME/network/admin
-
ORA-12154 when connect to Ora10 using an odbc from visual C++
Hello
I have the follong problem , I have a machine that must access to an oracle database , I have made an Odbc Conection and if I make atest there is no one problem and the test is sucessfully . My problem is when I 'm trying to access using my visual c++ program in this case I get an ORA -12154 error , using the same odbc connection that I have probe, also I have probe this program over others machines and there is no problem to access to the database . Can anyone tell me something ??
The machine is an windows XP and the programa is a Visual C++.net .Well we have find the problem , was the path of the application . this has 84 characters we have put our program in a shortest path and now works!!!!
-
ORA-12154 when connects. Instant client installed.
Hi. I am installed instant client 10.2 and cannot connect to database : give error ORA-12154: TNS:could not resolve the connect identifier specified. I am using Linux. I am set TNS_ADMIN and put into this directory file tnsnames.ora with all necessary instances, but have not no one result.
Add the following line to sqlnet.ora in the directory to which TNS_ADMIN points:
TRACLE_LEVEL_CLIENT = SUPPORT
Then try again and examine the *.trc file created. This should tell you what's wrong.
Yours,
Laurenz Albe -
Error: ORA-01722 while connecting oracle using OCCI
Please help,
I get exception 1722 ORA-01722 Invalid Number while selecting records from oracle database using simple select statement.
I have allready installed oracle 10.2.0.3.0 Patch 13 from oracle.com.
Environment: win2k3 (sp2-32 bit), Oracle 10.2.0.3.0, VC++ 2005 (VC8)
Dump of file vc8test.exe
File Type: EXECUTABLE IMAGE
Image has the following dependencies:
MSVCR80.dll
MSVCP80.dll
oraocci10.dll
KERNEL32.dll
Summary
1000 .data
1000 .rdata
1000 .rsrc
2000 .textthanx for the reply, here is the source code:
I am unable to connect to oracle, i have tried every possible combination.
i had tested using vc++ 2005 and with vc++ 6.0
The below code is tested on visual c++ 2005 and from oracle 10.2.0 client.
#include <iostream>
#include <occi.h>
using namespace oracle::occi;
using namespace std;
class occidml
private:
Environment *env;
Connection *conn;
Statement *stmt;
public:
occidml(string user, string passwd, string db)
env=Environment::createEnvironment(Environment::DEFAULT);
conn=env->createConnection(user,passwd, db);
~occidml()
env->terminateConnection(conn);
Environment::terminateEnvironment(env);
void displayAllRows()
string sqlStmt="select * from tcm_ref_city";
stmt=conn->createStatement(sqlStmt);
ResultSet *rset=stmt->executeQuery();
try{
while(rset->next()){
cout<< rset->getString(1)<<"\t"<<rset->getInt(2)<<endl;
}catch(SQLException ex){
cout<< "Exception\t"
<<ex.getErrorCode()<<"\t"
<<ex.getMessage()<<endl;
stmt->closeResultSet(rset);
conn->terminateStatement(stmt);
int main(void)
string usr="stltc";
string pass="stltc";
string db="stltc";
int xx;
cout<<"hello this is rakesh";
occidml *demo=new occidml(usr,pass, db);
demo->displayAllRows();
cin>>xx;
/*Environment *env1 ;
Connection *conn;
env1=Environment::createEnvironment(Environment::DEFAULT);
Connection conn=env1->createConnection("STLIUC", "STLIUC","IAD"); /
return 0;
****************************************************************************** -
ORA-12154 when try to connect oracle 9i with forms9i
Hi everybody,
I install oracle database 9i AS in:c:\ora9ias folder, with ora9ias database name.
and I install oracle developer suite in c:\ora9ids, and both installation were successfull.
in oracle with sql+, I connect with system/manager@ora9ias it's working,
but when I work with forms, I have this error mesage:
ORA-12154, can't resolve symbolique adresse TNS?
Thanks for your help...
best regardsIn Oracle 9i Release 2 onwards, passwords for SYS and SYSTEM are entered by you when you install Oracle 9i R2.
In order to connect to SQL Plus via Host String, e.g. ora9i
User name: sys
Password: YOUR_NEW_PASSWORD (this is he actual password that you entered when you installed Oracle 9i)
Host String: ora9i as sys -
I can't connect Oracle 7.3.2.1.0 by sqlplus anymore!
Hi!
I have an Oracle 7.3.2 for Irix installed before.
When I install Oracle 8.0.5 for Linux without Pro*C,
I can connect Oracle 7.3.2 by "sqlplus scott/tiger@remote".
But if I include Pro*C installed, I can't connect Oracle
7.3.2 by the same command anymore.
What should I do to solve this problem?
I can compile Pro*C program but get the same response :
ORA-01017: invalid username/password; logon denied
password is right for sure, server just doesn't accept.
nullMy problem is a little different from your. I have both
Oracle 7.3.2 and 8.0.4 on our Sun workstation. I can connect
to Oracle 8.0.4 using both sqlplus and embeded SQL. However,
I could not connect to Oracle 7.3.2 by sqlplus or embeded SQL.
Error Message: ORA-12545: Connect failed because target host
or object does not exist
It's is a bug or it's not support to connect to old Oracle
Version??? If anyone have a solution please let me know.
Larry Gump (guest) wrote:
: Hi!
: I have an Oracle 7.3.2 for Irix installed before.
: When I install Oracle 8.0.5 for Linux without Pro*C,
: I can connect Oracle 7.3.2 by "sqlplus scott/tiger@remote".
: But if I include Pro*C installed, I can't connect Oracle
: 7.3.2 by the same command anymore.
: What should I do to solve this problem?
: I can compile Pro*C program but get the same response :
: ORA-01017: invalid username/password; logon denied
: password is right for sure, server just doesn't accept.
null -
Error to connect oracle 10g client and designer BO 4.0
hello,
I try to connect oracle 10g client and designer BO 4.0.
I created an ODBC connection to function in the administration tools of data sources but I can not connect once in designer.
I tried using the driver directly oracle designer 10 but I have the same error that is this:
DBD: ORA-12154: TNS: connection identifier specified could not be resolved
someone there had the same concerns?
cordiallyHi,
so it looks like that your TNSNAMES.ORA file isn`t properly configured. Thats why you can connect with the IDT to your Oracle Database.
Your DBA`s should sent you the correct TNSNAMES.ORA file or the entry for your DB prior. After the tnsping works, you will be able to use the IDT properly.
Regards
-Seb. -
Connecting Oracle 11g using Oracle 10g
Hi All,
I have installed Oracle 11g (11gR2) server on a Windows 2003 (win32) machine. It is very well connecting when I tried to login to that database using the below command
sqlplus test/test@oracle11g I tried to access the same server from a different machine where only Oracle 10g client is available. I get the following error.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Please advice if we can connect Oracle 11g server using a Oracle 10g client from a different machine??
If Yes, Please advice whay am I getting the above error.
Thanks in Advance!!With respect to your suggestion, I have modified the Oracle 10g tnsnames.ora file as below, but it still throws the same error.
ORACLE11G =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = mildh0105.i-flex.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = Oracle11g)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
LISTENER_ORACLE11G =
(ADDRESS = (PROTOCOL = TCP)(HOST = mildh0105.i-flex.com)(PORT = 1521))
the LSNRCTL STATUS is as below...................
C:\Documents and Settings\Administrator>LSNRCTL STATUS
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 14-JUL-2011 12:42
:32
Copyright (c) 1991, 2010, Oracle. All rights reserved.
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 14-JUL-2011 11:42:29
Uptime 0 days 1 hr. 0 min. 8 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\app\sysfmg\product\11.2.0\dbhome_1\network\admin\li
stener.ora
Listener Log File e:\app\sysfmg\diag\tnslsnr\mildh0105\listener\alert\lo
g.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 "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "Oracle11gXDB" has 1 instance(s).
Instance "oracle11g", status READY, has 1 handler(s) for this service...
Service "oracle11g" has 1 instance(s).
Instance "oracle11g", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\Documents and Settings\Administrator> -
Error in Remote Connect Oracle with MTS Mode
I've configed my database to run MTS.
My db is 8.1.5 with x86 Unix SunOS 5.7
If I connect db through local area network, I can connect it with MTS mode.
But if I try to connect db from a remote site, I can't connect and the following error shown :
ERROR:
ORA-12545: Connect failed because target host or object does not exist
By adding a clause (SERVER = DEDICATED) in my remote client's tnsnames.ora
I can connect it.
Rgds,
Edward
The following is my configuration.
init.ora :
mts_dispatchers = "(PROTOCOL=TCP)(DISP=3)"
mts_dispatchers = "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)"
mts_servers = 1
mts_max_servers = 40
mts_max_dispatchers = 4
listener.ora :
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = QQQQdb)(PORT = 1521))
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
(ADDRESS = (PROTOCOL = TCP)(HOST = QQQQdb)(PORT = 2481))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/8.1.5)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = QQQQdb.net)
(ORACLE_HOME = /u01/app/oracle/product/8.1.5)
(SID_NAME = QQQQdb)
tnsnames.ora :
QQQQDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = QQQQdb)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = QQQQdb.net)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
nullI have run into the same problem using oracle 8.1.6.1 with redhat 6.2..
I have found out that only when I specify host ip in the mts_dispatchers the mts will work correctly..(specifying host domain name is no use)
Here is a sample of the configuration, hope that helps..
mts_dispatchers = "(address=(protocol=tcp)(host=192.168.0.1))(dispatchers=4)" -
Connecting oracle on the network
hi all, ı have searched my problem, but ı could not find it, my question is that how ı can connect oracle database which lies on another computer on the network from my computer, thanks for your responses
Hi,
In your TNSNAMES.ora file in your local machine add following info
REMOTE_SID =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = XX.XX.XX.XXX)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = remote_sid)
Replace remote_sid with your SID of the database that lies on another computer as well as Host=Your remote ip address or hostname.
Regards
Jafar -
I want to connect oracle 10g developer run time forms to oractle data base
Hey,
Would any body want to tell me, how come i can connect oracle dev 10g from its forms with oracle 10g data bases
I am waiting
byeTry asking this on the Oracle Forms forum:
http://forums.oracle.com/forums/category.jspa?categoryID=19
In any case you need to set-up a sqlnet connection from your client to your server. Use the Network Configuration Utility that comes with the Oracle Forms installation.
Maybe you are looking for
-
Enhancement not supported Nokia 6085..Headset prob...
I just bought a new headset (Nokia Music Headset - HS-20) for my nokia 6085 and it fits in perfectly and everything but after a few seconds a screen pops up and says "Enhancement not supported" Any ideas?
-
Videos from iphone to ipad
-
Haven't lost song files, but have lost playlists and want to restore!
I store my songs (2300 in total) on a NAS drive. Two days ago, it was necessary for me to detach the NAS drive from my system. When it was re-attached, for some reason it came to life with a name that was a modified version of its prior name. Consequ
-
Hello, How can I make a backup with redo log files using the following parameters? backup_type = online_cons backup_dev_type = disk_copy -->archive_function = save_delete (It could be changed. Maybe it is the source of the error) The copy is made, b
-
Why can't I view SHTML files in iOS 7?
I often receive emails with SHTML files as attachments. With iOS6 and earlier versions, these opened just fine in the Mail app. But after updating to iOS7, no dice. I'm given options to open the attachment in Dropbox or Google Drive but neither of th