将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