Comments (8)
Aha! I just realized that 5.3.1 installs that file inside of the $SOLR_VAR_DIR
, instead of the default /etc/default
directory: https://github.com/apache/lucene-solr/blob/releases/lucene-solr/5.3.1/solr/bin/install_solr_service.sh#L235
Is it possible for you to use Solr 5.5.3 (or another 5.5.x version) instead?
from ansible-role-solr.
To add a little background from that linked issue:
[vagrant@staff drupalroot]$ sudo find / -name solr.in.sh -type f
/etc/default/solr.in.sh
/root/solr-5.3.1/bin/solr.in.sh
/var/solr/solr.in.sh
/opt/solr-5.3.1/bin/solr.in.sh
We only point to /etc/solr.in.sh
, but for RedHat it looks like the file is installed inside /etc/default/solr.in.sh
instead.
from ansible-role-solr.
Thanks again @geerlingguy. Let me know if I can help any more with this!
from ansible-role-solr.
@cdmo - Hmm... For Solr 6.x, I see that the file is always created at /etc/default/solr.in.sh
I wonder if the 5.x installation is different for RHEL (or even for Ubuntu)... I'll have to retest the role locally a few different ways.
I can't get the error to reproduce when testing locally with 6.3.0.
from ansible-role-solr.
Also, the installer at 5.5.x installs the file directly to /etc/default (the path we have set up in the role): https://github.com/apache/lucene-solr/blob/branch_5_5/solr/bin/install_solr_service.sh#L283
@cdmo - Are you running the latest version of Drupal VM?
from ansible-role-solr.
I also can't get this to reproduce on an Ubuntu box. Downgrading to Vagrant 1.8.6 to try again on a CentOS box...
from ansible-role-solr.
Since I can confirm this is working correctly with the defaults starting in 5.5.x (and possibly 5.4.x, haven't verified when), and it works the same in 6.x, I'm going to leave as-is and recommend upgrading Solr if using 5.3.x or earlier.
from ansible-role-solr.
Okie doke, no problem. I'll use 5.5.3. I was using 5.3.1 just to mirror what we have in our production environment. For dev purposes this is okay I think. Maybe I'll chat with our systems administrator about why we're using the version we're using. Thanks for taking a look.
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.