Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/8.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
Java Solr从4.7升级到7.1后的新启动命令_Java_Apache_Solr_Lucene - Fatal编程技术网

Java Solr从4.7升级到7.1后的新启动命令

Java Solr从4.7升级到7.1后的新启动命令,java,apache,solr,lucene,Java,Apache,Solr,Lucene,我刚刚将solr从4.7升级到7.1。 在以前的版本中,我们使用以下命令启动solr: nohup java-DSTOP.PORT=8079-DSTOP.KEY=my_solr_KEY-Xms500m-Xmx500m-jar start.jar 新solr版本的等效命令是什么 我运行了bin/solr start但是: 它加载了默认参数,而不是以前使用的参数(-DSTOP.PORT=8079-DSTOP.KEY=my_solr_KEY-Xms500m-Xmx500m)。我需要在start命令中指

我刚刚将solr从4.7升级到7.1。 在以前的版本中,我们使用以下命令启动solr:
nohup java-DSTOP.PORT=8079-DSTOP.KEY=my_solr_KEY-Xms500m-Xmx500m-jar start.jar

新solr版本的等效命令是什么

我运行了
bin/solr start
但是:

  • 它加载了默认参数,而不是以前使用的参数(-DSTOP.PORT=8079-DSTOP.KEY=my_solr_KEY-Xms500m-Xmx500m)。我需要在start命令中指定这些参数(我不想更改solr安装文件夹中的文件)

  • 我发现以下错误(每隔几秒钟重复一次):

  • 提前感谢

    Mike

    关于启动错误-我猜你在SUSE上。有。有关如何使用最新版本将Solr配置为服务的信息,请参阅。我发现它与lsof版本相关,但版本太旧。旧版本不支持'LISTEN'命令。对于启动错误-我猜您在SUSE上。有。有关如何使用最新版本将Solr配置为服务的信息,请参阅。我发现它与lsof版本相关,但版本太旧。旧版本不支持“侦听”命令。
    Creating Solr home directory /exlibris/sfx_ver/app/solr-7.1.0/example/cloud/node1/solr
    Cloning /exlibris/sfx_ver/app/solr-7.1.0/example/cloud/node1 into
    /exlibris/sfx_ver/app/solr-7.1.0/example/cloud/node2
    
    Starting up Solr on port 8983 using command:
    "bin/solr" start -cloud -p 8983 -s "example/cloud/node1/solr"
    
    Waiting up to 180 seconds to see Solr running on port 8983lsof: unsupported TCP/TPI info selection: C
    lsof: unsupported TCP/TPI info selection: P
    lsof: unsupported TCP/TPI info selection: :
    lsof: unsupported TCP/TPI info selection: L
    lsof: unsupported TCP/TPI info selection: I
    lsof: unsupported TCP/TPI info selection: S
    lsof: unsupported TCP/TPI info selection: T
    lsof: unsupported TCP/TPI info selection: E
    lsof: unsupported TCP/TPI info selection: N
    lsof 4.78
     latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
     latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
     latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
     usage: [-?abhlnNoOPRstUvVX] [+|-c c] [+|-d s] [+D D] [+|-f[gG]] [+|-e s]
     [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]]
     [-p s] [+|-r [t]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [-Z [Z]] [--] [names]
    Use the ``-h'' option to get more help information.
     [\]  lsof: unsupported TCP/TPI info selection: C
    lsof: unsupported TCP/TPI info selection: P
    lsof: unsupported TCP/TPI info selection: :
    lsof: unsupported TCP/TPI info selection: L
    lsof: unsupported TCP/TPI info selection: I
    lsof: unsupported TCP/TPI info selection: S
    lsof: unsupported TCP/TPI info selection: T
    lsof: unsupported TCP/TPI info selection: E
    lsof: unsupported TCP/TPI info selection: N
    lsof 4.78
    ...
    ...
    ...