当前位置:网站首页>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
边栏推荐
- rdma 介绍
- Use the SED command to process text efficiently
- Practice using polardb and ECs to build portal websites
- [shell script exercise] batch add the newly added disks to the specified VG
- Redis 详解(基础+数据类型+事务+持久化+发布订阅+主从复制+哨兵+缓存穿透、击穿、雪崩)
- Relabel of Prometheus_ Configs and metric_ relabel_ Configs explanation and usage examples
- Include of ansible module_ Tasks: why is the imported task not executed after adding tags?
- 重启Oracle监听器会中断已有连接吗
- Analysis of Rdam principle
- 使用prom-label-proxy实现Prometheus Thanos的基于标签的多租户读
猜你喜欢

volatile 关键字的三大特点【数据可见性、指令禁止重排性、不保证操作原子性】

基於DPDK實現VPC和IDC間互聯互通的高性能網關

Thanos Compact组件测试总结(处理历史数据)

Chaos带你快速上手混沌工程

Imitation scallop essay reading page

Memcached source code analysis
![[ES6 quick start]](/img/9e/4c4be5907c1f7b3485c2f4178b9150.png)
[ES6 quick start]

qs. In the stringify interface, the input parameter is converted into a & connected string (with the application / x-www-form-urlencoded request header)

Chaos takes you to the chaos project quickly

Introduction to common APIs for EBFP programming
随机推荐
virtio 与vhost_net介绍
Prometheus Cortex多租户读写的实现
try catch 不能捕获异步错误
rdma网络介绍
异常记录-9
Prometheus monitoring method and index interpretation of influxdb
Oracle net service: listener and service name resolution method
【MySQL基础篇】启动选项、系统变量、状态变量
Prometheus cortex Architecture Overview (horizontally scalable, highly available, multi tenant, long-term storage)
Chaos带你快速上手混沌工程
Introduction to DDoS attack / defense
【OSS文件上传快速入门】
[MySQL basics] startup options and configuration files
BPF program of type XDP
Error alarm of Postgres master-slave replication delay monitoring
Memcached source code analysis
Analysis of Rdam principle
【漏网之鱼】Ansible AWX调用playbook传参问题
【不积跬步无以至千里】Oracle应用导数Ora-01455报错处理
Prometheus Thanos快速指南