Hey Shawn,
Now it is clear and it worked.

Thanks,
Roland

Shawn Heisey <apa...@elyograg.org> ezt írta (időpont: 2023. jún. 19., H,
17:48):

> On 6/19/23 03:05, Szűcs Roland wrote:
> > I had a few projects with solr on windows but this is the very first time
> > to work with Solr on Ubuntu. I followed every step of the
> >
> https://solr.apache.org/guide/solr/latest/deployment-guide/taking-solr-to-production.html
> .
> > When My non-root user executed that install script.
> >
> > The solr user and group was created by the installation script, I left
> > everything on default. I could access the admin page of Solr on
> localhost.
> > Then I tried to create a core from the terminal in single node mode which
> > is automatically recognized anyway, and got the following error:
>
> I can almost guarantee that the problem here is you ran the `bin/solr
> create` command as a user other than solr.  Most likely root.
>
> Part of the creation is handled by the bin/solr script, part of it is
> handled within Solr.  If the user running the solr service cannot write
> to the new core directory created by the script, then the creation will
> fail.
>
> You need to run the bin/solr command as solr, never root or any other user.
>
> Thanks,
> Shawn
>

Reply via email to