Error ORA-12638 in Oracle Database 11g

若如初见. 提交于 2019-12-12 22:40:51

问题


I am a big beginner using Oracle Database 11g Express and tried it for the first time today. I only got theorical knowledge on databases (learned SQL but never used it). So, I installed Oracle 11g today (gave them the password for system when needed). I then proceeded to launch 'Start Database' followed by the SQL command line. I entered connect SYSTEM/password but received :

ERROR: 
ORA-12638 : Credential retrieval failed

Following advices of various forums, I changed my sqlnet.ora file, replacing SQLNET.AUTHENTICATION_SERVICES = (NTS) by SQLNET.AUTHENTICATION_SERVICES = (NONE)

Didn't change anything else. But now I get the following errors :

ERROR: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Process ID: 0 Session ID: 0 Serial number: 0

I did nothing else besides installing this software and launching Start Database.

Can't really find an in-depth tutorial for it by the way.

EDIT : I followed @vercelli 's comment and this topic. Seems like you can't install Oracle 11g XE with an user account connected to the entreprise domain (installation process can't connect to the database). So, I followed these advices : I uninstalled Oracle XE, logged as a local user, installed Oracle XE there and it worked :

.

But when I logged back as an user domain, I had the same issues as before : ERROR: ORA-12638

EDIT : Works as a domain user after changing the sqlnet.ora file as attempted before. (see my answer) Might not be optimal.


回答1:


I followed @vercelli 's comment and this topic. Seems like you can't install Oracle 11g XE with an user account connected to the entreprise domain (installation process can't connect to the database). So, I followed these advices : I uninstalled Oracle XE, logged as a local user with administrator privileges , installed Oracle XE there and it worked on the local user:

.

But when I logged back as an user domain, I had the same issues as before : ERROR: ORA-12638

So, I changed my sqlnet.ora file on the domain user as I had tried before (after advices from different forums who had this ORA error) :

SQLNET.AUTHENTICATION_SERVICES = (NTS)

to

SQLNET.AUTHENTICATION_SERVICES = (NONE)

And now It seems to work as a domain user too : I was able to connect.



来源:https://stackoverflow.com/questions/38463516/error-ora-12638-in-oracle-database-11g

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!