On 5/28/24 12:00, Lee Daniel wrote:
Hey Jan,

Thanks for the reply.

Above in my replies, I mentioned trying those commands and they were not working. As Shawn may have suggested that I had probably overridden them, which I have no idea how.

*My original point was:*

  * My displeasure in running solr as root. I would run it using
    `/solr/bin/solr start -force/`.
  * Then I mentioned `/sudo service solr start/` and `/sudo systemctl
    start/` don't work for me.
  * When I use those commands they appear to start from the cli but the
    process ID can not be found and the Apache solr status indicates
    it's not running. It would appear it start's and stops. With nothing
    in the logs.

Reading the install_solr_service.sh script, I don't believe it will work on any systemd-based distro. I bet the commands "appear to work" because there is no usable error reporting in them: they don't they just don't tell you that.

Install docker: https://docs.docker.com/engine/install/centos/ and run solr in a container: https://hub.docker.com/_/solr/

Then you won't need to deal with the incompatible init systems and outdated install scripts.

Dima



Reply via email to