On 1/27/2020 6:57 PM, Salmaan Rashid Syed wrote:
I have Solr 7.6 and it is installed in an AWS ec2 (Ubuntu machine)
instance. I am new to AWS. Devops team has configured it for me.

When I check out the source for Solr 7.6, it intersects perfectly with the line numbers in the stacktrace that you provided.

One thing I constantly notice while executing commands in ec2 instance is
that, it keeps denying command execution until I specifically insert "sudo"
at the beginning.

For example mkdir command also needs sudo at the beginning of the command
etc.

If the parent directory is owned by root and Solr is running as a regular user, then Solr will most likely not have permission to create the desired directory. In that situation, the owner will need to be changed so that the user running Solr does have permission.

If Solr has been installed as a service by the service installer included in the download, then it is extremely likely that it will not be running as root, and the default username that the installer uses is solr.

Thanks,
Shawn

Reply via email to