ORA-28040: No matching authentication protocol

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 )

 

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

10 comments

  1. 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.

  2. 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.

  3. 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

  4. Quality posts is the secret to attract the users to pay a visit the site, that’s what this web site is providing.|

  5. 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.|

  6. Keep on writing, great job!|

  7. 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!|

  8. 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!|

  9. 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!|

Leave a Reply

Your email address will not be published. Required fields are marked *