1. 程式人生 > >oracle12c中的ORA-28040

oracle12c中的ORA-28040

which should network serve raised 添加 was required log

用客戶端連接oracle12c服務器端時,經常會遇到ORA-28040的報錯提示。

ORACLE官方對ORA-28040的報錯提示的解釋:

oracle12c@oracle-ora12c$oerr ora 28040
28040, 0000, "No matching authentication protocol"
// *Cause: There was no acceptable authentication protocol for
// either client or server.
// *Action: The administrator should set the values of the
// SQLNET.ALLOWED_LOGON_VERSION_SERVER and
// SQLNET.ALLOWED_LOGON_VERSION_CLIENT parameters, on both the
// client and on the server, to values that match the minimum
// version software supported in the system.
// This error is also raised when the client is authenticating to
// a user account which was created without a verifier suitable for
// the client software version. In this situation, that account‘s
// password must be reset, in order for the required verifier to
// be generated and allow authentication to proceed successfully.

在oracle12c版本中在監聽中引入了允許連接的客戶端和服務器端的最低版本信息,可以在$ORACLE_HOME/network/admin/sqlnet.ora文件中添加以下信息解決該問題:

SQLNET.ALLOWED_LOGON_VERSION=8

oracle12c中的ORA-28040