Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.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
Ubuntu Apache solr未在macos catalina上收听8983_Ubuntu_Solr - Fatal编程技术网

Ubuntu Apache solr未在macos catalina上收听8983

Ubuntu Apache solr未在macos catalina上收听8983,ubuntu,solr,Ubuntu,Solr,访问我正在尝试在macos catalina上使用apache solr。 该文件夹位于我的根目录中,但当我运行bin/solr start时,会看到以下内容: ➜ solr-7.7.3 bin/solr start *** [WARN] *** Your open file limit is currently 256. It should be set to 65000 to avoid operational disruption. If you no longer wish to

访问我正在尝试在macos catalina上使用apache solr。 该文件夹位于我的根目录中,但当我运行bin/solr start时,会看到以下内容:

➜  solr-7.7.3 bin/solr start
*** [WARN] *** Your open file limit is currently 256.
 It should be set to 65000 to avoid operational disruption.
 If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
*** [WARN] ***  Your Max Processes Limit is currently 2784.
 It should be set to 65000 to avoid operational disruption.
 If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
Waiting up to 180 seconds to see Solr running on port 8983Still not seeing Solr listening on 8983 after 180 seconds!
tail: /Users/sidney/solr-7.7.3/server/logs/solr.log: No such file or directory

如何在mac上的本地计算机上运行solr?

首先检查是否有任何日志显示有意义的内容。您还可以在启动Solr时给出
-f
参数,使其在前台启动-在这种情况下,任何日志都应该直接显示在终端中。@MatsLindh I gor与VM相关的错误无法识别的VM选项“UseConcMarkSweepGC”错误:无法创建Java虚拟机。错误:发生致命异常。程序将退出“您正在使用一个JVM,其中参数
useConMarkSweepGC
已被删除。最简单的方法是从最新版本的Solr开始,而不是从旧版本开始,但是如果您想显式使用7.7,您应该能够设置Solr_选项(如果名称正确,我没有可用的7.7安装)在您的环境中(
export SOLR\u OPTS=…
)-但是grep(
grep-r useConmarksweepgc
)用于初始化脚本中的设置,并通过环境变量覆盖它,或从初始化脚本中手动删除它。您的链接指向
solr-8.8.2
,但您似乎正在使用
solr-7.7.3
。我会按照MatsLindg的建议,使用最新的(8.x)。