在 VPS 上运行 Solr 问题
我有一个使用 Ubuntu 操作系统的 VPS。
我在本地机器(windows xp 笔记本电脑)上运行 solr 就很好。
我已经按照与我的计算机上相同的方式配置了 Jetty 和 Solr,但是是在服务器上。
我还下载了JRE并将其安装在服务器上。
但是,每当我尝试运行 start.jar 文件时,PuTTY 终端都会显示一堆文本,但会卡住。我可以将文本粘贴到这里,但它很长,所以除非有人想看,否则我不会。
另外,我根本无法查看 solr 管理页面。
有人有解决此类问题的经验吗?
也许java没有正确安装?它是一个 VPS,所以安装可能有所不同。
谢谢
更新:
这些是终端的最后几行,换句话说,这是它每次停止的地方:
INFO: [] webapp=null path=null params={event=firstSearcher&q=static+firstSearcher+warming+query+from+solrconfig.xml} hits=0 status=0 QTime=9
May 28, 2010 8:58:42 PM org.apache.solr.core.QuerySenderListener newSearcher
INFO: QuerySenderListener done.
May 28, 2010 8:58:42 PM org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener newSearcher
INFO: Loading spell index for spellchecker: default
May 28, 2010 8:58:42 PM org.apache.solr.core.SolrCore registerSearcher
INFO: [] Registered new searcher Searcher@63a721 main
I have a VPS with Ubuntu OS.
I run solr om my local machine (windows xp laptop) just fine.
I have configured Jetty, and Solr just the same way as on my computer, but on the server.
I have also downloaded the JRE and installed it on the server.
However, whenever I try to run the start.jar file, the PuTTY terminal shows a bunch of text but gets stuck. I could pase the text here but it is very long, so unless somebody wants to see it I wont.
Also, I cant view the solr admin page at all.
Does anybody have experience in this kind of problem?
Maybe java isn't correctly installed? It is a VPS so maybe installation is different.
Thanks
UPDATE:
These are the last lines from the terminal, in other words, this is where it stops every time:
INFO: [] webapp=null path=null params={event=firstSearcher&q=static+firstSearcher+warming+query+from+solrconfig.xml} hits=0 status=0 QTime=9
May 28, 2010 8:58:42 PM org.apache.solr.core.QuerySenderListener newSearcher
INFO: QuerySenderListener done.
May 28, 2010 8:58:42 PM org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener newSearcher
INFO: Loading spell index for spellchecker: default
May 28, 2010 8:58:42 PM org.apache.solr.core.SolrCore registerSearcher
INFO: [] Registered new searcher Searcher@63a721 main
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您检查过防火墙是否正在运行吗?另外,使用 netstat 查看端口 8080 或您已分配给 jetty 的任何端口上是否有侦听器。
have you checked to see if a firewall is running? also, use netstat to see if there is a listener on port 8080 or whatever you have jetty assigned to.