Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

UnsatisfiedLinkError: /tmp/snappy-1.0.5-libsnappyjava.so

SA-26414

Summary



We receive an error when starting PRPC.

We are using Pega Marketing 7.1.2 on Pega 719, deployed on JBoss 6.4GA and Oracle 12c on Red Hat Enterprise Linux Server 6.6 (Santiago) .

 

Error Messages



13:20:54,473 ERROR [stderr] (server.company.com) Caused by: java.lang.UnsatisfiedLinkError: /tmp/snappy-1.0.5-libsnappyjava.so: /tmp/snappy-1.0.5-libsnappyjava.so: failed to map segment from shared object: Operation not permitted

Steps to Reproduce


 

Root Cause



For security reasons, the Operating System prevents executable code being loaded from the system temp directory.

The Snappy 3rd party component that is used a part of Cassandra places its native code component snappy-1.0.5-libsnappyjava.so to system temp directory,  from where the JVM attempts to access it.

Resolution



The default behaviour can be overridden using the following JVM startup parameter:

 -Dorg.xerial.snappy.tempdir=<folder>

Where <folder> stands for a path from where shared objects should be saved.
 

 

Published August 4, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us