作者:烦恼的余生_538 | 来源:互联网 | 2018-06-05 16:03
监听器启动时报错:版本为:LSNRCTLforLinux:Version10.2.0.1.0[oracle@ocm1~]$lsnrctlstartLSNRCTLforLinux:Version10.2.0.1.0
监听器启动时报错: 版本为: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
修改后重新启动监听器,正常。