Unable to browser solr schema. Getting the following error:

Unable to browser solr schema. Getting the following error:

我尝试从 Web 控制台检查 solr 模式,但访问它时也出现错误。来自日志:

INFO: 2016-04-11        06:19:16        0:0:0:0:0:0:0:1 -       0:0:0:0:0:0:0:1 8983    POST    /solr/schema/fields     -       500     486     558     50      http://myserver.net:8983   curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.18 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2    -
36865524 ERROR (qtp59559151-18) [   x:fedora] o.a.s.h.RequestHandlerBase java.nio.file.NoSuchFileException: /opt/HWEEArchive/solr/solr-5.5.0/server/solr/fedora/data/index/segments_18
    at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
    at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
    at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144

36865527 INFO  (qtp59559151-18) [   x:fedora] o.a.s.c.S.Request [fedora]  webapp=/solr path=/admin/luke params={show=index&numTerms=0&wt=json&_=1460355771692} status=500 QTime=7
36865530 ERROR (qtp59559151-18) [   x:fedora] o.a.s.s.HttpSolrCall null:java.nio.file.NoSuchFileException: /opt/HWEEArchive/solr/solr-5.5.0/server/solr/fedora/data/index/segments_18
    at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
    at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
    at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144

好的,我找到了。是权限问题。我曾经 运行 solr 与 root 和现在与 solr 用户一起使用。我已经修复了所有 solr 目录的文件权限。然后就开始工作了。