Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8602261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:02:32+00:00 2026-06-12T02:02:32+00:00

The sunspot_solr version that I am using is 1.3.3. I am using sunspot_solr gem

  • 0

The sunspot_solr version that I am using is 1.3.3.

I am using sunspot_solr gem to start and stop a local instance of Solr. I use the following command to start it:

rake sunspot:solr:start

and the following command to stop it:

rake sunspot:solr:stop

However, stop is not working. I noticed that the pid written in the pids folder is not the correct one.

When I start, I can see the following as output on the ps -ef | grep 'java' command:

1000      4758  4752  0 20:32 ?        00:00:00 sh -c java -Djetty.port\=8982 -Dsolr.data.dir\=/home/panayotis/my_documents/ezMTA/solr/data/development -Dsolr.solr.home\=/home/panayotis/my_documents/ezMTA/solr -Djava.util.logging.config.file\=/tmp/logging.properties20120902-4758-13patuu -jar start.jar

1000      4761  4758  7 20:32 ?        00:00:01 java -Djetty.port=8982 -Dsolr.data.dir=/home/panayotis/my_documents/ezMTA/solr/data/development -Dsolr.solr.home=/home/panayotis/my_documents/ezMTA/solr -Djava.util.logging.config.file=/tmp/logging.properties20120902-4758-13patuu -jar start.jar

This means that the real server process is the one with pid “4761”. Process “4758” is only there to start the server in a shell.

When I cat the pid file I see:

cat solr/pids/development/sunspot-solr-development.pid
4758

Which means that rake sunspot:solr:stop is killing “4758” and leaves “4761” up and running.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T02:02:34+00:00Added an answer on June 12, 2026 at 2:02 am

    I have downgraded to 'sunspot_solr', '1.3.1' and now it works ok.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this error when running rake sunspot:solr:start And then seeing at log/sunspot-solr-development.log SEVERE:
I'm new to using Solr Sunspot for Rails. I'm trying to use the <filter
How can I debug Solr search queries when using the Sunspot gem on Rails?
I am using Sunspot (Ruby/Rails) on top of SOLR in my webapp. Now I
I'm using sunspot/rails version 2. It's working great, but I can't figure out how
I am trying to make a simple query using sunspot/solr and I seem to
We are using sunspot for search in our latest project. We also use devise
I am using Sunspot/Solr to index my Rails website. I index City name by
I'm using Mongoid with Sunspot Solr, and I frequently update the synonyms.txt file, but
What is the way to use Sunspot/Solr with mutiple fields ? It works fine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.