Oracle9i - ORA-12638 Credential retrival failed
Hi,
I am new to Oracle database and my first job is to install oracle9i into Window 2000. The installation failed at Database Configuration Assistant with error: ORA-12638 Credential retrival failed. I tried to create different type of database to see if the problem goes away but it persists. Please help!
this is the solution i got from net
On the client computer, modify SQLNET.ORA located in ORACLEHOME/NETWORK/ADMIN directory. Replace the line
SQLNET.AUTHENTICATION_SERVICES=(NTS)
with
SQLNET.AUTHENTICATION_SERVICES=(NONE)
you can try out..
Similar Messages
-
I have set up SharePoint 2013 Foundation, SharePoint Reporting Services and SQL Server 2012 in a single server. I then created a Data Connection to Oracle 11g. Upon testing the connection, it throws the error “ORA-12638: Credential retrieval failed”.
Given below are the steps of installation and configuration.
Installation till basic authentication:
The installation has been done in a
single server.
Installed SQL Server 2012 (Developer version).
Selected only the following features:
Database Engine Services
Analysis Services
Reporting Services – SharePoint
Reporting Services Add-in for SharePoint Products
Management Tools – Basic
- Management Tools - Complete
2. Installed SQL Server 2012 SP1.
3. Installed SQL Server 2012 SP2.
4. Installed SharePoint Foundation 2013.
5. Created web application (without Kerberos; we did not even create the SPNs).
The application pool has been configured to use Reporting Services account since it is a single server installation. This account has been registered as a managed
account.
6. Created Site Collection.
7. Verified that Reporting Services is not installed.
8. Installed SharePoint Reporting Services from SharePoint 2013 Management Shell.
9. Verified that Reporting Services is installed.
10. Created a new SQL Server Reporting Services Service Application and associated the Web Application to the new SQL server Reporting Services Service Application.
11. Verified that SQL Server Reporting Services Service Application and its proxy have started. Reset IIS.
12. Created a Site.
13. Created a Data Connection library with “Report Data Source” content type.
14. Created a Report Model library with “Report Builder Model” content type.
15. Created a Report library with “Report Builder Report” content type.
16. Uploaded an SMDL to the Report Model library.
17. Added the top level site to Local Intranet instead of as a Trusted Site in the browser settings.
18. Able to create and save a report using Report Builder.
Hence, basic authentication is working and SSRS is able to connect to Oracle database.
Next we have to configure Kerberos settings between SharePoint and SQL Server.
Implementation of Kerberos authentication
In the Report Server machine, opened the file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting\rsreportserver.config and added the Authentication Types of RSWindowsNegotiate
and RSWindowsKerberos.
2. Set up the following SPNs.
a) SQL Server Database Engine service (sqlDbSrv2):
setspn -S MSSQLSvc/CER1110:1433 CERDEMO\sqlDbSrv2
setspn -S MSSQLSvc/CER1110.cer.demo.com:1433 CERDEMO\sqlDbSrv2
In the Delegation tab of the account, selected "Trust this user for delegation to any service (Kerberos only)".
b) Account: SharePoint Setup Admin account (spAdmin2)
setspn -S HTTP/CER1110:9999 CERDEMO\spAdmin2
setspn -S HTTP/CER1110.cer.demo.com:9999 CERDEMO\spAdmin2
In the Delegation tab of the account, selected "Trust this user for delegation to any service
(Kerberos only)".
c) Account: SQL Server Reporting Service account (sqlRepSrv2)
setspn -S HTTP/CER1110 CERDEMO\sqlRepSrv2
setspn -S HTTP/CER1110.cer.demo.com CERDEMO\sqlRepSrv2
In the Delegation tab of the account, selected "Trust this user for delegation to any service
(Kerberos only)".
3. Configure the Web Application to use “Negotiate (Kerberos)”.
4. Logged in as SharePoint Administrator to the SharePoint server and opened the top level site in the IE browser.
The Event Viewer logged the login process for the SharePoint Administration account as
Negotiate and not Kerberos.
5. Implemented Kerberos for Oracle database and client.
Able to connect to the Oracle database via Kerberos authentication using SQL Plus.
6. Turn on Windows Firewall.
7. While testing the site's data connection using Kerberos settings, got the error
“Can not convert claims identity to windows token. This may be due to user not logging in using windows credentials.”
Note: The Data Connection for basic authentication still worked.
8. Created a Claims to Windows Token Service account (spC2WTS2).
9. Started the Claims to Windows Token Service.
10. Registered the Claims to Windows Token Service account as a Managed Account.
11. Changed the Claims To Windows Token Service to use the above managed account.
12. Verified that the Claims to Windows Token Service account (spC2WTS2) is automatically added to the WSS_WPG local group on the SharePoint box.
Note: The Reporting Services service account is also a part of the WSS_WPG local group.
13. Added the Claims to Windows Token Service account (spC2WTS2) to the Local Admin Group on the machine having the SharePoint App Server.
14. In the SharePoint box, added the Claims to Windows Token Service account (spC2WTS2) in the Act as part of the operating system policy right.
15. The Claims to Windows Token Service account (spC2WTS2) has the WSS_WPG group configured.
When the C2WTS service was configured to use the managed account Claims to Windows Token Service account (spC2WTS2) earlier, the spC2WTS2 account was automatically
added to the WSS_WPG local group on the SharePoint box. The WSS_WPG group in turn is configured in c2wtshost.exe.config file.
16. Verified that the Reporting Services account is a managed account and part of the WSS_WPG group.
17. Earlier Service Application Pool - SQL Server Reporting Services App Pool service was associated with the SharePoint Admin account.
Changed this to associate the Reporting Service account with the Service Application Pool - SQL Server Reporting Services App Pool service.
18. Changed the delegation of the Reporting Service account to constrained delegation with Protocol Transitioning. This is because we are transitioning from one authentication scheme (Claims) to another (Windows Token).
For this, the delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use
any authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
Note: The Reporting Service account already had an HTTP SPN.
19. Next, the goal was to make the Claims To Windows Token Service account match the Reporting Service account.
For this, we created a fake SPN for the Claims To Windows Token Service account since the delegation tab was missing.
The delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use any
authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
20. Restarted the SharePoint server.
21. Tested the data connection with the Kerberos settings again.
Got the error
“ORA-12638: Credential retrieval failed”.
Can anyone tell me what is wrong with this setup?http://www.freeoraclehelp.com/2011/10/kerberos-authentication-for-oracle.html
Problem4: ORA-12638: Credential retrieval failed
Solution: Make sure that SQLNET.KERBEROS5_CC_NAME is set in sqlnet.ora and okinit has been run before attempting to connect to the database.
Do check
http://webcache.googleusercontent.com/search?q=cache:5a2Pf3FH7vkJ:externaltable.blogspot.com/2012/06/kerberos-authentication-and-proxy-users.html+&cd=5&hl=en&ct=clnk&gl=in
If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/ -
ORA-12638 CREDENTIAL RETRIEVAL FAILED
Yesterday when I started my server after holiday it gives error ORA-12638 Credential Retrieval Failed,
Can anyone help. I have taken export backup of my schema before holiday. I can load that but I need advice what should I do to recover. To me its login connectivity problem.check the file sqlnet.ora where the database is installed for an entry like SQLNET.AUTHENTICATION_SERVICES= (NTS). If so, disable it.
-
Can't connect to sql*net, ORA-12638: Credential retrieval failed
after installed oracle9i, I can use sqlplus, but when I try to use sql navigator, I can't connect to sql*net.
I found out the following error message in logfile:
Fatal NI connect error 12638, connecting to:
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=BEQ)
(PROGRAM=oracle)
(ARGV0=oracleoms)
(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))
(CONNECT_DATA=(SID=oms)(CID=(PROGRAM=c:\oracle\ora92\bin\ORACLE.EXE)(HOST=JZQGG31)(USER=OraUser))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production
Time: 11-MAR-2004 17:04:17
Tracing not turned on.
Tns error struct:
nr err code: 0
ns main err code: 12638
TNS-12638: Credential retrieval failed
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
=============================================
Hope somebody can help me! Thanks!change in sqlnet.ora file
find under oracle home\network\admin\sqlnet
and
SQLNET.AUTHENTICATION_SERVICES = (NTS)
CHANGE TO
SQLNET.AUTHENTICATION_SERVICES = (NONE)
hope it will solve u r problem
kuljeet pal singh -
11.2g Installation error on Win7: ORA-12638 Credential Retrieval Failed
I'm attempting to install an Oracle instance on my computer, which is Windows 7, 64-bit. In the middle of the installation I got an error fro Credential Retrieval. I've looked for solutions and they all related to modifying sqlnet.ora. However, at this point in the installation, there does not appear to be such a file on my system, so I can't very well change it. What can I do to install this? Thanks. I thought this might take thirty minutes, not my entire work day.
Ken
Edited by: user639117 on Aug 29, 2011 3:34 PMHere is the last 100 lines of the installation log. First, though, I have an Oracle client to use to talk to the Oracle database behind PeopleSoft, but I don't want to touch that database for what I'm doing. I need to have a separate database I can experiment in. Thanks.
INFO: Launching Oracle Database 11g Release 2 Installer
INFO: Started executing the flow in INTERACTIVE mode
INFO: Waiting for completion of background operations
INFO: Finishing all forked tasks at state prepInstall
INFO: Waiting for completion all forked tasks at state prepInstall
INFO: All forked task are completed at state prepInstall
INFO: Completed background operations
INFO: Executing action at state prepInstall
INFO: Completed executing action at state <prepInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <prepInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <prepInstall>
INFO: Completed validating view at state <prepInstall>
INFO: Validating state <prepInstall>
WARNING: Validation disabled for the state prepInstall
INFO: Completed validating state <prepInstall>
INFO: Verifying route success
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state decideOCMInstall
INFO: Completed executing action at state <decideOCMInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <decideOCMInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <decideOCMInstall>
INFO: Completed validating view at state <decideOCMInstall>
INFO: Validating state <decideOCMInstall>
WARNING: Validation disabled for the state decideOCMInstall
INFO: Completed validating state <decideOCMInstall>
INFO: Verifying route requireOCM
INFO: Get view named [OCMDetailsUI]
INFO: View for [OCMDetailsUI] is oracle.install.ivw.common.view.OCMDetailsGUI@6aa218a5
INFO: Initializing view <OCMDetailsUI> at state <getOCMDetails>
INFO: Completed initializing view <OCMDetailsUI> at state <getOCMDetails>
INFO: Displaying view <OCMDetailsUI> at state <getOCMDetails>
INFO: Completed displaying view <OCMDetailsUI> at state <getOCMDetails>
INFO: Loading view <OCMDetailsUI> at state <getOCMDetails>
INFO: Completed loading view <OCMDetailsUI> at state <getOCMDetails>
INFO: Localizing view <OCMDetailsUI> at state <getOCMDetails>
INFO: Completed localizing view <OCMDetailsUI> at state <getOCMDetails>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state getOCMDetails
INFO: Completed executing action at state <getOCMDetails>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <getOCMDetails>
INFO: Pause Oracle Database 11g Release 2 Installer
INFO: Resume Oracle Database 11g Release 2 Installer
INFO: Exit Status is 0
INFO: Shutdown Oracle Database 11g Release 2 Installer -
ORA-12635 Credential Retrieval Failed
Hi All
When I try to install the Oracle database enterprise edition 8.1.7(release 3) on windows NT client(with service pack 5) it stopped at configuration assistant with an error ORA-12635 Credential failed with prompt to Ignore or Abort, when i chose ignore it hangs , so i cancelled the Installation and redo again. but the same error came out and i am unable to continue installation.
when i try to connect database using SQLPlus as scott/tiger it gives an error TNS:12560-Protocol adaptor error.
Thanks in anticipation for the reply
M.AyubInstall the Oracle Server without any database and
after try to create the database through the assistant.
I recommend you to apply servipack6 for NT which is
the lastest servipack for that OS.
Joel P�rez -
Error 12638-Credential retrieval failed
I am running net8 on a win98 machine and attempting to connect to a v8.1.6 db on an NT box. I run in a Novell environment and do not load the "Client for Microsoft Networks". When this client is loaded I can connect, otherwise I get the 12638 error.
My network people are adement about not loading the Microsoft Client.
Does the Oracle client require that the Microsoft Client be loaded? Or is this indicative of a different problem?
Thanks
nullMichael,
Oracle uses a listener to set up all network protocols to listen for (listener.ora on the server). You may load or not Microsoft Network, but the you need to set up the listener to cary about Novell's SPX or to enable TCP/IP protocol in Novell env. Then you have to include a database descriptor, according SPX protocol in tnsnames.ora (on client site). In my oppinion, you are loosing one of your protocols when Microsoft Networks is not loaded (should not but...) and Oracle is not set to listen on Novell's SPX
null -
I get Credential retrieval failed when trying to loggin to "run SQL Command" tool:
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Dec 8 16:08:26 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect sys/<pwd> as sysdba
ERROR:
ORA-12638: Credential retrieval failed
SQL> connect / as sysdba
ERROR:
ORA-12638: Credential retrieval failed
SQL>
Message was edited by:
VS1You've posted to the wrong forum, this is the Application Express forum.
-
While reinstalling my oracle 8.1.6 enterprise edition server on win2000, i'm getting the above error (ORA-12638: Credential Retrieval Failed).
I'm getting same error in my another existing database also while connecting to it.
Can anyone please help me to troble shoot this?
Thanks in advance.Comment the
#SQLNET.AUTHENTICATION_SERVICES= (NTS)
in the sqlnet.ora file located at
$home/ora81/network/admin/sqlnet.ora on the server side.
Hope this will solve ur problem.
Abha. -
Geting credintial retrival failed error
hi everyone,
i am using dataaccess.client to transfer data from asp.net page
and on successfull execution i am using oracleclient.connection
for executing a procedure.
the problem is that the first part is working fine i.e. dataaccess.client.
but when i try to open oracleclient.connection it gives me the
error ORA-12638: Credential retrieval failed
plz help me out.What do you have in sqlnet.ora? This file is in the network\admin folder under the oracle client installation.
Perhaps you have SQLNET.AUTHENTICATION_SERVICES= (NTS) ? You could try changing this to SQLNET.AUTHENTICATION_SERVICES= (NONE), which might help.
Cheers -
Hi,
I'm receiving the following error when I try to start RMAN from a command prompt. I can connect to the database from the Enterprise Manager and from SQLPlus without any problems. I've read about removing the sqlnet.authentication_services line from sqlnet.ora, but I don't know if I should since the database connects fine outside of RMAN:
C:\>rman target sys/password@DB1
Recovery Manager: Release 10.2.0.1.0 - Production on Mon May 15 10:01:40 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12638: Credential retrieval failed
Thanks,
NoraHi,
In 'C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN', my files look like this (the line in sqlnet.ora is still present-- i haven't removed or changed it yet):
TNSNAMES.ORA
# Generated by Oracle configuration tools.
DB1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = host1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = db1)
SQLNET.ORA:
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
LISTENER.ORA:
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = DB1)
(ORACLE_HOME = C:\oracle\product\10.2.0\Db_1)
(GLOBAL_DBNAME = DB1)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = host1)(PORT = 1521))
I don't get ORA-01031 in RMAN with this configuration, but I do get ORA-12638.
Otherwise, I can connect fine to my database if I don't use 'connect / as sysdba'.
Thanks again,
Nora -
Help .....Credential retrieval failed Error
Hi all,
I am geting below error, when i run my application with backend Oracle 9i.
ORA-12638: Credential retrieval failed
Please Help.
Thanks,
SamI believe this is because of Active Directory servers on your network.
Essentially, your NT logon information has been lost by the network AD server. You will probably find that you can log on to a single session, but if you try and connect to another session from that one you will get this error. This can sometimes happen if you leave your client machine logged on over long periods of time (days or weeks).
Try rebooting your client PC, which usually re-registers your credentials with the AD server.
If it continues, speak to your network admin team. -
ORA-31011: XML parsing failed
Hi
I am on client version 9.2.0.4 and try to test the following query
select XMLELEMENT("DATE", sysdate) from dual;
I am getting the error ORA-31011:XML parsing failed
Can anybody suggest a solution?
Thanks for your reply in advance
MuraliMurali ,
you have mentioned about the client version but what is the server version to which
you are connected ? Pls checkout that. it should be 9.2.0.4 and above.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
SQL> select XMLELEMENT("DATE", sysdate) from dual;
XMLELEMENT("DATE",SYSDATE)()
XMLTYPE()
SQL> ed
Wrote file afiedt.buf
1* select XMLELEMENT("DATE", sysdate).GetStringVal() from dual
SQL> /
XMLELEMENT("DATE",SYSDATE).GETSTRINGVAL()
<DATE>05-SEP-05</DATE>
SQL> Since my client version is 9.0.1.3.0 i have to use GetStringVal() method to extract the contents. -
Express edition and Credential retrieval failed - again
Following a successfull installation of the Express edition, I get the common problems of home page not available and 'credential retrieval failed' when I try to login as the system/sysdba. I have read all the threads I have found and have found no remedies which help. I have also tried the following:
- sqlnet.ora: removing the (NTS) auth. service. This just creates another error message:'Oracle not available'
What more is there to check?
My OS is Windows XP SP3
Re-installation: tried multiple times as local administrator and user with the admin rights - no change.Well, I am not an expert but, after having installed Oracle XE several times on several platforms, and having experienced some problems, I suspect that you should give a try with WXP SP2 instead of WXP SP3...
Good luck!
Victor -
XMLElement cause ORA-31011: XML parsing failed
Hi,
already simple examples,
e.g. like descibed in tech articles 'SQL in,XML out',
cause always error 31011.
What is wrong?
Is something missing in my installation?
Worng version?
SQL> select xmlelement("KUNDEID",KUNDEID) from DSL_KUNDE;
ERROR:
ORA-31011: XML parsing failed
But normal SQL works fine and data is available:
SQL> select kundeid from dsl_kunde;
KUNDEID
1
2
3
Here is the SQL*Plus login message
SQL*Plus: Release 9.2.0.1.0 - Production on Mi Nov 12 17:14:42 2003
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - ProductionPlease post this message at:
Forums Home » Oracle Technology Network (OTN) » Products » Database » XML DB
Maybe you are looking for
-
Why won't the Totals in Desktop work?
I have a number of sheets that need to have totals. The report is a breakdown of staff numbers by religious belief and location/age band/directorate etc (one sheet for each). The report takes items from three different folders and the uses a count of
-
Odisrv services getting down automatically
odisrv services getting down automatically even though I have started services manually. Please suggest
-
Cannot find entry 'SOAP_DOC_LITERAL' when import PublicReportService wsdl
Hi, when i when import PublicReportService_v11.wsdl from BIP 10.1.3.4.2, i get the following error msg: Cannot find entry 'SOAP_DOC_LITERAL' in the bounded picklist for the field 'Protocol' in integration component 'Repository Port'(SBL-EAI- 04401) I
-
Can i see a list of prior numbers I have blocked?
I blocked a number by using my i phone, then unblocked it. I didnt write down the number first and now I cant find the number anywhere. It doesnt show on my phone bill because it was a series of imessages that were deleteda and the number blocked.
-
Group Text Messages Won't Download On My Droid Razr Maxx HD
Many times my Droid Razr Maxx HD will not receive group text messages. Often, not always, when I receive a group text I get a message notification and when I look at the screen it simply says "downloading." This downloading can go on for hours. Tw