Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-12641: Authentication service failed to initialize

User_55NJBApr 16 2021

Hello.
I wonder if someone can help me.
I am trying to connect using SQLplus + Kerberos + Red hat and I am getting the following error:
ORA-12641: Authentication service failed to initialize
My credential cache is confirmed good as I have tested it on my Windows machine using SQL developer.
I enabled tracing and it looks like the connection is failing here:

nam_gnsp: Reading parameter "sqlnet.kerberos5_conf" from parameter file
(4160644544) [16-APR-2021 12:03:14:039] nam_gnsp: Found value "/etc/krb5.conf
(4160644544) [16-APR-2021 12:03:14:039] nam_gbp: Reading parameter "sqlnet.kerberos5_conf_mit" from parameter file
(4160644544) [16-APR-2021 12:03:14:039] nam_gbp: Found value "TRUE"
(4160644544) [16-APR-2021 12:03:14:039] nauk5lg_init_krb5: Error reading kerberos config file.
(4160644544) [16-APR-2021 12:03:14:039] nauk5ainit: nauk5lg_init_krb5() failed.
(4160644544) [16-APR-2021 12:03:14:039] nauk5ainit: failed
(4160644544) [16-APR-2021 12:03:14:039] nauk5ainit: exit
(4160644544) [16-APR-2021 12:03:14:039] nau_gse: service initialization function failed
(4160644544) [16-APR-2021 12:03:14:039] nau_gse: failed with error 12641

The /etc/krb5.conf file exists and I have also tested this exact file on my Windows machine with SQL developer and it works fine. The permissions are also good on the file.

Does anyone have any ideas?

Any help would be appreciated.

Comments
Post Details
Added on Apr 16 2021
0 comments
3,728 views