You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Shawn Heisey <ap...@elyograg.org> on 2023/04/03 04:00:52 UTC
Re: Can't start solr with 9.2.0
On 3/30/23 10:48, Ricardo Ruiz wrote:
> Unfortunately, I can't avoid symlinks for the Solr data directory. Is
> there anything else I can try?
Set Solr's data directories directly into the real path, don't use a
path with a symlink.
Since Solr 9.1, Solr uses a Java security manager that limits what
rights it has outside of its own directories.
We found problems with this for installs using the service installer,
because the install dir (usually /opt/solr) is a symlink to solr-X.Y.Z.
In 9.2.0, that problem is mostly fixed.
Unfortunately, there is still a problem with the security manager if
symlinks are involved for other directories, like data and logs. So for
right now you can't use symlinks for those directories with an
out-of-the-box setup.
Fixing the remaining problem is going to require some intricate surgery
on the bin/solr script. I've begun work on it, but it might take me a
little while.
Just saw that you edited the security policy directly, which is another
way to fix it.
Thanks,
Shawn