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

Similar Messages

  • Kerberos Authentication between Sharepoint 2013 Foundation - SSRS 2012 - Oracle 11g failing with ORA-12638: Credential retrieval failed

    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.

  • 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 PM

    Here 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

  • 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..

  • 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
    null

    Michael,
    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

  • 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.Ayub

    Install 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

  • How can I connect to SQL Server CE?

    Hi!
    How can I connect to SQL Server CE ?
    Any idea?
    I found jdbc driver for SQL Server 6.5,7.0,2000.
    But no driver for SQL CE.
    Thanks for any suggestion....

    I am also searching for same answer.
    I wanna choose Access as a db. but I can't find that so I have a no choice to select SQL2000CE though.
    I am stuck in driver problem. I can't find that.
    Should I use Oracle Lite or PointBase?
    I am under a lot of stress... like you've been...
    I wish you find and post that....

  • Can't connect  to SQL Server 2000 from serlet

    Hi,
    I can connect to SQL Server 2000 from standalone program after set the classpath properly.
    but I Can't connect to SQL Server 2000 from serlet, I am using Tomcat 4.1 and Win2K pro now. Do I need to set something for servlet just like CLASSPATH?
    Any help will be appreciated.
    package usingjsp;
    import java.io.*;
    import java.sql.*;
    import javax.servlet.*;
    public class JDBCServlet extends GenericServlet
    protected Connection conn;
    public void init()
    try
    // Make sure the JdbcOdbcDriver class is loaded
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    // Try to connect to a database via ODBC
    conn = DriverManager.getConnection(
    "jdbc:microsoft:sqlserver://hu:1433", "sa","");
    catch (Exception exc)
    // If there's an error, use the servlet logging API
    getServletContext().log(
    "Error making JDBC connection: ", exc);
    public void service(ServletRequest request, ServletResponse response)
    throws java.io.IOException
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("<HTML>");
    out.println("<BODY>");
    out.println("<PRE>");
    out.println("The JDBC connection is:");
    out.println(conn);
    out.println("</PRE>");
    out.println("</BODY>");
    out.println("</HTML>");

    i also have this problem..do u have any solution?

  • Can't connect to SQL Server

    Can't connect to SQL Server while filling the RIGHT Server name (with Windows authentication).
    When i try to start SQL Server (SQLExpress) service from SQL Server Configuration manager, i get following error:

    Hello,
    Just as the error message prompt: please review the Event log, it should indicate more details about the cause of the issue.
    The following blog is about the similar issue which caused by the services account, you can take as reference to troubleshoot the problem:
    http://blog.sqlauthority.com/2011/03/29/sql-server-fix-error-the-request-failed-or-the-service-did-not-respond-in-timely-fashion-consult-the-event-log-or-other-applicable-error-logs-for-details/
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • WINDOWS 용 SQL*NET 사용 시 ORA-6122

    제품 : SQL*NET
    작성날짜 : 1995-11-10
    WINDOWS 용 SQL*NET 사용 시 ORA-6122
    ===================================
    ORA-6122 "NETTCP: setup failure"는 SQL*NET 구성이 적절하게 설정되지 않은
    상태에서 WINDOWS 용 SQL*NET TCP/IP를 가지고 연결하려 할 때 발생합니다.
    구성을 점검하여 다음 사항을 제대로 설정했는지 확인하십시오.
    1. WINDOWS\WIN.INI를 조사해 보십시오. ORA_CONFIG 매개 변수를 정의하는
    ORACLE 부분이 있어야 합니다.
    [Oracle]
    ORA_CONFIG=C:\WINDOWS\ORACLE.INI
    2. ORACLE.INI(또는 ORA_CONFIG 매개변수가 지시하는 파일)을 보십시오.
    ORACLE_HOME이 WINDOWS용 SQL*NET TCP/IP와 다른 Oracle Windows 응용 프로
    그램이 설치된 디렉토리를 지시하는지 확인하십시오.
    디폴트는 다음과 같습니다.
    ORACLE_HOME=\ORAWIN
    3. 또한 ORACLE.INI에 TCP_VENDOR를 정확하게 설정했는지도 확인하십시오.
    유효한 업체 키 목록은 WINDOWS용 SQL*NET TCP/IP 설정의 표 3-4 '업체키'를
    참조하십시요.
    4. 경로에 C:\ORAWIN\BIN(또한 ORACLE_HOME을 설정한 BIN 디렉토리)이 있는지
    확인하십시오.
    DOS 프롬프트에서 SET을 입력하고 <return>을 누르면 됩니다.
    이 명령은 경로를 보여줍니다.
    5. ORAWIN\BIN 디렉토리에 SQLTCP.DLL과 SQLTCP1.DLL이 모두 있는지 확인하십시오.
    6. 경로의 다른 어떤 디렉토리에도 SQLTCP.DLL이 없는 것을 확인하십시오.
    7. ORAWIN\BIN 디렉토리와 경로의 다른 디렉토리에 MSOCKLIB.DLL이 있는지
    확인하십시오.
    또한 파일의 두 복사본을 가지고 있지 않도록 하십시오.
    복사본이 둘일 경우, 이전 복사본의 이름을 바꾸면 문제가 줄어들 수 있습니다.
    8. WINDOWS 디렉토리에 VSL.INI 파일이 있는지 확인하십시오.
    만약 없으면 ORACLE INSTALLER를 통해 SQL*NET를 다시 입력하십시오.

  • Where can I download this SQL-Net Client software 8.1.6.3.8

    What is the most current version of the SQL-Net Client software drivers that we should be using on our Windows Clients to hit our 8.1.6.3 server? Currently we are using 8.1.6.0.0 (per tnsping). According to the certification matrix, looks like 8.1.6.3.8, (right?)
    Destination : Windows 98,NT,2000,XP Clients
    Second, where can I download this SQL-Net Client software? And please don't tell me I have to download the entire server (I hoping, but if I do where?).
    Thanks,
    Jason
    [email protected]

    I think you might be running into the issue that:
    1)  The Yoga 2 Pro does not have a DVD player built-in, and therefore they don't include DVD playback software
    2)  Windows 8 (or 8.1) no longer includes the codecs to play DVDs and such.  You have to upgrade to the Professional edition of it.  (silly, yes).
    I would personally just grab VLC Player from videolan.org, and use that.  Works perfectly fine, and it's free.
    (Did the external USB DVD not come w/ software?  That's actually strange).

  • Mail 6.5 can't connect to my net supplier,I can take my mail with my phone or on the web but not by Mail 6.5

    Mail 6.5 can't connect to my net supplier,I can take my mail with my  I phone or on the web but not by Mail 6.5 it really look like the problem is from the program.

    OS X Mail: Troubleshooting sending and receiving email messages

  • Can I connect Azure SQL Database from Project Siena ?

    Can I connect Azure SQL Database from Project Siena ?
    I want to connect Azure SQL Database of Office 365 SharePoint's Access App from Project Siena.
    Access App's Database is Azure SQL Database.
    and can connect to Excel/PowerBI/etc.
    Access App's Database can connect from specific location / any locations.
    Access App's Database can allow read-only connection / read-write connection.
    I want to create Windows App connected to Access App's Database.
    Regards,
    Yoshihiro Kawabata.

    Hi Yoshihiro,
    Could you share more with us about the high level scenario for what you are trying to accomplish offline? We can discuss further at
    [email protected]
    Once we are done, we will definitely share our findings with the community.
    Thanks!

  • Upgrade to 10.2.0.2: ORA-12631: Username retrieval failed

    hello
    I am upgrading oracle 9.2.0.7 to 10.2.0.2.
    When I start the upgrade assistent, i receive the following error:
    ORA-12631: Username retrieval failed
    Before I started upgrade assistent, i could connect to SQL and everything was okay. Now I can connect to SQL but i can select nothing. Then i receive the same error: Username retrieval failed.
    Thank you very much for helping.
    Best regards
    Selim

    Refer notes
    614036 
    620540
    If these dont solve your problem write back

Maybe you are looking for

  • [Urgent] using javafx object in java project

    Suppose I here created a very simple java project and the main file is like below, public class test {     public static void main(String[] args){             System.out.println("Hello World!"); }and in this particular java project, I need to use ano

  • Processing Started in JDBC communication Channel?

    Dear Friends, in JDBC Sender Channel i am facing one issue, i.e the data coming from DB but in PI/PO 7.4 data is not reached and channel is showing Green color and log is showing processing started. But as per my experience may the data is locked in

  • How do I set the default sort on a VIP mailbox?

    When I restart the mail reader and go to one of the VIP Mailboxes I have set up, the sort order is "Sort by From" and "Ascending."   Probably the most useless default I can think of.   Is there a way to set the default to "Date" and "Descending"?

  • Can't use F5 and F6 keys to adjust brightness of LCD screen

    I just bought a new Macbook (first one ever, new to Mac). I can't adjust the brightness of the LCD screen with the Function keys. When I do it, the icon pops up in the middle of the screen showing that it is being adjusted, but it does not change the

  • Which button for a factory restore ?

    Thanks.