自学内容网 自学内容网

sqlnet.ora里面的sqlnet.authentication_services设置错误导致sqlplus “/as sysdba“登录失败

将sqlnet.ora里面的
sqlnet.authentication_services=(tcps)
导致没有了操作系统认证这种登录方法
所以sqlplus "/as sysdba"会报错

./sqlplus “/as sysdba”

SQL*Plus: Release 23.0.0.0.0 - Production on Thu Dec 12 22:23:11 2024
Version 23.7.0.25.01

Copyright © 1982, 2024, Oracle. All rights reserved.

ERROR:
ORA-01017: invalid credential or not authorized; logon denied
Help: https://docs.oracle.com/error-help/db/ora-01017/

srvctl stop database /stop instance也无法运行 报错
因为srvctl依赖 操作系统认证这种登录方式

./srvctl stop database -d cdb1 -f
PRCD-1334 : failed to stop database cdb1
PRCD-1124 : Failed to stop database cdb1 and its services
PRCD-1131 : Failed to stop database cdb1 and its services on nodes
PRCR-1133 : Failed to stop database cdb1 and its running services
PRCR-1132 : Failed to stop resources using a filter
CRS-2675: Stop of ‘ora.cdb1.db’ on ‘nshqap04adm05’ failed


原文地址:https://blog.csdn.net/wgz7747147820/article/details/144446182

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!