You can get ” ORA-28040: No matching authentication protocol ” error because of Oracle Client incompatibility when you upgrade Oracle database from 11g to 12c or Oracle 18c, 19c,
ORA-28040: No matching authentication protocol 19c
If you get ORA-28040 error When you connect to Oracle 19c database then change your sqlnet.ora file like below. Add these two lines to the sqlnet.ora
SQLNET.ALLOWED_LOGON_VERSION_SERVER=8
SQLNET.ALLOWED_LOGON_VERSION_CLIENT=8
[oracle@MehmetSalih ~]$ ps -ef | grep smon oracle 25167 17807 0 11:56 pts/0 00:00:00 grep --color=auto smon oracle 28385 1 0 10:31 ? 00:00:00 ora_smon_DEVECI19C [oracle@MehmetSalih ~]$ [oracle@MehmetSalih ~]$ [oracle@MehmetSalih ~]$ cd $ORACLE_HOME [oracle@MehmetSalih install]$ cd network/admin/ [oracle@MehmetSalih admin]$ [oracle@MehmetSalih admin]$ cat sqlnet.ora # sqlnet.ora Network Configuration File: /oradata/install/network/admin/sqlnet.ora # Generated by Oracle configuration tools. NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT) SQLNET.ALLOWED_LOGON_VERSION_SERVER=8 SQLNET.ALLOWED_LOGON_VERSION_CLIENT=8
SQLNET.ORA
If you change sqlnet.ora file which is under the $ORACLE_HOME/network/admin then reload your listener like below. And try to connect again.
[oracle@MehmetSalih admin]$ lsnrctl reload LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 01-MAR-2019 11:57:26 Copyright (c) 1991, 2018, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) The command completed successfully [oracle@MehmetSalih admin]$ [oracle@MehmetSalih admin]$ [oracle@MehmetSalih admin]$ lsnrctl status LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 01-MAR-2019 11:57:30 Copyright (c) 1991, 2018, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 19.0.0.0.0 - Production Start Date 01-MAR-2019 11:46:57 Uptime 0 days 0 hr. 10 min. 32 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Log File /u01/app/oracle/diag/tnslsnr/MehmetSalih/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=MehmetSalih.DeveciDomain)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=MehmetSalih.DeveciDomain)(PORT=5500))(Security=(my_wallet_directory=/u01/app/oracle/admin/DEVECI19C/xdb_wallet))(Presentation=HTTP)(Session=RAW)) Services Summary... Service "DEVECI19C.DeveciDomain" has 1 instance(s). Instance "DEVECI19C", status READY, has 1 handler(s) for this service... Service "DEVECI19CXDB.DeveciDomain" has 1 instance(s). Instance "DEVECI19C", status READY, has 1 handler(s) for this service... The command completed successfully [oracle@MehmetSalih admin]$
Do you want to learn Oracle Database Performance Tuning detailed, then read the following articles.
Performance Tuning and SQL Tuning Tutorial in the Oracle Database
Do you want to learn Oracle Database for Beginners, then Click and read the following articles.
Oracle Database Tutorials for Beginners ( Junior Oracle DBA )
I was checking your website and see you have a good design and it looks great, but it’s not ranking on Google and other major search engines.
You made some first rate points there. I looked on the web for the issue and located most individuals will go along with together with your website.
I really appreciate this post. I have been looking everywhere for this! Thank goodness I found it on Bing. You’ve made my day! Thanks again
Quality posts is the secret to attract the users to pay a visit the site, that’s what this web site is providing.|
An impressive share! I have just forwarded this onto a colleague who has been conducting a little homework on this. And he in fact bought me lunch simply because I discovered it for him… lol. So let me reword this…. Thanks for the meal!! But yeah, thanks for spending the time to talk about this matter here on your blog.|
Keep on writing, great job!|
I just like the valuable information you supply for your articles. I will bookmark your blog and check again right here regularly. I’m relatively sure I will be told many new stuff proper here! Best of luck for the following!|
My brother recommended I may like this web site. He was totally right. This put up truly made my day. You can not believe just how a lot time I had spent for this info! Thank you!|
You are so cool! I do not think I’ve read through a single thing like this before. So wonderful to discover somebody with a few original thoughts on this subject matter. Seriously.. thanks for starting this up. This website is something that is required on the internet, someone with a little originality!|