<tfoot id='dhwFN'></tfoot><legend id='dhwFN'><style id='dhwFN'><dir id='dhwFN'><q id='dhwFN'></q></dir></style></legend>
<i id='dhwFN'><tr id='dhwFN'><dt id='dhwFN'><q id='dhwFN'><span id='dhwFN'><b id='dhwFN'><form id='dhwFN'><ins id='dhwFN'></ins><ul id='dhwFN'></ul><sub id='dhwFN'></sub></form><legend id='dhwFN'></legend><bdo id='dhwFN'><pre id='dhwFN'><center id='dhwFN'></center></pre></bdo></b><th id='dhwFN'></th></span></q></dt></tr></i><div id='dhwFN'><tfoot id='dhwFN'></tfoot><dl id='dhwFN'><fieldset id='dhwFN'></fieldset></dl></div>

    <small id='dhwFN'></small><noframes id='dhwFN'>

    • <bdo id='dhwFN'></bdo><ul id='dhwFN'></ul>

    1. Debian - Solr 没有启动并且日志文件被删除

      时间:2023-09-29
        <tbody id='NjDpb'></tbody>
        <bdo id='NjDpb'></bdo><ul id='NjDpb'></ul>

                <small id='NjDpb'></small><noframes id='NjDpb'>

                <tfoot id='NjDpb'></tfoot>

                <legend id='NjDpb'><style id='NjDpb'><dir id='NjDpb'><q id='NjDpb'></q></dir></style></legend>

                <i id='NjDpb'><tr id='NjDpb'><dt id='NjDpb'><q id='NjDpb'><span id='NjDpb'><b id='NjDpb'><form id='NjDpb'><ins id='NjDpb'></ins><ul id='NjDpb'></ul><sub id='NjDpb'></sub></form><legend id='NjDpb'></legend><bdo id='NjDpb'><pre id='NjDpb'><center id='NjDpb'></center></pre></bdo></b><th id='NjDpb'></th></span></q></dt></tr></i><div id='NjDpb'><tfoot id='NjDpb'></tfoot><dl id='NjDpb'><fieldset id='NjDpb'></fieldset></dl></div>

                本文介绍了Debian - Solr 没有启动并且日志文件被删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我刚刚从 http://www.eu.apache.org/dist/lucene/solr/5.3.1/solr-5.3.1.tgz

                然后我用 tar zxvf solr-5.3.1.tgz 解压到/bin/目录,用 cd/solr-5.3.1/bin 启动二进制文件

                Then I unpacked it with tar zxvf solr-5.3.1.tgz moved into the /bin/ directory with cd /solr-5.3.1/bin to start the binary with

                ./solr start
                

                根据教程和自述文件,第一次试运行不需要更多.

                According to tutorials and readme more is not needed for a first trial run.

                最多等待 30 秒才能看到 Solr 在端口 8983 上运行

                Waiting up to 30 seconds to see Solr running on port 8983

                [-] 30 秒后仍然没有看到 Solr 在 8983 上监听!

                [-] Still not seeing Solr listening on 8983 after 30 seconds!

                tail: „/var/solr/logs/solr.log无法打开阅读

                tail: „/var/solr/logs/solr.log" cannot be opened for reading

                所以我创建了目录和 solr.log 文件并重新启动它

                So I created the directory and the solr.log file and restarted it with

                ./solr start

                日志文件被solr自动删除了,错误还是一样,就是日志文件不可读.这是一个有趣的循环.如何找到读取日志文件的方法以了解 solr 未启动的原因?

                The log file is automatically deleted by solr and the error is the same, that the log file is not readable. This is a funny loop. How can I find a way to read the log file to understand why solr is not starting?

                java-版本

                java版本1.6.0_36"

                java version "1.6.0_36"

                OpenJDK 运行时环境 (IcedTea6 1.13.8) (6b36-1.13.8-1~deb7u1)

                OpenJDK Runtime Environment (IcedTea6 1.13.8) (6b36-1.13.8-1~deb7u1)

                OpenJDK 64 位服务器 VM(内部版本 23.25-b01,混合模式)

                OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)

                推荐答案

                我不认为日志文件正在被删除 - 它可能只是从未创建过.Solr 和 Lucene 5.3 需要 Java 7,所以如果 Java6 VM 是用于启动 Solr 的 JVM - 它将会失败.

                I don't think the log file is being deleted - it's probably just never created. Solr and Lucene 5.3 require Java 7, so if the Java6 VM is the JVM used for starting Solr - it's going to fail.

                您可以使用 ./solr start -f 让 Solr 在前台运行以捕获任何错误,但如果日志记录子系统永远不会启动,它可能不会有什么好处.

                You can use ./solr start -f to get Solr to run in the foreground to catch any errors, but if the logging sub system never starts, it might not do much good.

                这篇关于Debian - Solr 没有启动并且日志文件被删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:在没有索引的情况下使用 Lucene Analyzer - 我的方法 下一篇:我正在尝试通过 SOLR 和 lucene 对文档中的文件进行

                相关文章

                最新文章

                <legend id='2zTlS'><style id='2zTlS'><dir id='2zTlS'><q id='2zTlS'></q></dir></style></legend>

                  <bdo id='2zTlS'></bdo><ul id='2zTlS'></ul>

                <small id='2zTlS'></small><noframes id='2zTlS'>

                <tfoot id='2zTlS'></tfoot>
                  1. <i id='2zTlS'><tr id='2zTlS'><dt id='2zTlS'><q id='2zTlS'><span id='2zTlS'><b id='2zTlS'><form id='2zTlS'><ins id='2zTlS'></ins><ul id='2zTlS'></ul><sub id='2zTlS'></sub></form><legend id='2zTlS'></legend><bdo id='2zTlS'><pre id='2zTlS'><center id='2zTlS'></center></pre></bdo></b><th id='2zTlS'></th></span></q></dt></tr></i><div id='2zTlS'><tfoot id='2zTlS'></tfoot><dl id='2zTlS'><fieldset id='2zTlS'></fieldset></dl></div>