Comments (5)
Debug info from journalctl -xe
:
Jul 24 03:19:51 centos7test systemd[1]: Starting Session c1 of user solr.
-- Subject: Unit session-c1.scope has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-c1.scope has begun starting up.
Jul 24 03:19:51 centos7test su[12809]: pam_unix(su-l:session): session opened for user solr by (uid=0)
Jul 24 03:19:51 centos7test solr[12807]: Port 8983 is already being used by another process (pid: 12603)
Jul 24 03:19:51 centos7test solr[12807]: Please choose a different port using the -p option.
Jul 24 03:19:51 centos7test su[12809]: pam_unix(su-l:session): session closed for user solr
Jul 24 03:19:51 centos7test systemd[1]: solr.service: control process exited, code=exited status=1
Jul 24 03:19:51 centos7test systemd[1]: Failed to start LSB: Controls Apache Solr as a Service.
-- Subject: Unit solr.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit solr.service has failed.
--
-- The result is failed.
Jul 24 03:19:51 centos7test systemd[1]: Unit solr.service entered failed state.
Jul 24 03:19:51 centos7test systemd[1]: solr.service failed.
from ansible-role-solr.
Of course Solr is already running:
$ sudo service solr status
Found 1 Solr nodes:
Solr process 12603 running on port 8983
{
"solr_home":"/var/solr/data",
"version":"5.5.2 8e5d40b22a3968df065dfc078ef81cbb031f0e4a - sarowe - 2016-06-21 11:44:11",
"startTime":"2016-07-24T03:19:40.136Z",
"uptime":"0 days, 0 hours, 2 minutes, 21 seconds",
"memory":"57.3 MB (%11.7) of 490.7 MB"}
from ansible-role-solr.
Testing with 6.1.0 now... just want to see if it was fixed upstream in the Solr project itself.
from ansible-role-solr.
With 6.1.0, status works, but when it checks the list of cores, it gives:
TASK [geerlingguy.solr : Check current list of Solr cores.] ********************
fatal: [centos7]: FAILED! => {"changed": false, "content": "", "failed": true, "msg": "Status code was not [200]: Request failed: <urlopen error [Errno 111] Connection refused>", "redirected": false, "status": -1, "url": "http://localhost:8983/solr/admin/cores"}
from ansible-role-solr.
Disregard the above comment—I was running Java 7, and for some reason things worked differently there. Now 5.x and 6.x are both giving the same error at the same time.
I'm trying a hackish workaround of using service solr stop
right after first install to see if we can get Ansible to be able to control the process using the systemd/service
module after that.
from ansible-role-solr.
Related Issues (20)
- log4j.properties does not exist with solr 6.6.6 HOT 1
- Confirm support for Solr 8 HOT 1
- solrcloud mode get error : Error processing the request. CoreContainer is either not initialized or shutting down. HOT 2
- Update solr versions to latest stable releases
- installation problem HOT 1
- Installation problem during playing the playbook HOT 2
- Upgrade version HOT 7
- configset mislocated? HOT 2
- Use role for managing individual cores HOT 2
- Support for separating core configuration and data HOT 4
- Failure to build Solr AMI with Permission denied HOT 2
- Setting solr_remove_cruft: true disallows creating additional cores HOT 3
- Allow to update to a new solr version HOT 3
- Switch defaults to Solr 9 HOT 5
- Solr-Example directory not available in Solr 9.0.0 on Debian 11 HOT 4
- Adjust recommended JVM Memory settings HOT 1
- Consider non root use HOT 2
- Debian 12 with OpenJDK Java 17 results in 'No ScriptEngine found' error HOT 1
- RHEL 9 needs chkconfig installed HOT 1
- Context needs to be updated on the /etc/init.d/solr folder to allow solr to start HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-solr.