Username retrieval failed in 10g XE.  Help!! (Thanks!)

Hi all -
Any help would be sincerely appreciated! (although who would write "all help would be looked upon poorly" ???)
Anyway, I installed 10g XE on Windows XP Pro
Installation was successful, and I AM able to launch the GUI Administrator (i.e., the one that the "Getting Started" doc talks about).
I'm able to query tables, create users, all that great stuff.
However, when I go to Start -> Programs -> Oracle Database 10g Express Edition -> Run SQL Command Line,
I am unsuccessful at being able to Connect.
I launch the Run SQL Command Line, type in "connect username_i_created/password@xe" and I get the error "ORA-12631: Username retrieval failed"
This username DOES exist and I can see and query when I go through the GUI.
Any thoughts or suggestions?
Thanks Again!!
R-

Thank you all, for your suggestions! Unfortunately, I'm still having problems.
Ultimately, I have another software application that is meant to connect to my Oracle database. That's failing with the same ORA-12631 error as I mentioned.
I'm still unable to log in, even directly, via SQL*Plus.
Through my Command window:
C:\>echo %ORACLE_SID%
XE
C:\>echo %ORACLE_HOME%
C:\oraclexe\app\oracle\product\10.2.0\server
C:\sqlplus username/password
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jul 15 10:51:29 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12631: Username retrieval failed
and my sqlnet.ora file is posted here:
# 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)
my tnsnames.ora file:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = full computer name from My Computer->Properties->Computer Name)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
my listner.ora file:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = full computer name from My Computer->Properties->Computer Name)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)

