ORA-01012: not logged on 解决办法


    <span style="font-family: Times New Roman; font-size: 18px;">tomcat 服务器后台报:ORA-01012: not logged on 异常</span>

<span style="font-family: Times New Roman; font-size: 18px;">问题原因:可能是应用程序有bug,没及时释放连接所导致。</span>

<span style="font-family: Times New Roman; font-size: 18px;">解决办法:治本的办法是:修改processes值,或者禁止一些异常访问。</span>

<span style="font-family: Times New Roman; font-size: 18px;">解决问题思路:</span>

<span style="font-family: Times New Roman; font-size: 18px;">1、等数据库访问连接数下降用户再登录<br>
2、sqlplus “/ as sysdba”登陆后</span>

<span style="font-family: Times New Roman; font-size: 18px;"> shutdown abort<br>
3、ps -ef|grep ora_dbw0_$ORACLE_SID </span>

<span style="font-family: Times New Roman; font-size: 18px;"> kill -9 pid<br>
4、kill掉一些不重要的session<br></span>

<span style="font-family: Times New Roman;"></span>

<span style="font-family: Times New Roman;"></span>

 

你可能感兴趣的:(java,工作)