当前位置:Gxlcms > mysql > 监听器启动时报错:TNS-12537:TNS:connectionclosed/TNS-00507:C

监听器启动时报错:TNS-12537:TNS:connectionclosed/TNS-00507:C

时间:2021-07-01 10:21:17 帮助过:10人阅读

监听器启动时报错: 版本为:LSNRCTL for Linux: Version 10.2.0.1.0 [oracle@ocm1 ~]$ lsnrctl start LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 24-MAR-2014 15:05:43 Copyright (c) 1991, 2005, Oracle. All rights reserved. Starting /u01

监听器启动时报错:

版本为:LSNRCTL for Linux: Version 10.2.0.1.0

[oracle@ocm1 ~]$ lsnrctl start

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 24-MAR-2014 15:05:43
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0.1/dbhome_1/bin/tnslsnr: please wait...
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek

经查询是127.0.0.1 localhost.localdomain localhost 这一条没写对,127后面少了0,更改后正常。

[oracle@ocm1 bin]$ sudo vi /etc/hosts

127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.57.217 ocm1.bys.com ocm1

修改后重新启动监听器,正常。

人气教程排行