Similar Messages

  • Please help with username retrieval failed error

    Not sure if this is the appropriate forum for this
    We work in a managed environment. In the past week the domain has changed from Manitoba to ME. Yesterday I tried to connect to my local personal Oracle database 9iv2 with SQL*Plus and got an ORA-(TNS)-12631 USERNAME RETRIEVAL FAILED error. However I can connect with iSQL and Oracle Forms. Go figure? Everything was working well on Friday. Our systems person cannot find anything in the logs to indicate other changes that might have been made to our environment.
    I've changed all occurrences of manitoba to me in the c:\oracle\ora92\network\admin\tnsnames.ora, listner.ora and snmp_rw.ora files as well as any others of the same name in other directories (just in case).
    This has not solved the problem. Can anyone suggest what else might need fixing/editing???? Registry??
    I activated the logs and traces but don't understand them well enought to find clues to the problem.
    At the same time, we also experienced problems with our oracle servers, but they are now back on line. I was told that the listners stopped working.
    I still cannot connect to my personal oracle, so any help/suggestions would be very much appreciated
    Thank you
    glenn

    problem has been solved by changing
    sqlnet.authentication_services=(NTS)
    to
    sqlnet.authentication_services=(none)
    BUT: I still don't know why our two servers and my personal oracle got derailed all on the same weekend. I'd still appreciate some suggestions.
    glenn

  • 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

  • ORA-12631: Username retrieval failed

    Hi all,
    I am trying to connect to my Oracle XE Database and I am getting this error message when I attempt to login using the 'system' user.
    Also, I am unable to get to the 'localhost:8080' - I have tried re-installing the software a number of times, but no luck here at all.
    I've checked that I've got nothing running on 8080 - there is nothing. I have also made sure that my username is part of 'Administrators' and 'ORA_DBA', but this doesn't work either.
    Also, when I look at the lsnrctl status page, I get this:
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 14-FEB-2008 12:11
    :54
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 14-FEB-2008 09:35:13
    Uptime 0 days 2 hr. 36 min. 43 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File c:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener Log File c:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=BTG268061.iuser.iroot.adidom.com)(PO
    RT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    I can't see the XE Service here. This is a fresh installation, anyone know what I am doing wrong here?

    Crispy,
    I am not very sure about XE. Here is what a quick search google reveals about your error message.
    http://www.dbasupport.com/forums/showthread.php?t=22246
    About the listener, try put statically the dtabase service entry in the listener.ora and then restart.It shoudl come up with that.
    Aman....

  • 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,
    Sam

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

  • I bought an Adobe photoshop elements 12 and successfully installed. I failed to activate as it said I am offline whereas I am online. I tried offline activation but failed. Could someome help me? Thanks

    I bought an Adobe photoshop elements 12 and successfully installed. I failed to activate as it said I am offline whereas I am online. I tried offline activation but failed. Could someome help me? Thanks

    Hi Agathe,
    Please refer to the below link and follow the steps.
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    Thank you for posting on Adobe Forums.

  • Just got a new iPod Nano 7gen. Have downloaded and installed iTunes 10.7 and installed succesfully. But iTunes fails when I try to start the program. Have OS X 10.8.2. Moutain Lion. Please help - thanks. Sven

    Just got a new iPod Nano 7gen. Have downloaded and installed iTunes 10.7 and installed succesfully. But iTunes fails when I try to start the program. Have OS X 10.8.2. Moutain Lion. Please help - thanks.
    Sven

    Problem solved. Copied latest file of iTunes Library.itl from Previous iTunes Libraries and replaced it with the original in Music - iTunes-folder.

  • HT201210 at the end of iOS6 download,my ipod touch says 'update failed'.i need some help to resolve this problem. thanks

    at the end of iOS6 download,my ipod touch says 'update failed'.i need some help to resolve this problem. thanks

    Try:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Next connect to iTunes and update via iTunes. Others have had the same problem.

  • Passing values to subreport in SSRS throwing an error - Data Retrieval failed for the report, please check the log for more details.

    Hi,
    I have the subreport calling from the main report. The subreport is based on MDX query agianst the SSAS cube. some dimensions in cube has values 0 and 1.
    when I try to pass '0' to the sub report as the parameter value, it gives an error "Data Retrieval failed for the report, please check the log for more details".
    Actually I am using table for storing these parameter values. In the main report I am calling this table (dataset) and passing these values to subreport.
    so I have given like [0],[1] and this works fine. when I give only either [0] or [1] then it is throwing an error.
    Could you please advise on this.
    Appreciate all and any help.
    Thanks,
    Divya

    Hi Divya,
    Based on the current description, I understand that there is no issue if you pass two values from main report to subreport, while the issue occurs when passing one value to subreport.
    To narrow down the issue, I want to confirm whether the subreport can run if there is only [0] or [1] in the subreport. If so, it indicates the query statements exist error in the subreport. If it’s not the case, this shows the issue occurs during passing
    values from main report to subreport. To make further analysis, please post the details of query statements of the subreport to the forum.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Insertion of user name failing in 10g--very very urgent

    Hi
    I have this insert statement:
    INSERT INTO tHistory(Client_ID,Table_Ref,Table_ID,Entry_Type,Subject,User_Name
    ,Parent_ID,content)
    VALUES( 'D5555555','tClient','D555555','edit','Edit By '||user,user,0,'test');
    all fields are non nullable.
    However when I run it it does accept the user for user name column and throws an error saying user cant b blank.
    This same stmnt works fine in 9i but fails in 10g.
    Could anyone please help.
    Thanks in Advance

    are you running this from some other environment or as string from some program.
    here is the test case.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> create table test_table(n varchar2(200))
      2  /
    Table created.
    SQL> insert into test_table values('Hello '||user)
      2  /
    1 row created.
    SQL>
    SQL> select * from test_table
      2  /
    N
    Hello SCOTT
    SQL>
    SQL> show user
    USER is "SCOTT"

  • Deployment Wizard Fails in 10g AS

    Deployment Wizard fails in 10g AS when attempting to upload an .ear file. It throws the following error:
    ClassNotFoundException: ias.oc4j._deploywiz._selectAppDest
    This error started when during the upload procedure I lost internet connectivity. It has happened consistently since then.
    I have restarted the OC4J instances, the entire machine and even created a brand new instance of OC4J all to no avail. I can no longer deploy .ear files on an OC4J instance on the machine.
    Should I just give up and reinstall the entire server?
    Thanks for your help!

    368659, I am not sure what has happened to your 10g AS instance; can you check if you have the following file?
      <ORACLE_HOME>/sysman/webapps/emd/ias/oc4j/deployWiz/selectAppDest.uix
    If you has not stuck to the installation yet, reinstallation might be a better idea as the installation will be a breeze except that it takes a few minutes.

  • 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

  • BWP Security Token Retrieval Failed in Twitter

    im having problems connecting with twitter, it always give an error message: BWP Security Token Retrieval Failed, how to fix this? im also having problems with facebook, i cant connect with the servers. aside from this two all my apps are working fine.
    thanks for the help.

    I found a fix. I hope this helps.
    http://www.dencio.com/2012/01/fixed-facebook-20-and-twitter-20-for.html
    I hope it works for you.
    Dencio

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

  • Help retrieving deleted emails. I delted my emails by mistake. Does anyone know who to retrieve??? Please HELP:(

    I deleted my emails by mistake. Do you know how can I retrieve?? Get I get emails back starting 9/7/2011?? Please help:( THANK YOU

    You should never try to sync your phone with more than one computer or you will lose your data.  The pictures were not deleted because the sync process does not touch Camera Roll pictures (it only includes them during the backup step of the sync process).
    If you had these voice memos on your phone when you last synced it to your first computer, and if you haven't synced to this computer since then, you could restore from the backup created during your last sync.  This will replace the data on your phone with the data from this older backup so anything new will be lost.  If you think that is the case, do not sync your phone again to the first computer prior to restoring from this backup or you will overwrite it and the backup will be lost.  Instead, prior to connecting your phone to your first computer, open iTunes and disable automatic syncing by going to iTunes Preferences and on the Devices tab checking "Prevent...from syncing automatically".  Then connect your phone and when it appears in iTunes on the left sidebar right-click on its name and select Restore From Backup and choose your last backup (containing your voice memos).
    If you didn't have these voice memos on your phone when you last synced to your first computer, or if you have synced again to your first computer since losing your data, then your voice memos and other data are lost.

Maybe you are looking for