【轉】在linux下oracle的TNS-12537, TNS-12560, TNS-00507

東北胖子發表於2013-04-22

在oracle的監聽如果出現TNS-12537, TNS-12560, TNS-00507 Linux Error: 29: Illegal seek error When Starting the Listener問題,如下圖:

 

請修改/etc/hosts,保證如下圖,這樣監聽才能正常啟動

 

$ lsnrctl start
LSNRCTL for LINUX: Version 10.1.0.4.0 - Production on 01-JUL-2005 10:16:59
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting /db02/product/10.1/bin/tnslsnr: please wait...
TNS-12537: TNS:connection closed
TNS-12560: TNS:proto adapter error
TNS-00507: Connection closed
HPUX Error: 29: Illegal seek

Changes

Verify the user attempting to start the TNS Listener process has read permissions on the /etc/hosts file, and that this file contains the localhost entry:

127.0.0.1 localhost.localdomain localhost        -----保證含有這條記錄
192.168.2.20 single.oracle.com single .

本文出自 “lucky dog” 部落格,請務必保留此出處http://703356.blog.51cto.com/693356/432595

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/2317695/viewspace-759005/,如需轉載,請註明出處,否則將追究法律責任。

相關文章