Closed heng2j closed 1 year ago
The issue may not due to permissions, since I just changed the permissions for the entire /opt/solr/ folder.
By looking at the /var/log/solr/ranger_audits/solr-8983-console.log
the issue may due to lack of memory in my t2.micro instance.
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000a0000000, 1610612736, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 1610612736 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /opt/solr-8.6.2/server/hs_err_pid20672.log
hi @heng2j , it seems your host has no enough memory to start solr. it is recommended that 4 vCore / 16 GB or above.
Yes indeed @bluishglc! Thank you for your confirmation.
Hi Laurence,
Thank you so much for putting together this wonderful repo and the tutorial on DZone. I am following the "Apache Ranger and AWS EMR Automated Installation and Integration Series (4): OpenLDAP + Open-Source Ranger", and I got stuck on step 2.3.3 Install Ranger with permission denied on starting Solr.
Here the log output of what I am seeing now.
I was running the following shell command on my Ranger server EC2 instance.
My shell script and linux permissions are rusty, so any insights or recommendation on how to solve this problem will be great.
Thank you, Heng