# Startup failing... librocksdb

**URL:** <https://community.dremio.com/t/startup-failing-librocksdb/632>\
**Category:** Uncategorized\
**Created:** [January 12, 2018, 8:16pm UTC](https://community.dremio.com/t/startup-failing-librocksdb/632 "2018-01-12T20:16:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hugoaschieck](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/hugoaschieck/32/79_2.png) [@hugoaschieck](https://community.dremio.com/u/hugoaschieck)\
**Post date:** [January 12, 2018, 8:16pm UTC](https://community.dremio.com/t/startup-failing-librocksdb/632/1 "2018-01-12T20:16:04Z")

</div>

Hello. I’m attempting to install the latest community version and getting an error related to librocksdb. Thoughts?

> ```
> Installed:
> dremio-community.noarch 0:1.3.1-201712020438070881_a7af5c8_1
> 
> ```

Java:

> [ec2-user@ip-00-00-00-00 ~]$ java -version  
> openjdk version “1.8.0\_151”  
> OpenJDK Runtime Environment (build 1.8.0\_151-b12)  
> OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

Error:

> 2018-01-12 14:55:38,965 [main] ERROR c.dremio.common.CatastrophicFailure - Catastrophic Failure Occurred, exiting. Information message: Failed to start services, daemon exiting.  
> java.lang.UnsatisfiedLinkError: /tmp/librocksdbjni139659061814328731.so: /tmp/librocksdbjni139659061814328731.so: failed to map segment from shared object: Operation not permitted  
> at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[na:1.8.0\_151]  
> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) ~[na:1.8.0\_151]  
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) ~[na:1.8.0\_151]  
> at java.lang.Runtime.load0(Runtime.java:809) ~[na:1.8.0\_151]  
> at java.lang.System.load(System.java:1086) ~[na:1.8.0\_151]  
> at org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:78) ~[rocksdbjni-5.3.6.jar:na]  
> at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:56) ~[rocksdbjni-5.3.6.jar:na]  
> at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:64) ~[rocksdbjni-5.3.6.jar:na]  
> at org.rocksdb.RocksDB.(RocksDB.java:35) ~[rocksdbjni-5.3.6.jar:na]  
> at com.dremio.datastore.ByteStoreManager.start(ByteStoreManager.java:121) ~[dremio-services-datastore-1.3.1-201712020438070881-a7af5c8.jar:1.3.1-201712020438070881-a7af5c8]  
> at com.dremio.datastore.CoreStoreProviderImpl.start(CoreStoreProviderImpl.java:167) ~[dremio-services-datastore-1.3.1-201712020438070881-a7af5c8.jar:1.3.1-201712020438070881-a7af5c8]  
> at com.dremio.datastore.LocalKVStoreProvider.start(LocalKVStoreProvider.java:86) ~[dremio-services-datastore-1.3.1-201712020438070881-a7af5c8.jar:1.3.1-201712020438070881-a7af5c8]  
> at com.dremio.service.SingletonRegistry$AbstractServiceReference.start(SingletonRegistry.java:137) ~[dremio-common-1.3.1-201712020438070881-a7af5c8.jar:1.3.1-201712020438070881-a7af5c8]  
> at com.dremio.service.ServiceRegistry.start(ServiceRegistry.java:74) ~[dremio-common-1.3.1-201712020438070881-a7af5c8.jar:1.3.1-201712020438070881-a7af5c8]  
> at com.dremio.service.SingletonRegistry.start(SingletonRegistry.java:33) ~[dremio-common-1.3.1-201712020438070881-a7af5c8.jar:1.3.1-201712020438070881-a7af5c8]  
> at com.dremio.dac.daemon.DACDaemon.startServices(DACDaemon.java:171) ~[dremio-dac-backend-1.3.1-201712020438070881-a7af5c8.jar:1.3.1-201712020438070881-a7af5c8]  
> at com.dremio.dac.daemon.DACDaemon.init(DACDaemon.java:177) ~[dremio-dac-backend-1.3.1-201712020438070881-a7af5c8.jar:1.3.1-201712020438070881-a7af5c8]  
> at com.dremio.dac.daemon.DremioDaemon.main(DremioDaemon.java:172) [dremio-dac-daemon-1.3.1-201712020438070881-a7af5c8.jar:1.3.1-201712020438070881-a7af5c8]

---

<div class="post-metadata">

**Author:** ![laurent](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/laurent/32/16_2.png) [@laurent](https://community.dremio.com/u/laurent)\
**Post date:** [January 12, 2018, 8:50pm UTC](https://community.dremio.com/t/startup-failing-librocksdb/632/2 "2018-01-12T20:50:29Z")

</div>

If you use a special mount point for `/tmp`, make sure it is mounted so that you can run executables from it (check manpages for mount(8) and look at the exec/noexec flag).

Alternatively, you can choose an alternative directory by editing `dremio-env`, and adding a system property `-Djava.io.tmpdir=<directory>` to the environment variable `DREMIO_JAVA_EXTRA_OPTS`.

---

<div class="post-metadata">

**Author:** ![nuwan1](https://avatars.discourse-cdn.com/v4/letter/n/a6a055/32.png) [@nuwan1](https://community.dremio.com/u/nuwan1)\
**Post date:** [November 26, 2019, 7:01am UTC](https://community.dremio.com/t/startup-failing-librocksdb/632/3 "2019-11-26T07:01:25Z")

</div>

> [@hugoaschieck](#):
>
> librocksdb. Thoughts?

Thank you laurent you save me lot 😀
