Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre5 solr on Centos7 restart problem #51

Closed
bibliotechy opened this issue Dec 15, 2016 · 1 comment
Closed

Pre5 solr on Centos7 restart problem #51

bibliotechy opened this issue Dec 15, 2016 · 1 comment

Comments

@bibliotechy
Copy link

I'm having an issue with restarting solr 4.10 on Centos 7. Calling restart via the handler causes solr to stop, but it does not restart.

I've already hit an issue with solr not starting due to the daemon needing to be reloaded, so I've copied the 5+ logic into the pre5-install.yml tasks but I'm really having trouble sussing out why the restart command is not working.

If I run the commands at the command line, I see a similar issue. If I have a running solr and issue systemctl restart solr, the solr process stops (the log ends with org.eclipse.jetty.util.thread.ShutdownThread – shutdown already commenced , but is not restarted.

If I then issue a systemctl status solr it outputs:

● solr.service - SYSV: Controls an Apache Solr process.
   Loaded: loaded (/etc/rc.d/init.d/solr)
   Active: active (exited) since Thu 2016-12-15 19:48:37 UTC; 2min 35s ago
     Docs: man:systemd-sysv-generator(8)

Dec 15 19:48:37 dangerzone.mydomain systemd[1]: Starting SYSV: Controls an Apache Solr process....
Dec 15 19:48:37 dangerzone.mydomain solr[12063]: Starting solr... already started... done.
Dec 15 19:48:37 dangerzone.mydomain systemd[1]: Started SYSV: Controls an Apache Solr process..

Any thoughts? Happy to test things and submit a PR if you can point me in the right direction.

@geerlingguy
Copy link
Owner

@bibliotechy - Sorry about the delay in responding—yes, this was a bug, and it looks like it may be fixed in the next role version, via #53 and #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants