Support Article
Unable to add index node
SA-8883
Summary
User is unable to add a new index node.
Error Messages
354) Error injecting constructor, java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "getFileSystemAttributes")
at com.pega.elasticsearch.monitor.fs.FsService.<init>(Unknown Source)
while locating com.pega.elasticsearch.monitor.fs.FsService
for parameter 6 at com.pega.elasticsearch.monitor.MonitorService.<init>(Unknown Source)
while locating com.pega.elasticsearch.monitor.MonitorService
.
.
.
for parameter 4 at com.pega.elasticsearch.action.admin.indices.close.TransportCloseIndexAction.<init>(Unknown Source)
while locating com.pega.elasticsearch.action.admin.indices.close.TransportCloseIndexAction
while locating com.pega.elasticsearch.action.support.TransportAction annotated with @com.pega.elasticsearch.common.inject.multibindings.Element(setName=,uniqueId=2381)
at _unknown_
Steps to Reproduce
- Navigate to System > settings > Search and expand "Search Index Host Node Setting".
- Click Add Node, input valid Search Index Host Node ID and Search Index File Directory.
- Click submit button and the added row disappears without any message.
Root Cause
The root cause of this problem is defect/misconfiguration in the operating environment: the running pega process user did not have the necessary runtime permission.
Resolution
This issue is resolved through the following Local-change:
Grant the "getFileSystemAttributes" to the pega process user.
Published June 12, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.