ORA-12631/TNS-12631: username retrieval failed

Source: Internet
Author: User

From Metalink:

Problem description:
================================
When your server is not connected to the network and you try to connect in
Server Manager (svrmgrl), the connection fails returning an ORA-12570. If you
Check the "sqlnet. log" you will find a TNS-12631 error.

ORA-12570/TNS-12570: TNS: Packet reader failure
ORA-12631/TNS-12631: username retrieval failed

Problem explanation:
================================
These errors are associated with remote authentication on NT under ETS (NT transport services ).

Essential, the following parameter is set in the "sqlnet. ora ":
Sqlnet. authentication_services = (CNT)
As a result, if you are logged on as a domain user, and you don't have a network connection (network cable temporary removed or laptop booted standalone ), you will not be able to connect to the database because the authentication will try to reach the domain users database on the PDC (Primary Domain Controller) or BDC (Backup Domain Controller ).


Solution description:
==================================
There a 2 solutions to connect to the database when no network is present:
1. You can log in as a NT Local User.
2. You can disable CNT in sqlnet. ora by setting the following parameter:
Sqlnet. authentication_services = (none)

Explanation:
================
1. When you log in as a local user, then the local users database is contacted and not the remote domain users database.
2. When CNT is disabled, even though you are logged in as a domain user, the domain user's database will not be accessed.

ORA-12631/TNS-12631: username retrieval failed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.