unable to open session
来源:互联网 发布:魔趣 优化 编辑:程序博客网 时间:2024/05/18 02:59
今天在配置CentOS以安装Oracle的过程中,完成配置后出现无法登陆系统的情况,报告错误unable to open session
遂找来安装盘,以rescue模式进入shell,执行命令:
#tail -f /var/log/secure
得到的日志信息表明问题出在/etc/security/limits.conf上,也就是之前配置时改动的文件之一,于是现将之前添加的内容从limits.conf中删除,再启动时发现已经能正常登陆了。
为什么会出现这种情况呢?
之前添加的内容如下:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
root soft nproc 2047
root hard nproc 16384
root soft nofile 1024
root hard nofile 65536
可以确定的是,这些内容本身是没有问题的,那么问题可能出在格式上,因为其实我是将一份预先做好的limits.conf文档从Windows系统中拷贝到CentOS中覆盖原文件的,而这份预先做好的limits.conf文档曾在notepad++中编辑过,可能这就是问题所在了
- unable to open session
- openshift:unable to open session
- Unable to open mouse
- Unable to open logs
- svn: E180001: Unable to open an ra_local session to URL问题解决方案
- SDL unable to open mouse
- xhost: unable to open display
- Unable to open class file
- Unable to open sync connection
- vncviewer: unable to open display ""
- Unable to open sync connection!
- Unable to open sync connection!
- vncviewer: unable to open display ""
- unable to open archive file
- xhost: unable to open display ""
- Unable to open debugger port
- Unable to deserialize into session
- genymotion报错:Failed to open a session for the virtual machine,Unable to load R3 module xxxx/VBoxDD.D
- linux内存分配注释及小结
- Windows下访问Linux分区的文件
- Smarty模板引擎中如何调用自定义函数
- starting?
- 杭电2002
- unable to open session
- Debug时如何跳过(不执行)某些代码
- smarty里使用php函数
- ExtJs中如何灵活使用Iframe!
- 被墙后的替代方案
- Linq To Entity经验:如何解决按需所取
- 黑马程序员-继承和多态
- 初学C#线程二
- oracle中的IMU和 PVRS