I have two service names defined in a tnsnames.ora file and an encryption scheme in sqlnet.ora.
I'm using oracle instantclient, SQL*Plus 11.2 to connect to an Oracle9i server and an Oracle 11g.
I can connect to the 11g database, but get the error below when trying to connect to 9i.
ERROR:
ORA-12645: Parameter does not exist.
How can I specify the sqlnet.ora to be used only for the 11g connection?
Edit: Adding sqlnet.ora file. My understanding to make sure connection is encrypted is to set the client parameter to requested/require. But, anything other than reject yields the above error when connecting to 9i.
SQLNET.ENCRYPTION_CLIENT=rejected
Connection to 9i successful, but I want encryption on the 11g connection!
Related
Using SQLPLUS 18c on windows 10pc, which has Oracle XE 18c
get invalid password response when try to connect to 19c EE on ODA
TNSPING reached the 19c database
Using same account and password from SQL developer on same PC,
I can connect to the 19c database on the server.
thanks
tried sqlplus uid/pwd#my19cdb
get invalid uid/pwd message
tried tnsping my19cdb works
tried connecting through SQLDEVELOPER and it works
The password in the .bat file I was using to initiate sqlplus had special characters and these were not quoted properly. When i change the password to have no special characters, it worked fine. So Jeff had the right answer.
I created db-link on ADW based on OCI to private endpoint (without wallet) to Oracle DB 11.0.2 and I get error like: ORA-28040: No matching authentication protocol
I tested the same solution on Oracle Database 19c based on OCI, create db-link to Oracle DB 11.0.2 and I get NO ERROR and db-link is working ok.
ADW and Oracle Database 19c have the same DB Version.
Why ADW has error while Oracle DB 19c get no erro?
What can I do on ADW to connect with Oracle DB 11.0.2?
Edit1:
'11.0.2' -- There is 11.2.0.1.
Oracle 19c on tradition install on Linux instance on OCI - and it's working. ADW on OCI - has error.
While connecting Oracle 18c using oracle 10g I am getting error like
"ORA-28040: No matching authentication protocol exception".
I can able to connect "SQL DEVELOPER" but not able to connect "Command prompt"
It is not possible, see Client / Server Interoperability Support Matrix for Different Oracle Versions (Doc ID 207303.1)
Even if you set SQLNET.ALLOWED_LOGON_VERSION_... the connection will most likely fail with another error.
Oracle documentation says:
Connections to Oracle Database from clients earlier than release 10g fail with the error ORA-28040: No matching authentication protocol.
Starting with Oracle Database 18c, the default value for the SQLNET.ALLOWED_LOGON_VERSION parameter changes from 11 in Oracle Database 12c (12.2) to 12 in Oracle Database 18c. The use of this parameter is deprecated.
SQLNET.ALLOWED_LOGON_VERSION is now replaced with the SQLNET.ALLOWED_LOGON_VERSION_SERVER and SQLNET.ALLOWED_LOGON_VERSION_CLIENT parameters. If you have not explicitly set the SQLNET.ALLOWED_LOGON_VERSION_SERVER parameter in the upgraded database, then connections from clients earlier than release 10g fail with the error ORA-28040: No matching authentication protocol.
See if it helps.
In 18c the default minimum version has been changed from 11 to 12 and SQLNET.ALLOWED_LOGON_VERSION is deprecated and replaced with SQLNET.ALLOWED_LOGON_VERSION_SERVER and SQLNET.ALLOWED_LOGON_VERSION_CLIENT
set
SQLNET.ALLOWED_LOGON_VERSION_SERVER=10
SQLNET.ALLOWED_LOGON_VERSION_CLIENT=10
in your sqlnet.ora and reload listener lsnrctl reload
I'm using Oracle 19c. I have tested the connection by the commands "ping [ip]" and "tnsping", and both were successfully connected. Now, I want to connect to the Oracle developer from a client, and it is not be able to connect.
When I was using Oracle 12c, there was no such a problem. I really don't know what's going wrong here.
I am able to connect to database using sqlplus /nolog but SQL Developer throws the below error when I connect to it
here are my configuration in tnsnames.ora
and listener.ora
SQL /nolog does not connect to database.
If you are able to connect using conn then need to see parameter passed while connecting database in SQL developer
Which connection type are you using while connecting using SQL developer?
Are you having multiple oracle homes on the server if yes then check which home you are pointing to.