ORA-12631 / TNS-12631: Username retrieval failed

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 NTS (NT Transport Services).

Essentially, the following parameter is set in the "sqlnet.ora":
SQLNET.AUTHENTICATION_SERVICES = (NTS)
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 NTS 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 NTS is disabled, even though you are logged in as a domain user, the domain user‘s database will not be accessed.

时间: 2024-10-15 15:30:10

ORA-12631 / TNS-12631: Username retrieval failed的相关文章

GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-

今天更新为163的源后,yum的时候报错:GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5. 解决方案:vi /etc/yum.repos.d/CentOS-Base.repo 把文件里所有的RPM-GPG-KEY-CentOS-5更改为RPM-GPG-KEY-CentOS-6就可以了 vim 替换 :%s/RPM-GPG-KEY-CentOS

GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-Cent

错误描述:cento更新完源之后安装软件会出现这个错误 GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6" 解决方法:修改/etc/yum.repos.d/CentOS-Base.repo 最后面的数字改成版本号,例如我用的是centos7,那就所有的gpgkey的最后一个数字都改成7 gpgkey=file:///etc/pk

Win7x64中使用PowerDesigner连接Oralce数据库报“[Oracle][ODBC][Ora]ORA-12154:TNS:无法解析指定的连接标识符”错误解决方法

错误描述 操作系统是Win7 x64,Oracle服务端是Oracle11g x64,客户端是Oracle10gR2 x86. 使用PL-SQL Developer连接正常 使用系统ODBC连接正常.这里要注意的是,64位系统默认启动的是64位ODBC数据源管理器,默认指向的是服务端连接,所以需要为Oracle服务端也配置TNS Service Name,否则同样会连接报错.PowerDesigner默认启动的是32位的ODBC数据源管理器,程序路径为“%SystemRoot%\SysWOW64

oracle用cmd货plsql登录oracle实例提示“ORA :12170”TNS:连接超时

1,cmd ------ ping ip地址:查看网络问题,能否ping通ip地址 2,cmd ------ tnsping ip地址(或服务器的实例名SID)“ ①如果出现"TNS-12535:操作超时" 提示,可能是服务器端防火墙没有关闭,关闭防火墙即可: ②如果出现下图显示,则证明没有问题: ” 3,cmd ------ netstat - na 查看1521端口是否关闭 ①如果显示关闭,则需要在防火墙设置中将1521端口设为例外: ②如果出现下图显示,则证明没有问题: 4,cm

plsql 连接oralce数据库,报ora 12557 tns 协议适配器不可加载错误

使用plsql 连接oracle 数据库报ora 12557 错误: 解决方案: 1:首先确保服务中的service以及监听器都开启 2:F:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN下的tnsnames配置文件中的字符串连接是否配置 这个路径根据你的oracle安装路径有关 3:如果还是不行,删除注册表里面的环境变量oracle_home,默认只想路径 cmd——rededit—— HKEY_LOCAL_MECHINE——S

GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

你检查下仓库配置是否正确 :        cat /etc/yum.repo.s/*.repo将最后一项gpgcheck=1改为0就好了

ORA-01565: error in identifying file '+DATA/ORACLE/spfileORACLE.ora'

操作系统为suse11sp3_x86_64位,数据库为11204. 不小心修改了RAC目录及子目录的权限,资源启动后发现两个节点数据库都未启动,如下: jason1:/u01/app/11.2.0/grid/bin # ./crsctl stat res -t -------------------------------------------------------------------------------- NAME           TARGET  STATE        SE

Camel FTP error:File operation failed: 150 Here comes the directory listing

问题:写了一个Camel的FTP传输程序,在本地Win7和Ubuntu下运行都正常,但是在Redhat中报"File operation failed: 150 Here comes the directory listing"异常 解决方法: 首先贴出修改前的代码以及错误,如下: 代码: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.s

ORA_ERROR大全

转自:http://blog.csdn.net/haiross/article/details/12839229 常见错误:-60 ORA00060: deadlock detected while waiting for resource 一般错误:  - 1 ORA00001: unique constraint (.) violated  -17 ORA00017: session requested to set trace event  -18 ORA00018: maximum nu