[英]lsnrctl not working on Oracle 19c Database
No matter how I edit, set and export my env variables, lsnrctl start
won't work.无论我如何编辑、设置和导出我的环境变量,
lsnrctl start
都不起作用。
Have already double checked all sets for $ORACLE_HOME
, $ORACLE_BASE
and $ORACLE_SID
, included home/oracle/bin in my $PATH
, but listener keeps returning error messages....已经仔细检查了
$ORACLE_HOME
、 $ORACLE_BASE
和$ORACLE_SID
的所有集合,包括 home/oracle/bin 在我的$PATH
中,但是侦听器不断返回错误消息....
My variables are set as follows:我的变量设置如下:
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_HOSTNAME=dbserver
export ORACLE_UNQNAME=cdb1
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/19.0.0/dbhome_1
export ORA_INVENTORY=/u01/app/oraInventory
export ORACLE_SID=cdb1
export PDB_NAME=pdb1
export DATA_DIR=/u02/oradata
export PATH=/usr/sbin:/usr/local/bin:$PATH
export PATH=$ORACLE_HOME/bin:$PATH
export PATH=/home/oracle/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
Error message:错误信息:
LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 08-DEC-2020 14:06:27
Copyright (c) 1991, 2019, 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
Any hint?有什么提示吗? Thank you.
谢谢你。
echo $ORACLE_HOME
followed by lsnrctl status
: echo $ORACLE_HOME
后跟lsnrctl status
:
Output for ls -l $ORACLE_HOME
Output 用于
ls -l $ORACLE_HOME
[oracle@dbserver ~]$ ls -l $ORACLE_HOME
total 0
[oracle@dbserver ~]$
Output for ls -l $ORACLE_HOME/network/mesg
Output 用于
ls -l $ORACLE_HOME/network/mesg
[oracle@dbserver ~]$ ls -l $ORACLE_HOME/network/mesg
ls: cannot access '/u01/app/oracle/product/19.0.0/dbhome_1/network/mesg': No such file or directory
SOLVED解决了
I noticed a installation problem.我注意到一个安装问题。 The ORACLE_HOME directory didn't have all the expected files, directories and structure.
ORACLE_HOME 目录没有所有预期的文件、目录和结构。
Eventhough, even making a clean new install, I still had to edit my listener.ora file and change the hostname for the server ip address.尽管如此,即使进行全新安装,我仍然必须编辑我的 listener.ora 文件并更改服务器 ip 地址的主机名。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.