ORA-28040: No matching authentication protocol

Hi,

If you upgrade Oracle database from 11g to 12c or Oracle 18c, 19c, you can get this error because of Oracle Client incompatibility.

If you take ORA-28040: No matching authentication protocol 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

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]$



  

Mehmet Salih Deveci

I am Founder of 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 mehmetsalih.deveci@outlook.com.-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  mehmetsalih.deveci@outlook.com a mail atabilirsiniz.

9 thoughts on “ORA-28040: No matching authentication protocol

  • April 9, 2019 at 3:40 am
    Permalink

    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.

    Reply
  • April 28, 2019 at 6:33 am
    Permalink

    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.

    Reply
  • April 28, 2019 at 5:06 pm
    Permalink

    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

    Reply
  • May 12, 2019 at 10:12 am
    Permalink

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

    Reply
  • May 20, 2019 at 9:32 pm
    Permalink

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

    Reply
  • May 21, 2019 at 12:19 am
    Permalink

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

    Reply
  • May 21, 2019 at 12:20 am
    Permalink

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

    Reply
  • May 21, 2019 at 4:56 am
    Permalink

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

    Reply

Leave a Reply

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