Home » RDBMS Server » Networking and Gateways » ORA-12641 (instantclient_21_1 Linux kerberos)
ORA-12641 [message #685244] Mon, 22 November 2021 09:02
Messages: 82
Registered: October 2014

I'm trying to connect from a redhat linux to an oracle database via kerberos authentification.
I can obtain a valid kerberos ticket via (I've replaced the credentials with placeholders for privacy reasons)
$ echo -n '<password>' | kinit <user> 
$ klist
Ticket cache: FILE:/tmp/krb5cc_1021_dTZKCn
Default principal: <user>

Valid starting       Expires              Service principal
11/22/2021 15:44:36  11/23/2021 01:44:36  krbtgt/foo@bar.com
        renew until 11/29/2021 15:44:33
But when I try to connect to the database I get:
$ echo -n '<password>' | kinit <user>  && sqlplus /@<databasehost>:1550/<servicename>
Password for <user>:

SQL*Plus: Release - Production on Mon Nov 22 15:48:07 2021

Copyright (c) 1982, 2020, Oracle.  All rights reserved.

ORA-12641: Authentication service failed to initialize

Enter user-name:
When I try to connect from my Windows client where I'm logged in with the same account I can connect.
C:\>sqlplus /@<databasehost>:1550/<servicename>
SQLcl: Release 21.2 Production on Mon Nov 22 15:50:10 2021

Copyright (c) 1982, 2020, Oracle.  All rights reserved.

Last Successful login time: Mon Nov 22 2021 13:52:14 +01:00

Connected to: Oracle Database 12c Enterprise Edition Release - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics
and Real Application Testing options

I've no clue how to tackle this problem, and I'm quite new to setting up an oracle insta client on linux. Please help me to debug this issue.
Previous Topic: Operation Times out after 30 minutes
Next Topic: The doubt about the endpoints_listener.ora
Goto Forum:

Current Time: Wed May 29 00:09:14 CDT 2024