bash: solr: command not found

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

bash: solr: command not found

Ryan W
Hi all,

I run solr like this...

service solr start

However, another user of the server can't run solr this way.  They are
seeing...

bash: solr: command not found

How do I enable them to run Solr as a service?

Thank you,
Ryan
Reply | Threaded
Open this post in threaded view
|

Re: bash: solr: command not found

Gora Mohanty-3
On Thu, 15 Oct 2020 at 22:27, Ryan W <[hidden email]> wrote:

> Hi all,
>
> I run solr like this...
>
> service solr start
>

You are probably running Solr on a Linux machine using systemd where
someone has set up the systemd files needed for Solr. This might not have
been done on your client's system. Try searching Google for "Solr systemd"
which seems to turn up likely-looking sources for the files.


> However, another user of the server can't run solr this way.  They are
> seeing...
>
> bash: solr: command not found
>

However, this seems to point to some other error; not from systemd. It
looks like the systemd files may be set up, but the user that Solr is
running as does not have the solr executable in their path. Try including
it in their path, or giving the full path to solr in the systemd file.

Regards,
Gora