当前位置:网站首页>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
边栏推荐
- 将博客搬至CSDN
- 异常记录-17
- 异常记录-15
- When switch case, concatenate the error case and if of the conventional judgment expression and use L
- Thanos Compactor组件使用
- try catch 不能捕获异步错误
- RAC环境集群组件gipc无法正确识别心跳网络状态问题分析
- 冬季实战营动手实战-上云必备环境准备,动手实操快速搭建LAMP环境 领鼠标 云小宝 背包 无影
- 关于 synchronized、ThreadLocal、线程池、Atomic 原子类的 JUC 面试题
- Virtio and Vhost_ Net introduction
猜你喜欢

Try catch cannot catch asynchronous errors

MySQL 【读写锁+表锁+行锁+MVCC】

Chaos带你快速上手混沌工程

Relabel of Prometheus_ Configs and metric_ relabel_ Configs explanation and usage examples

Ali vector library Icon tutorial (online, download)

OSS云存储管理实践(体验有礼)

数据库基本概念:OLTP/OLAP/HTAP、RPO/RTO、MPP

【OSS文件上传快速入门】

JS implementation of web page rotation map

Thanos Compact组件测试总结(处理历史数据)
随机推荐
Introduction to RDMA network
Typical application scenarios of alicloud log service SLS
异常记录-18
MySQL【ACID+隔离级别+ redo log + undo log】
【MySQL基础篇】启动选项与配置文件
Basic concepts of database: OLTP / OLAP / HTAP, RPO / RTO, MPP
Build a cloud blog based on ECS (send blessings on the cloud Xiaobao code and draw iphone13 for free)
通过源码探究@ModelAndView如何实现数据与页面的转发
使用sed命令来高效处理文本
异常记录-17
SSM项目在阿里云部署
Redis 详解(基础+数据类型+事务+持久化+发布订阅+主从复制+哨兵+缓存穿透、击穿、雪崩)
【MySQL基础篇】启动选项、系统变量、状态变量
实践使用PolarDB和ECS搭建门户网站
High performance gateway for interconnection between VPC and IDC based on dpdk
Thanos Compactor组件使用
Winter combat camp hands-on combat - MySQL database rapid deployment practice lead mouse cloud Xiaobao
Prometheus的relabel_configs和metric_relabel_configs解释及用法示例
rdma 编程详解
Using Prom label proxy to implement label based multi tenant reading of Prometheus thanos