首页 > 技术文章 > TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS报错

Dev0ps 2018-04-18 11:58 原文

[oracle@localhost bin]$ ./lsnrctl start

LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 17-APR-2018 19:38:32

Copyright (c) 1991, 2016, Oracle.  All rights reserved.

Message 1070 not found; No message file for product=network, facility=TNSTNS-12545: Message 12545 not found; No message file for product=network, facility=TNS
 TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS
  TNS-00515: Message 515 not found; No message file for product=network, facility=TNS
   Linux Error: 2: No such file or directory

方法:添加环境变量

ORACLE_HOME=/home/oracle/app/oracle/product/12.2.0/dbhome_2
export ORACLE_HOME

推荐阅读