重慶思莊技術(shù)分享——ORA-01075: you are currently logged on
ORA-01075: you are currently logged on
[root@sztech ~]# su - oracle
[oracle@sztech ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.4.0 Production on Tue Feb 21 12:26:35 2023
Copyright (c) 1982, 2010, Oracle.??All rights reserved.
ERROR:
ORA-01075: you are currently logged on
[oracle@sztech ~]$
---------------------
為了快速登錄oracle,好迅速啟動oracle,這里提供一種超暴力的方法
1.使用Linux的kill命令殺死所有與oracle有關(guān)的進程
$ ps -ef |grep $ORACLE_SID|grep -v grep|awk '{print $2}' | xargs kill -9
2.使用Linux的ipcs和ipcsrm命令釋放oracle占用的共享內(nèi)存
$ ipcs -m | grep oracle | awk '{print $2}' | xargs ipcrm shm
標簽: