oracle数据库突然无法访问
1、1:查看oracle alert 日志
oracle 10g alert日志位置和11g位置不同
10g默认位置为:$ORACLE_HOME/admin/$ORACLE_SID/bdump
11g默认位置为:$ORACLE_BASE/diag/rdbms/db_name名称/$ORACLE_SID/trace

2、2:问题报错
第一个问题:
WARNING: inbound connection timed out(ORA-3136)
这个报错时间是: 00:33:09 2016
查看官方文档提示:
ORA-03136: inbound connection timed out
Cause: Inbound connection was timed out by the server because user authentication was not completed within the given time specified by SQLNET.INBOUND_CONNECT_TIMEOUT or its default value
用户认证没有在指定时间内完成导致连接server超时
Action: 1) Check SQL*NET and RDBMS log for trace of suspicious connections. 2) Configure SQL*NET with a proper inbound connect timeout value if necessary.
1:检测可疑连接 2:指定适当的时间
个人认为这个没有必要去关心。
第二个问题:
kkjcre1p: unable to spawn jobq slave process
这个报错时间是:01:17:55 2016
搜索可能原因是processes配置过低,导致相关job进程无法生成。
3、3:重启服务器
由于无法进入数据库查看processes设置的数量。所以无法确定。目前只能重启服务器(建议不要直接kill数据库两关进程)。在重启的过程中可能因为需要关闭数据库导致重启时间较慢(我的服务器重启时间超过5分钟)。

4、4:设置processes数量
服务器重启之后,能够正常启动数据库。
使用show parameter processes发现配置数量为默认的150,需要将参数改大:alter system set processes=800 scope=spfile;
设置processes之后,session参数会自动变化

5、5:重启数据库验证参数
由于该参数是静态参数,需要重启数据库设置才能生效。
