当前位置:网站首页>After SAP Oracle replicates a new instance, the remote connection of the database reports an error ora-01031
After SAP Oracle replicates a new instance, the remote connection of the database reports an error ora-01031
2022-07-28 23:57:00 【wxgnolux】
problem :oracle The server is used locally sqlplus It can be used sys As dba Log in , But with pl/sql Report when logging in ORA-01031 insufficient privileges error . Here's the picture .


The reason for this problem is , During database replication and migration , No corresponding password file . Under normal circumstances , There should be a corresponding database instance name in this directory orapwTST file ( At present, it is still the original orapwPRD).

Because the password remains unchanged , I'll rename it directly here .
mv orapwPRD orapwTST

Re in pl/sql Login is successful .
Further study :
1. Password files can be accessed through Tools orapwd produce

as follows I use the command to regenerate a password file
orapwd file=orapwTST password=pwd
The test can use the new password pwd Log in ( The password for remote login takes precedence over this file , Do not give priority to the account and password of the database itself )
2. If the password file exists correctly ,sqlplus Enquiries are as follows :

If the file doesn't exist ,sqlplus Enquiries are as follows :
边栏推荐
猜你喜欢

【C】逆序字符串(俩种递归思路)

基因组 DNA 分离丨Worthington核糖核酸酶A

Worthington丨Worthington胰蛋白酶抑制剂说明书

Urease -- Characteristics and determination scheme of Worthington jack bean urease

E-commerce data model design

PHP 海报二维码合成

Eight performance analysis indicators of effective supply chain management (Part 1)

Worthington RNA determination detailed introduction

Wildcard ssl/tls certificate

Equipped with a new generation of ultra safe cellular batteries, Sihao aipao is available from 139900 yuan
随机推荐
1-7 解决类中方法的this指向问题
Compatibility description between kingbasees and Oracle (4. SQL)
控件 圆角描边 MaterialShapeDrawable
剑指 Offer 64. 求1+2+…+n,逻辑运算符短路效应
【C】atoi和offsetof的介绍和模拟实现
NAT如何配置地址转换
Arm-a53 data "recommended collection"
(22) two permutation (DP), package delivery (greedy)
Inspur clusterenginev4.0 remote command execution vulnerability cve-2020-21224
Deep analysis of integrated learning xgboost
2022-07-28:以下go语言代码输出什么?A:AA;B:AB;C:BA;D:BB。 package main import ( “fmt“ ) func
Pagoda phpMyAdmin unauthorized access vulnerability
PowerCLi 批量添加esxi到vCenter
考过HCIP入职心仪公司,分享华为认证学习经历及心得
Powercli VMware vCenter deploys conventional new VMS in batch through self built PXE server with one click
剑指 Offer 41. 数据流中的中位数
Websocket heartbeat mechanism (keep alive mechanism)
数仓:Doris在美团的应用实践
Design idea of room inventory in hotel reservation system database
SAP oracle 复制新实例后数据库远程连接报错 ora-01031