当前位置:网站首页>19C环境ORA-01035登陆报错处理
19C环境ORA-01035登陆报错处理
2022-04-23 06:02:00 【还不算晕】
一个新迁移的ORACLE 19C环境数据库,业务用户登陆时报错:ERROR:ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege,检查PDB配置以及实例的状态,是有问题的:
SQL> select logins from v$instance;
LOGINS
----------
RESTRICTED
SQL> select type,status,action from pdb_plug_in_violations;
TYPE STATUS ACTION
--------- --------- --------------------------------------------------
ERROR RESOLVED Either upgrade the PDB or reload the components in
the PDB.
WARNING RESOLVED Fix the database option in the PDB or the CDB
ERROR PENDING Call datapatch to install in the PDB or the CDB
SQL> select MESSAGE from PDB_PLUG_IN_VIOLATIONS;
MESSAGE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PDB's version does not match CDB's version: PDB's version 12.1.0.2.0. CDB's version 19.0.0.0.0.
Database option RAC mismatch: PDB installed version 19.0.0.0.0. CDB installed version NULL.
19.3.0.0.0 Release_Update 1904101227: APPLY with status WITH ERRORS in the PDB
临时解决方式是给予用户restricted session权限:
SQL> grant restricted session to EWELLDATACENTER;
Grant succeeded.
DBA角色的权限中包含了此权限,所以DBA角色在此场景下可以正常登陆:
SQL> select * from role_sys_privs where role='DBA' and PRIVILEGE like '%SESSION%' ;
ROLE PRIVILEGE ADM COM INH
------------------------------ ---------------------------------------- --- --- ---
DBA ALTER SESSION NO YES YES
DBA RESTRICTED SESSION NO YES YES
DBA DEBUG CONNECT SESSION NO YES YES
DBA CREATE SESSION NO YES YES
版权声明
本文为[还不算晕]所创,转载请带上原文链接,感谢
https://blog.csdn.net/q947817003/article/details/122946369
边栏推荐
- MySQL server standalone deployment manual
- Ali vector library Icon tutorial (online, download)
- Common views of Oracle database performance analysis
- 基于ECS搭建云上博客(体验有礼)
- 异常记录-17
- How does VirtualBox modify the IP network segment assigned to the virtual machine in the "network address translation (NAT)" network mode
- Memcached source code analysis
- 2021年国产数据库12强介绍
- 异常记录-11
- 用反射与注解获取两个不同对象间的属性值差异
猜你喜欢
Using Prom label proxy to implement label based multi tenant reading of Prometheus thanos
Introduction to DDoS attack / defense
Passerelle haute performance pour l'interconnexion entre VPC et IDC basée sur dpdk
Prometheus的relabel_configs和metric_relabel_configs解释及用法示例
Prometheus Thanos快速指南
rdam 原理解析
MySQL索引【数据结构+索引创建原则】
rdma 编程详解
基于DPDK实现VPC和IDC间互联互通的高性能网关
Prometheus Cortex多租户读写的实现
随机推荐
Basic concepts of database: OLTP / OLAP / HTAP, RPO / RTO, MPP
BCC installation and basic tool instructions
Virtio and Vhost_ Net introduction
Chaos takes you to the chaos project quickly
DDOS攻击/防御介绍
基於DPDK實現VPC和IDC間互聯互通的高性能網關
【不积跬步无以至千里】MySQL报大量unauthenticated user连接错误
【漏网之鱼】Ansible AWX调用playbook传参问题
High performance gateway for interconnection between VPC and IDC based on dpdk
19C中ASM network未自动启动的处理
Implementation of multi tenant read and write in Prometheus cortex
【不积跬步无以至千里】Oracle应用导数Ora-01455报错处理
Ansible basic commands, roles, built-in variables and tests judgment
Build a cloud blog based on ECS (send blessings on the cloud Xiaobao code and draw iphone13 for free)
2021年国产数据库12强介绍
JS function package foreach use return can not jump out of the outer function
阿里云日志服务sls的典型应用场景
When switch case, concatenate the error case and if of the conventional judgment expression and use L
Passerelle haute performance pour l'interconnexion entre VPC et IDC basée sur dpdk
异常记录-6