I just successfully installed datastax enterprise 5.0 but I can't get solr running
I got "Connection refused" trying to use
dsetool create_core keyspace.table
Also port 8983 isn't listening
Is there something to do in order to launch the solr service ?
Regards
Yeah if it's a tarball start with dse cassandra -s for search. If it's a package install, edit /etc/defaults/dse to have SOLR_ENABLED=1
Related
I am trying to install CKAN from package on ubuntu 14.04 using the latest docs.
So while setting up solr when I execute the command:
sudo service jetty restart
I get this on my terminal:
* Starting Jetty servlet engine. jetty
* /var/run/jetty.pid exists, but jetty was not running. Ignoring /var/run/jetty.pid
/etc/init.d/jetty: 274: /etc/init.d/jetty: /usr/sbin/rotatelogs: not found
* Jetty servlet engine started, reachable on http://ammar-HP-ProBook-450-G4:8983/. jetty [fail]
Hence I cannot see a solr welcome page on localhost:8983/solr/
Help Please...
I'm not sure why its used a different hostname to localhost, but it sounds it is running on this slightly different address and you can simply configure CKAN to use it:
solr_url=http://ammar-HP-ProBook-450-G4:8983/solr
I am using datastax 2.2.2 in my ubuntu:12.04 system. I just downloaded tar ball and started solr using
dse cassandra -s
It starts solr. I verified it using
netstat -plten
It show port 8983 is being used.
10.XX.XX.XX:8983/solr/ --> Call never ends. It's keep on loading.
I started opscenter and checked with ip:8888/ it shows opscenter ui.
What is the solr web interface url for datastx 2.2.2 and Do i need to change any configurations for solr?
Any Ideas?
The Solr Admin UI default is usually:
<ip>:8983/solr
For example from my test VM on my local machine:
http://192.168.56.20:8983/solr/
I installed the latest version of Cassandra and as you see it is running:
sudo service cassandra status
* Cassandra is running
but when i try cqlsh it gives me :
Connection error: Could not connect to localhost:9160
when i try to connect to the Cassandra of the another server it is work fine
why it is happening and how can i resolve it?
thanks in advance,
java -version:"1.7.0_51"
OS:Ubuntu 12.04 lts
I have followed this guide to install Solr in TomCat running on Windows Server 2008 R2.
http://drupal.org/node/1359598
As described in step 6 of the guide I can run Solr from the command line using the following:
java -Dsolr.solr.home=c:/solr/ -jar start.jar
As expected I can now see Solr at http://localhost:8983/solr/
If I reboot the server Solr does not start automatically. I have to run the start.jar file via the command line as shown above.
I have tried adding the following to the Java Options in the Configure TomCat UI.
-Dsolr.solr.home=c:\solr
This doesn't work. The only way I can run Solr is to use the command line. I'm sure that this is a simple problem to resolve but I can't work it out. Does anyone have any idea what I've configured incorrectly?
My technology stack is:
JRE 7
TomCat 7.0
Solr 3.6.0
Windows Server 2008 R2 (IIS 7.5)
Default servlet container in solr is jetty, not tomcat. So when you are running java -jar start.jar you are starting jetty.
Please refer to the following doc on running solr with tomcat .
Once you have done this, to start tomcat as a service that automatically restarts follow this doc http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html
I want to setup search for my site. I couldn't find much information to install Jetty + Solr on my linode.
I could install solr-jetty on ubuntu simply using apt-get. any body has better experience with debian?
You shouldn't need to install it through the package manager. Jetty is deployed with Solr from the Solr homepage. So long as you have java installed on your server you can simply unpack the Solr distibution, read example/README.txt