Thanks for reporting back. I think perhaps we don’t claim to fully support FreeBSD. Feel free to submit a PullRequest though if you believe you have a working FreeBSD setup.
Jan > 26. aug. 2020 kl. 14:23 skrev Patrik Peng <patrik.p...@hostpoint.ch>: > > Followup regarding the bin/solr issue for anyone running Solr on FreeBSD. > > The script uses "ps auxww | grep ..." in various places, like: > > SOLR_PROC=`ps auxww | grep -w $SOLR_PID | grep start\.jar | grep jetty\.port` > For reasons unknown to me, FreeBSD's "ps auxww" truncates the COMMAND column > output after ~7 lines, resulting in missing Java Options in its output if > there are many in use. This results in no matches with "grep" and the > behavior mentioned before. > > I fixed the problem by modifying the bin/solr script so that the "grep"d > patterns always appear in "ps"s output before the cutoff. > > Maybe this will help someone in the future. > > Patrik > > On 25.08.20 16:52, Patrik Peng wrote: >> Thanks for your input regarding SOLR-14711, that makes sense. >> >> I wasn't able to reproduce the bin/solr script issue on a Debian >> machine, so I guess there's something wrong with my setup. >> >> Patrik >> >> On 24.08.20 17:26, Jan Høydahl wrote: >>> I think you’re experiencing this: >>> >>> https://issues.apache.org/jira/browse/SOLR-14711 >>> <https://issues.apache.org/jira/browse/SOLR-14711> >>> >>> No idea why the bin/solr script won’t work with SSL... >>> >>> Jan >>> >>>> 24. aug. 2020 kl. 15:52 skrev Patrik Peng <patrik.p...@hostpoint.ch> >>>> <mailto:patrik.p...@hostpoint.ch>: >>>> >>>> Greetings >>>> >>>> I'm in the process of setting up a SolrCloud cluster with 3 Zookeeper >>>> and 3 Solr nodes on FreeBSD and wish to enable SSL between the Solr nodes. >>>> Before enabling SSL, everything worked as expected and I followed the >>>> instructions described in the Solr 8.6 docs >>>> <https://lucene.apache.org/solr/guide/8_6/enabling-ssl.html> >>>> <https://lucene.apache.org/solr/guide/8_6/enabling-ssl.html>. But after >>>> enabling SSL, the solr command line utility stopped working for various >>>> tasks. >>>> >>>> For example: >>>> >>>> $ /usr/local/solr/bin/solr status >>>> >>>> Found 1 Solr nodes: >>>> >>>> Solr process 974 from /var/db/solr/solr-8983.pid not found. >>>> >>>> $ /usr/local/solr/bin/solr create_collection -c test >>>> Failed to determine the port of a local Solr instance, cannot create test! >>>> >>>> Also the following line appears in the logfile even though SSL is enabled: >>>> >>>> 2020-08-24 15:29:52.612 WARN (main) [ ] o.a.s.c.CoreContainer Solr >>>> authentication is enabled, but SSL is off. Consider enabling SSL to >>>> protect user credentials and data with encryption. >>>> >>>> Apart from these oddities, the cluster is working fine and dandy. The >>>> dashboard is available via HTTPS and the nodes can communicate via SSL. >>>> >>>> Does anyone have any clue what's causing this? Any help would be >>>> appreciated. >>>> >>>> Regards >>>> Patrik >>>>