ckan本地安装,未配置solr JSP支持上的500错误 [英] ckan local installation, 500 error on solr JSP support not configured
问题描述
我正在尝试使用Ubuntu 14.04 LTS在本地计算机上安装CKAN.
I am trying to install CKAN on my local computer using Ubuntu 14.04 LTS.
我按照从此处找到的安装说明进行操作,然后尝试通过访问 http://localhost:8983/solr/.
I followed the instructions for installing from source found here and I try to check if solr is running by visiting http://localhost:8983/solr/.
我可以看到Jetty正在运行,因为当我访问 http://localhost:8983 时,我发现它已经启动.
我添加了jdk,如下所示:
JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-amd64
I can see that Jetty is running because when I visit http://localhost:8983 I see that it is up.
I added the jdk as follows:
JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-amd64
尝试打开solr页面时出现500错误:
I am getting a 500 error when i try to open the solr page:
HTTP错误500
HTTP ERROR 500
访问/solr/index.jsp时出现问题.原因:
Problem accessing /solr/index.jsp. Reason:
未配置JSP支持
由Jetty://
有什么想法吗?我应该从头开始重做整个事情吗?
Any ideas? Should I redo the whole thing from the start?
编辑/更新
我只是无法执行此安装.更大的问题是安装文件被网格划分了!我尝试安装tomcat/solr而不是jetty/solr,结果变酸了.因此,我刚刚创建了一个VM,并在那里进行了全新安装.对于感兴趣的人,我在此和此之后的CKAN安装(当然还有solr指令).另外,由于某种原因,CKAN安装已注释了Solr URL,因此即使正确,我也必须删除注释.
Edit/Update
I just couldn't do anything with this installation. The bigger problem was that installation files were meshed up! I tried to install tomcat/solr instead of jetty/solr and things went sour. So I just created a VM and did a fresh install there. For anyone interested I did a tomcat/solr installation following this and a CKAN installation following this (with out of course the solr instructions). Also, for some reason the CKAN installation has commented out the solr URL, so even if it is right, I had to delete the comment.
推荐答案
A fix has been documented by @mstantoncook here [2939] & [1651] How to solr-jetty JSP support
注意最后一条评论,sudo service jetty restart
这篇关于ckan本地安装,未配置solr JSP支持上的500错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!