ORACLE 启动停止错误收集
场景一:停止数据库shudown immediate;
一直没有反应,监控alert日志,发现停在这里:
Active call for process 6755 user 'oracle' program 'oracleprimary0@nissandb3'
SHUTDOWN: waiting for active calls to complete.
SHUTDOWN: waiting for active calls to complete.
解决方法:退出到系统中kill -9 6755
继续监控,发现停在这里:
PMON failed to acquire latch, see PMON dump
解决方法:重开一个session,输入命令:shutdown abort
场景二:停止数据库shutdown immedaite;
一直没有反应,监控alert日志,发现停在这里:
kkjcre1p: unable to spawn jobq slave process, error 1089
解决方案:重开一个session,输入命令:shutdown abort
场景三:启动数据库后启动监听器报错:
TNS-12541: TNS:no listener
解决方案:
解决方案:
1. 修改/etc/hosts文件
原文件为:
127.0.0.1 主机名.localhost 主机名
修改为:
127.0.0.1 localhost
2. 用netca窗口,reconfigure监听器
场景四:服务器上sqlplus没反应
解决方案:
查看系统负载,一般原因是系统负载过高引起,需要重启系统。
场景五:进入数据库显示IDLE, 但是进程有,不能停,也不能启动
解决方案:在系统中kill相关进程。再进入数据库启动。
场景六:
SQL> startup mount;
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_AX03'
解决方案:修改tnsnames.ora文件
添加
LISTENER_AX03 = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
ERROR: LISTENER CANNOT START
SOLUTION: Use command "strace lsnrctl start" to find out reason
Comments
Post a Comment