当前位置:网站首页>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
边栏推荐
- Virtio and Vhost_ Net introduction
- Prometheus Cortex使用Block存储时的相关问题
- [shell script exercise] batch add the newly added disks to the specified VG
- When switch case, concatenate the error case and if of the conventional judgment expression and use L
- Construire un blog Cloud basé sur ECS (bénédiction sur le Code Cloud Xiaobao, explication détaillée de la tâche iphone13 gratuite)
- ovs与ovs+dpdk架构分析
- JS implementation of web page rotation map
- Introduction to common APIs for EBFP programming
- JS function package foreach use return can not jump out of the outer function
- 冬季实战营 动手实战-初识上云基础,动手实操ECS云服务器新手上路 领鼠标 云小宝 背包 无影
猜你喜欢

Winter combat camp hands-on combat - cloud essential environment preparation, hands-on practical operation, quickly build lamp environment, lead mouse cloud Xiaobao backpack without shadow

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

基于ECS搭建云上博客(云小宝码上送祝福,免费抽iphone13任务详解)

Imitation scallop essay reading page

Thanos Compactor组件使用

Prometheus的relabel_configs和metric_relabel_configs解释及用法示例

DDOS攻击/防御介绍

Chaos takes you to the chaos project quickly

MySQL【ACID+隔离级别+ redo log + undo log】

JS implementation of web page rotation map
随机推荐
Problems related to Prometheus cortex using block storage
异常记录-22
异常记录-19
Prometheus Thanos与Cortex组件比较
VirtualBox如何修改“网络地址转换(NAT)”网络模式下分配给虚拟机的IP网段
【MySQL基础篇】数据导出导入权限与local_infile参数
异常记录-10
异常记录-21
qs.stringify 接口里把入参转为&连接的字符串(配合application/x-www-form-urlencoded请求头)
Thanos如何为不同租户配置不同的数据保留时长
【Lombok快速入门】
JS implementation of web page rotation map
rdma网络介绍
JS function package foreach use return can not jump out of the outer function
【MySQL基础篇】启动选项、系统变量、状态变量
Winter combat camp hands-on combat - MySQL database rapid deployment practice lead mouse cloud Xiaobao
Redis FAQ
Chaos带你快速上手混沌工程
qs. In the stringify interface, the input parameter is converted into a & connected string (with the application / x-www-form-urlencoded request header)
js 格式化当前时间 日期推算