Re: Cannot Run Solr as the Solr User

2024-05-28 Thread Lee Daniel
 Thank Dima. I did see the EOL is June 30th.. Funny thing is we pay for hosting, so that may be a conversation we'll have to have with the company. Find out what's their plan. Thanks for that though. Thanks again. Lee On 2024-05-28 15:48, Dmitri Maziuk wrote: On 5/28/24 14:02, Lee Daniel wr

Re: Cannot Run Solr as the Solr User

2024-05-28 Thread Dmitri Maziuk
On 5/28/24 14:02, Lee Daniel wrote:  * /var/solr was exactly the problem. The parent folder was owned by    solr:solr but I saw subfolders especially in data was owned by    root:root.  * I did are `chown -R solr:solr` on the parent folder and then tried    `service solr start`.  * It then

Re: Cannot Run Solr as the Solr User

2024-05-28 Thread Lee Daniel
Thanks Dima and Shawn for your response. *Dima: * * We did consider going with Docker initially but we settled on going with installing from scratch seeing that we are now testing it out. * We have a few servers, we are just trying to this first set up for now with one site and see how i

Re: Cannot Run Solr as the Solr User

2024-05-28 Thread Shawn Heisey
On 5/27/24 13:43, Lee Daniel wrote: I'm on Centos 7.5. Can't find it in:  * /usr/lib/systemd/system  * /usr/sbin/ I found it in  * /etc/init.d/ I know for sure when I initially installed I was able to use:  * service solr start/stop/restart  * systemctl start/stop/restart solr.servic

Re: Cannot Run Solr as the Solr User

2024-05-28 Thread Dmitri Maziuk
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 run

Re: Cannot Run Solr as the Solr User

2024-05-28 Thread Lee Daniel
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 usin

Re: Cannot Run Solr as the Solr User

2024-05-28 Thread Jan Høydahl
Hi, If using "sudo service solr start/stop" works for you, then what is your pain point? Please explain. As Shawn points out, the systed start script takes care of running the process under the "solr" user. Jan > 28. mai 2024 kl. 04:09 skrev Dmitri Maziuk : > > On 5/27/24 14:43, Lee Daniel wr

Re: Cannot Run Solr as the Solr User

2024-05-27 Thread Dmitri Maziuk
On 5/27/24 14:43, Lee Daniel wrote: I'm on Centos 7.5. Can't find it in:  * /usr/lib/systemd/system  * /usr/sbin/ I found it in  * /etc/init.d/ /etc/init.d/solr [start|stop|restart] should work, then. I forget how it works in centos 7, IIRC there was some kind of systemd-sysvinit rpm

Re: Cannot Run Solr as the Solr User

2024-05-27 Thread Lee Daniel
I'm on Centos 7.5. Can't find it in: * /usr/lib/systemd/system * /usr/sbin/ I found it in * /etc/init.d/ I know for sure when I initially installed I was able to use: * service solr start/stop/restart * systemctl start/stop/restart solr.service Lee On 2024-05-27 11:51, Dmitri Mazi

Re: Cannot Run Solr as the Solr User

2024-05-27 Thread Dmitri Maziuk
On 5/27/24 05:26, Lee Daniel wrote: Can someone please advise?/ In lennartware /usr/lib/systemd/system is where startup scripts (usually) live. Find solr.service there and see what it does. Depending on the distribution [/usr]/sbin/service may or may not be a wrapper script for either syst

Re: Cannot Run Solr as the Solr User

2024-05-27 Thread Lee Daniel
I stopped the Solr by using * /sudo /opt/solr/bin/solr stop -force/ Then tried using restarting by using: * /sudo service solr start / * /sudo systemctl start/ The results of both commands indicated that solr started but I could not get to the admin ui. Checked the process id, indicat

RE: Re: Cannot Run Solr as the Solr User

2024-05-26 Thread Lee Daniel
Hey Shawn, Thanks much for the reply. I have used this command * /sudo service solr start/stop/restart/ I have also run it by using: * /sudo systemctl start/stop/restart solr/ But I assumed that's how it should be ran because of the documentation for Apache Solr 9.5.. So my concern is

Re: Cannot Run Solr as the Solr User

2024-05-26 Thread Shawn Heisey
On 5/22/24 10:16, Lee Daniel wrote:  * Upon installing Apache Solr, a user */solr/* was automatically created. o Running Solr through from the root is not recommend and will    terminate unless `-force` is used.  * If I switch accounts `su solr`/*, */run `/opt/solr/bin/solr start`,