报TNS12547: TNS:lost contact 错误的解决方法

今天有同事报告说开发服务器的监听启动出错,报以下错误
lsnrctl start
LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 06-JUL-2009 14:37:59
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
Starting /opt/oracle/product/9ir2/bin/tnslsnr: please wait...
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
  TNS-00517: Lost contact
  Linux Error: 32: Broken pipe

之后立刻问google,网上还是很多有经验的人。

实际上就是lintener.log日志文件太大了,超过2G了,所以无法启动。
解决办法:
一定要先停掉listener。
rm listener.log
lsnctrl start
一切正常。。。。

问题:为什么在Linux下有2G的限制?然道是oracle对lintener.log的限制?
人生有三宝:终身运动,终身学习,终身反醒.吸收新知,提高效率,懂得相处,成就自己,也成就他人,创造最高价值。
原文地址:https://www.cnblogs.com/jimeper/p/1543504.html