RADIUS authentification

Posted on 2009-07-15
Last Modified: 2013-12-19

I'm trying to setup RADIUS authentification with Oracle 10g R2. Unfortunately, when i try to connect, i get this message:

ORA-12641: Authentication service failed to initialize

I also tried to follow this documentation:

But there is no "Oracle Advanced Security" in the choice list. Is it because it's not installed? Is there a way to install it on top of my current installation?

Question by:bomek
  • 5
  • 4
LVL 47

Accepted Solution

schwertner earned 500 total points
ID: 24858382
Look in the file $ORACLE_HOME/network/tools/NetProperties the line
contained the parameter INSTALLEDCOMPONENTS
(often it is is commented using # ).
Modify it like:


and restart netmgr

Author Comment

ID: 24866873
Thanks, it did the trick. I'm now able to configure RADIUS through netmgr. But still, when i try to login with sqlplus, i get this error: ORA-12641: Authentication service failed to initialize.
LVL 47

Expert Comment

ID: 24866947
Is it fresh installation of Oracle 10g?
What says

lsnrctl status
lsnrctl services

Author Comment

ID: 24867184
My radius.key was wrong.. After i fixed it, i got Oracle communicate with my radius server.

In my init.ora, i got those two options:

I created a user identified externally to which i granted connect role. When i'm connecting with this user, i get a logon denied from oracle and in the RADIUS log it says invalid password (i'm using the good password of course...).

My RADIUS server works fine with others services and the user i'm trying too.

And no, it's not a fresh Oracle 10g install. Our Oracle installation is on windows, how do i get the same result as "lsnrctl status"?

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

LVL 47

Expert Comment

ID: 24867375
Good news!

Author Comment

ID: 24867386
Well, no, since i'm still not able to login..

I don't know why, but Oracle is not sending the password i typed to the RADIUS server.
LVL 47

Expert Comment

ID: 24868282
Check for firewall.
Check for host name. port, protocol.

Author Comment

ID: 24868463
As i said, Oracle is able to communicate with the server (since i see the requests in the radius logs). The problem, password is always invalid. I've tried different users with very simple, normal and complicated passwords but none go through.

The radius server works perfectly with other services and with radius test tool (NTRadPing). Oracle is obviously doing something with the password i enter before it send it to the radius server.

Author Comment

ID: 24868692
I finally found the response, the secret was too long for oracle. I shorten it to 16 characters and it works.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
compre toata in where clue oracle 4 57
query in Oracle forms Builder 2 42
Converting a row into a column 2 44
Oracle 12c database link between pdb not working 20 48
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now