[oracle@test1 ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 16-JUL-2013 10:10:10
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Message 1070 not found; No message file for product=network, facility=TNSTNSLSNR for Linux: Version 11.2.0.1.0 - Production
Message 279 not found; No message file for product=network, facility=NL
Message 1073 not found; No message file for product=network, facility=TNS
Message 1053 not found; No message file for product=network, facility=TNSMessage 1020 not found; No message file for product=network, facility=TNSMessage 1021 not found; No message file for product=network, facility=TNSMessage 1022 not found; No message file for product=network, facility=TNSMessage 1023 not found; No message file for product=network, facility=TNSMessage 1026 not found; No message file for product=network, facility=TNSMessage 1034 not found; No message file for product=network, facility=TNSMessage 1024 not found; No message file for product=network, facility=TNSMessage 1025 not found; No message file for product=network, facility=TNSMessage 1040 not found; No message file for product=network, facility=TNSMessage 1028 not found; No message file for product=network, facility=TNSMessage 1415 not found; No message file for product=network, facility=TNS Message 1050 not found; No message file for product=network, facility=TNS
Message 1030 not found; No message file for product=network, facility=TNSMessage 1052 not found; No message file for product=network, facility=TNS
解决办法:
出现这问题提示,一般都是因为ORACLE_HOME的问题
在oracle 目录下,network/admin下查看文件listentr.ora 文件,查看listentr.ora的文件位置,与你在 .bash_profile文件里设置的ORACLE_HOME的主目录是否一样,不一样的话重置
export ORACLE_HOME=目录即可
查看当前1521端口是否被占用netstat -anpt | grep 1521
如果被占用,则kill 掉
然后再启动监听lsnrctl start 即可