oracle 启动监听故障解决参考:
故障现象一:/oracle >lsnrctl stop
ld.so.1: lsnrctl: fatal: /oracle/product/920/lib/libclntsh.so.9.0: wrong ELF class: ELFCLASS32 Killed
解决参考: try relinking the executable
# relink oracle
or:
# relink all
故障现象二:[oracle@LX01 ]$ lsnrctl start
LSNRCTL for Linux: Version 9.2.0.7.0 - Production on 15-FEB-2008 15:53:24
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Starting /oracle/product/920/bin/tnslsnr: please wait...
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe
解决参考:查看日志$ORACLE_HOME/network/log/listener.log 文件,如果超过2G,监听就会断掉,可以执行如下命令,清空日志文件
[oracle@LX01 ]$ cat /dev/null > listener.log
也可以用如下命令关闭写日志:
LSNRCTL> set log_status off
要开启写日志,只需要
LSNRCTL> set log_status on
也可以在 listener.ora 文件里面添加一项
LOGGING_LISTENER = OFF
添加了这个之后无论你怎么重启监听,都不会写日志了,不建议这样。
阅读(1846) | 评论(0) | 转发(0) |