on 03-31-2014 3:30 PM
Hi,
I have a connection to an external oracle 11g database in dbco. Now. I have had to change that connection because the ip has changed and once I have also changed the settings in dbco the connection seems to have problem.
Testing the connection with ADBC_TEST_CONNECTION report I get the error ora-12518.
From oracle the connection works fine. If I connect to sql plus and run the sentence conn myuser / test@mydb the result is ok. In fact the oracle db is working in productive.
Can anybody help me?
Thanks a lot.
Regards.
Hi David,
As your OS is Windows ,so first set below system environment variables :
1.Variable Value
ORACLE_SID <SID>
2.ORACLE_HOME <specify the path of your DB oracle home>
Also refer scn thread .& SAP Note 443867. After performing these steps try to use tnsping command again.
There is another transaction called dbacockpit for creating connections. What are the differences with the dbco transaction?
For the above query please refer SAP Note 1261329.( This note will help you to resolve your issue,so request to read it carefully & perform the steps specified in it.)
Hope this will help you.
Thanks,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I don't think here the issue is with number of processes!
Because it was working fine before IP change and IP is the only change that has happened (As per you).
Then it should be with your tnsnames.ora.
1) Try to ping with hostname and check whether you are able to connect to target or not (from source)
2) TNSPING your target hostname
3) Try with IP instead of hostname
4) Check DNS settings whether your hostname is resolving with new IP or not
Paste the error messages here.
Regards,
Nick Loy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nick,
when I run tnsping I get this error:
C:\>tnsping orcx
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 01-ABR-2
014 12:49:17
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Message 3511 not found; No message file for product=NETWORK, facility=TNSTNS-035
05: Message 3505 not found; No message file for product=NETWORK, facility=TNS
Could be this the problem?
If I run the command echo %ORACLE_SID% and the command echo %ORACLE_HOME%, they don't return anything.
I have runned both in the server machine and in the client.
In the services of the windows server I see the service OracleServiceORCX.
There is another transaction called dbacockpit for creating connections. What are the differences with the dbco transaction?
Thanks.
Hi David,
Share the parameter value for processes with SQL command show parameters processes.
Regards,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Please increase value of processes by 300 with command as below:
SQL> alter system set processes=300 scope=spfile;
after setting please confirm again value of processes should reflect with 300 & try to test the connection with ADBC_TEST_CONNECTION again.
Please confirm the result.
Thanks,
Gaurav
Hi David,
As you have used the command
SQL> alter system set processes=300 scope=spfile;
This requires a DB restart to have the new value effective.
You may use below command
SQL> alter system set processes=300 scope=both;
and check the results. It will not require DB restart to have new values effective.
Hope this helps.
Regards,
Deepak Kori
Hi David,
Could you bounce your DB once & will check again with SQL command show parameters processes .
Also confirm where you changed IP for the DB means reconfirm the tnsnames.ora & listener files for correct entries.
One more thing are you able to resolve the hostname of the server with IP ping for which you maintained entries under DBCO (As you've changed the IP for the DB).
Thanks,
Gaurav
Hi,
once the database restarted the value is 300 but the error is the same.
Perhaps the problem is that in dbco I reused an old connection. I have created a new one which exists in tnsnames.ora:
ORCX.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (COMMUNITY = SAP.WORLD) (PROTOCOL = TCP)(HOST = 173.18.0.57)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = ORCX)
(GLOBAL_NAME = ORCX.WORLD)
)
)
This connection works fine in oracle and in dbco I created a new connection in this way:
DB link orcx
SGBD ORA
USER myuser
pwd
con. info ORCX.WORLD
When I test this connection:
ADBC_TEST_CONNECTION
I get the error 12154
Any suggestion please?
Thanks Deepak for the help.
The problem is the same. I have decided to create a new connection in DBCO.
I have created a new one which exists in tnsnames.ora:
ORCX.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (COMMUNITY = SAP.WORLD) (PROTOCOL = TCP)(HOST = 173.18.0.57)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = ORCX)
(GLOBAL_NAME = ORCX.WORLD)
)
)
This connection works fine in oracle and in dbco I created a new connection in this way:
DB link orcx
SGBD ORA
USER myuser
pwd
con. info ORCX.WORLD
When I test this connection:
ADBC_TEST_CONNECTION
I get the error 12154
Help please.
Hi David,
Enable the trace for listener & share the results,for enabling listener trace please follow link Oracle Net Listener Parameters (listener.ora)
Thanks,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the entries in the tnsnames.ora file are correct.
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If only the target system IP address was changed and the hostname still remains the same then restart the SAP system and then check if the connection is successful. I believe the entries in the tnsnames.ora are maintained with the hostname and not with the IP address.
Also make sure that the tnsnames.ora present under TNS_ADMIN location is correct.
Regards
RB
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.