监听器启动时报错:TNS-12537:TNS:connectionclosed/TNS-00507:C
程序员文章站
2022-06-15 23:01: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:43Copyright (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/hosts127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.57.217 ocm1.bys.com ocm1
修改后重新启动监听器,正常。
上一篇: js网页版计算器的简单实现
下一篇: 为MYSQL加注释[组图]_MySQL