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

Service does not work on SOLR 4.x and Ubuntu 16.04 #90

Closed
hussainweb opened this issue Jan 28, 2018 · 1 comment
Closed

Service does not work on SOLR 4.x and Ubuntu 16.04 #90

hussainweb opened this issue Jan 28, 2018 · 1 comment

Comments

@hussainweb
Copy link

I am using this role as part of DrupalVM. I have set solr_version to 4.5.1.

SOLR installs correctly (at least as far as the Ansible tasks dictate), but the service never starts. However, when running the init.d version of the script, it works fine:

$ sudo /etc/init.d/solr start

I was wondering why it doesn't do the same thing when run as sudo service solr start. Then I realized that Ubuntu 16.04 uses systemd which does not use the init.d script. I saw the systemd version of the file and saw the problem.

ExecStart={{ solr_install_path }}/bin/solr -e cloud -noprompt

The {{ solr_install_path }}/bin directory on SOLR 4.5.1 is empty. To make sure that this is not a packaging problem, I even cross-checked it with SOLR 4.9.1 and it was still empty. I am assuming this is true for all 4.x releases. As a side note, the configure-solr.sh included in DrupalVM doesn't work for the same reason.

I see the above being changed in #56 but that has not been merged yet. I know there is a reason that is not merged yet and I want to bring this issue to your attention as well.

@hussainweb
Copy link
Author

Oh, I found another issue #81 which already covers this problem. Closing this one as duplicate.

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

1 participant