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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值