1. 程式人生 > >could not open session 解決辦法

could not open session 解決辦法

su 到oracle的時候提示

could not open session

cat /etc/security/limits.conf

oracle              soft    nproc   65535
oracle              hard    nproc   65535
<span style="color:#cc0000;">oracle              soft    nofile  unlimited
oracle              hard    nofile  unlimited</span>
oracle              soft    stack   10240
oracle		    hard    stack   32768

改為:

oracle              soft    nproc   65535
oracle              hard    nproc   65535
oracle              soft    nofile  10240
oracle              hard    nofile  65535
oracle              soft    stack   10240
oracle		    hard    stack   32768

再次su oracle 已經ok