Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/oracle/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Oracle lsnrctl启动rane当我启动此命令时,此错误出现_Oracle_Database Administration - Fatal编程技术网

Oracle lsnrctl启动rane当我启动此命令时,此错误出现

Oracle lsnrctl启动rane当我启动此命令时,此错误出现,oracle,database-administration,Oracle,Database Administration,这是我的侦听器配置: [oracle@myserver ~]$ lsnrctl start rane LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-SEP-2016 23:04:58 Copyright (c) 1991, 2009, Oracle. All rights reserved. Starting /oraeng/app/oracle/product/11.2.0/bin/tnslsnr: please wa

这是我的侦听器配置:

[oracle@myserver ~]$ lsnrctl start rane

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-SEP-2016 23:04:58

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

Starting /oraeng/app/oracle/product/11.2.0/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /home/oracle/listener.ora
Log messages written to /oraeng/app/oracle/product/11.2.0/log/diag/tnslsnr/myserver/rane/alert/log.xml
TNS-01150: The address of the specified listener name is incorrect

Listener failed to start. See the error message(s) above...

您指定的端口号无效。侦听器通常的端口号是1521,但如果要使用不同的值,则它仍必须在有效范围内,最大值为65535,并且避免使用已知的最多1024个端口。您尝试使用的号码152101远远超出了允许的范围


.

您的
侦听器.ora中指定的地址可能不正确?为什么要启动名为RANE的侦听器?为什么不使用listener的默认侦听器名称呢?由于您没有共享listener.ora的内容,因此没有人能确切地告诉您出了什么问题[oracle@oracle~]$lsnrctl启动侦听器lsnrctl for Linux:11.2.0.1.0版-2016年10月2日13:12:21生产版权所有(c)1991年,2009年,Oracle。版权所有。正在启动/oraeng/app/oracle/product/11.2.0/bin/tnslsnr:请稍候。。。TNSLSNR for Linux:版本11.2.0.1.0-生产系统参数文件为/home/oracle/listener.ora日志消息写入/oraeng/app/oracle/product/11.2.0/Log/diag/TNSLSNR/oracle/listener/alert/Log.xml TNS-01150:指定侦听器名称的地址不正确侦听器启动失败。请参阅上面的错误消息…same errorLISTENER=(DESCRIPTION_LIST=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.246.128)(PORT=152101)))SID_LIST_LISTENER=(SID_LIST=(SID_DESC=(SID_NAME=raneesh)(ORACLE_HOME=/oraeng/app/ORACLE/product/11.2.0)))这是我的监听器
LISTENER =
 (DESCRIPTION_LIST =
  (DESCRIPTION =
   (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.246.128)(PORT =152101 ))
   )
  )
 )
 SID_LIST_LISTENER=
  (SID_LIST=
   (SID_DESC= (SID_NAME = raneesh)
   (ORACLE_HOME =/oraeng/app/oracle/product/11.2.0 )
  )
 )