On 3/29/2023 7:10 PM, Ricardo Ruiz wrote:
My configuration works for the other three versions, but when I try to
start the service for 9.2.0, the start process fails and keeps
restarting over and over.
From the logs, this is what I can see (please see the attached file).
I'm not sure what could have changed in this new version, or if this is
a problem with the Ansible role, but any insight would be appreciated.
This is the relevant line from the log:
Caused by: java.security.AccessControlException: access denied
("java.io.FilePermission" "/mnt/instance-data/solr/logs" "read")
Is any part of /mnt/instance-data/solr/logs a symlink, or is Solr
started with a directory setting that has a symlink to that location?
Does the user that is running Solr have read/write permission to that
location?
The reason that I ask about symlinks is that Solr 9 starts with a
security manager that restricts what directories it can access. We've
already seen and fixed problems with symlinks for the install directory,
similar problems could exist for the data directories too. Avoiding
symlinks for Solr's data directories would be a good idea. We'd like to
know about any problems there so we can fix them in a future version.
Thanks,
Shawn