Dremio stop working when I reboot the machine

Hi Team

I have Installed the demo successfully like below and Oce I reboot the server dremio is now working again I need to manually start it again

#Install script

sudo groupadd -r dremio

sudo useradd -r -g dremio -d /var/lib/dremio -s /sbin/nologin dremio

sudo mkdir /opt/dremio

sudo mkdir /opt/dremio/log && sudo chown dremio : dremio /opt/dremio/log

sudo mkdir /opt/dremio/run && sudo chown dremio : dremio /opt/dremio/run

sudo mkdir /opt/dremio/data && sudo chown dremio : dremio /opt/dremio/data

# Latest version link can be obtained on https://www.dremio.com/download/ under 'TAR'

cd /tmp

wget https : //download.dremio.com/community-server/dremio-community-LATEST.tar.gz

sudo tar -xvf dremio-community-LATEST.tar.gz -C /opt/dremio/ --strip-components=1

sudo ln -s /opt/dremio/conf /etc/dremio

sudo cp /opt/dremio/share/dremio.service /etc/systemd/system/dremio.service

# Add service

sudo systemctl daemon-reload

sudo systemctl start dremio

# Optionally, set Dremio service to start on boot:

sudo systemctl enable dremio

sudo mount /tmp -o remount,exec

echo “65536” > /proc/sys/fs/file-max

vi /etc/sysctl.conf

fs.file-max = 65536

cd /opt/dremio/data

mkdir ~/dremio-backup

mv db ~/dremio-backup/

service dremio restart

@nuwan1

Can you check the ERROR reported in the server.log and paste it here.

@Venugopal_Menda

Dremio is exiting. Failure while starting services.
java.lang.UnsatisfiedLinkError: /tmp/librocksdbjni5172788960875250092.so: /tmp/librocksdbjni5172788960875250092.so: failed to map segment from shared object: Operation not permitted
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:78)
at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:56)
at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:64)
at org.rocksdb.RocksDB.(RocksDB.java:35)
at org.rocksdb.Options.(Options.java:25)
at com.dremio.datastore.ByteStoreManager.start(ByteStoreManager.java:201)
at com.dremio.datastore.CoreStoreProviderImpl.start(CoreStoreProviderImpl.java:192)
at com.dremio.datastore.LocalKVStoreProvider.start(LocalKVStoreProvider.java:157)
at com.dremio.dac.cmd.upgrade.Upgrade.run(Upgrade.java:160)
at com.dremio.dac.daemon.DremioDaemon.main(DremioDaemon.java:99)
Suppressed: java.lang.IllegalStateException: #start was not invoked, so metadataManager is not available
at com.google.common.base.Preconditions.checkState(Preconditions.java:444)
at com.dremio.datastore.ByteStoreManager.getMetadataManager(ByteStoreManager.java:422)
at com.dremio.datastore.ByteStoreManager.close(ByteStoreManager.java:429)
at com.dremio.common.AutoCloseables.close(AutoCloseables.java:92)
at com.dremio.common.AutoCloseables.close(AutoCloseables.java:71)
at com.dremio.datastore.CoreStoreProviderImpl.close(CoreStoreProviderImpl.java:286)
at com.dremio.datastore.LocalKVStoreProvider.close(LocalKVStoreProvider.java:198)
at com.dremio.dac.cmd.upgrade.Upgrade.run(Upgrade.java:163)
… 1 more
Tue Nov 5 12:43:45 UTC 2019 Starting dremio on 915468-ElasticDemo.newfrontierdata.com
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 79356
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 8192
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 8192
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
12:43:46,190 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
12:43:46,190 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
12:43:46,190 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/opt/dremio/conf/logback.xml]
12:43:46,356 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
12:43:46,365 |-INFO in ch.qos.logback.classic.joran.action.LoggerContextListenerAction - Adding LoggerContextListener of type [ch.qos.logback.classic.jul.LevelChangePropagator] to the object stack
12:43:46,366 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@2d710f1a - Propagating DEBUG level on Logger[ROOT] onto the JUL framework
12:43:46,371 |-INFO in ch.qos.logback.classic.joran.action.LoggerContextListenerAction - Starting LoggerContextListener
12:43:46,371 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
12:43:46,383 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [console]
12:43:46,412 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
12:43:46,711 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
12:43:46,713 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [text]
12:43:46,746 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use gz compression
12:43:46,747 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern /opt/dremio/log/archive/server.%d{yyyy-MM-dd}.%i.log for the active file
12:43:46,750 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@29215f06 - The date pattern is ‘yyyy-MM-dd’ from file name pattern ‘/opt/dremio/log/archive/server.%d{yyyy-MM-dd}.%i.log.gz’.
12:43:46,750 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@29215f06 - Roll-over at midnight.
12:43:46,753 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@29215f06 - Setting initial period to Tue Nov 05 12:38:28 UTC 2019
12:43:46,754 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
12:43:46,757 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[text] - Active log file name: /opt/dremio/log/server.log
12:43:46,757 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[text] - File property is set to [/opt/dremio/log/server.log]
12:43:46,757 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
12:43:46,758 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [metadata_refresh]
12:43:46,758 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use gz compression
12:43:46,758 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern /opt/dremio/log/archive/metadata_refresh.%d{yyyy-MM-dd}.log for the active file
12:43:46,760 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is ‘yyyy-MM-dd’ from file name pattern ‘/opt/dremio/log/archive/metadata_refresh.%d{yyyy-MM-dd}.log.gz’.
12:43:46,760 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
12:43:46,760 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Tue Nov 05 11:58:50 UTC 2019
12:43:46,760 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
12:43:46,761 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[metadata_refresh] - Active log file name: /opt/dremio/log/metadata_refresh.log
12:43:46,761 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[metadata_refresh] - File property is set to [/opt/dremio/log/metadata_refresh.log]
12:43:46,761 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
12:43:46,761 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [json]
12:43:46,762 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use gz compression
12:43:46,762 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern /opt/dremio/log/json/archive/server.%d{yyyy-MM-dd}.%i.json for the active file
12:43:46,763 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@59505b48 - The date pattern is ‘yyyy-MM-dd’ from file name pattern ‘/opt/dremio/log/json/archive/server.%d{yyyy-MM-dd}.%i.json.gz’.
12:43:46,763 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@59505b48 - Roll-over at midnight.
12:43:46,763 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@59505b48 - Setting initial period to Tue Nov 05 12:38:28 UTC 2019
12:43:46,909 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [net.logstash.logback.composite.loggingevent.LoggingEventJsonProviders] for [providers] property
12:43:46,920 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [net.logstash.logback.composite.loggingevent.LoggingEventPatternJsonProvider] for [pattern] property
12:43:46,926 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [net.logstash.logback.composite.loggingevent.ThreadNameJsonProvider] for [threadName] property
12:43:46,938 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [net.logstash.logback.composite.loggingevent.LogLevelJsonProvider] for [logLevel] property
12:43:46,940 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [net.logstash.logback.composite.loggingevent.LogLevelValueJsonProvider] for [logLevelValue] property
12:43:46,942 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [net.logstash.logback.composite.loggingevent.LoggerNameJsonProvider] for [loggerName] property
12:43:46,944 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [net.logstash.logback.composite.loggingevent.MessageJsonProvider] for [message] property
12:43:46,946 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [net.logstash.logback.composite.loggingevent.ArgumentsJsonProvider] for [arguments] property
12:43:46,948 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [net.logstash.logback.composite.loggingevent.StackTraceJsonProvider] for [stackTrace] property
12:43:46,971 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[json] - Active log file name: /opt/dremio/log/json/server.json
12:43:46,971 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[json] - File property is set to [/opt/dremio/log/json/server.json]
12:43:46,971 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
12:43:46,971 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [query]
12:43:46,973 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use gz compression
12:43:46,973 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern /opt/dremio/log/archive/queries.%d{yyyy-MM-dd}.%i.json for the active file
12:43:46,973 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@4efac082 - The date pattern is ‘yyyy-MM-dd’ from file name pattern ‘/opt/dremio/log/archive/queries.%d{yyyy-MM-dd}.%i.json.gz’.
12:43:46,973 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@4efac082 - Roll-over at midnight.
12:43:46,973 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@4efac082 - Setting initial period to Tue Nov 05 09:29:40 UTC 2019
12:43:46,974 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
12:43:46,974 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[query] - Active log file name: /opt/dremio/log/queries.json
12:43:46,974 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[query] - File property is set to [/opt/dremio/log/queries.json]
12:43:46,974 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
12:43:46,974 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [tracker]
12:43:46,975 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use gz compression
12:43:46,975 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern /opt/dremio/log/archive/tracker.%d{yyyy-MM-dd}.%i.json for the active file
12:43:46,976 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6bd61f98 - The date pattern is ‘yyyy-MM-dd’ from file name pattern ‘/opt/dremio/log/archive/tracker.%d{yyyy-MM-dd}.%i.json.gz’.
12:43:46,976 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6bd61f98 - Roll-over at midnight.
12:43:46,976 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6bd61f98 - Setting initial period to Tue Nov 05 09:29:40 UTC 2019
12:43:46,976 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
12:43:46,976 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[tracker] - Active log file name: /opt/dremio/log/tracker.json
12:43:46,976 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[tracker] - File property is set to [/opt/dremio/log/tracker.json]
12:43:46,978 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@2d710f1a - Propagating INFO level on Logger[com.dremio] onto the JUL framework
12:43:46,978 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - com.dremio level set to INFO
12:43:46,978 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@2d710f1a - Propagating INFO level on Logger[query.logger] onto the JUL framework
12:43:46,978 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - query.logger level set to INFO
12:43:46,980 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [query] to Logger[query.logger]
12:43:46,981 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@2d710f1a - Propagating DEBUG level on Logger[tracker.logger] onto the JUL framework
12:43:46,981 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - tracker.logger level set to DEBUG
12:43:46,986 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@131:43 - no applicable action for [additivity], current ElementPath is [[configuration][logger][additivity]]
12:43:46,986 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [tracker] to Logger[tracker.logger]
12:43:46,986 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.dremio.exec.catalog.SourceMetadataManager] to false
12:43:46,986 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@2d710f1a - Propagating INFO level on Logger[com.dremio.exec.catalog.SourceMetadataManager] onto the JUL framework
12:43:46,986 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - com.dremio.exec.catalog.SourceMetadataManager level set to INFO
12:43:46,988 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [metadata_refresh] to Logger[com.dremio.exec.catalog.SourceMetadataManager]
12:43:46,988 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.dremio.exec.store.hive.HiveClient] to false
12:43:46,988 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@2d710f1a - Propagating INFO level on Logger[com.dremio.exec.store.hive.HiveClient] onto the JUL framework
12:43:46,988 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - com.dremio.exec.store.hive.HiveClient level set to INFO
12:43:46,989 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [metadata_refresh] to Logger[com.dremio.exec.store.hive.HiveClient]
12:43:46,989 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [hive.deprecated.function.warning.logger] to WARN
12:43:46,989 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@2d710f1a - Propagating WARN level on Logger[hive.deprecated.function.warning.logger] onto the JUL framework
12:43:46,991 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@158:37 - no applicable action for [additivity], current ElementPath is [[configuration][logger][additivity]]
12:43:46,993 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use gz compression
12:43:46,993 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern /opt/dremio/log/archive/hive.deprecated.function.warning.%d{yyyy-MM-dd}.%i.log for the active file
12:43:46,993 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@48aca48b - The date pattern is ‘yyyy-MM-dd’ from file name pattern ‘/opt/dremio/log/archive/hive.deprecated.function.warning.%d{yyyy-MM-dd}.%i.log.gz’.
12:43:46,993 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@48aca48b - Roll-over at midnight.
12:43:46,993 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@48aca48b - Setting initial period to Tue Nov 05 09:29:40 UTC 2019
12:43:46,994 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
12:43:46,994 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[null] - Active log file name: /opt/dremio/log/hive.deprecated.function.warning.log
12:43:46,994 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[null] - File property is set to [/opt/dremio/log/hive.deprecated.function.warning.log]
12:43:46,994 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@2d710f1a - Propagating ERROR level on Logger[ROOT] onto the JUL framework
12:43:46,994 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to ERROR
12:43:46,996 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [text] to Logger[ROOT]
12:43:46,996 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [json] to Logger[ROOT]
12:43:46,996 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
12:43:46,997 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@13fd2ccd - Registering current configuration as safe fallback point

12:43:59,243 |-INFO in LogbackRequestLog - Will use configuration resource [/logback-access.xml]
12:43:59,249 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - debug attribute not set
12:43:59,252 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
12:43:59,252 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [access-text]
12:43:59,253 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use gz compression
12:43:59,253 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern /opt/dremio/log/archive/access.%d{yyyy-MM-dd}.%i.log for the active file
12:43:59,253 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@73aa0c12 - The date pattern is ‘yyyy-MM-dd’ from file name pattern ‘/opt/dremio/log/archive/access.%d{yyyy-MM-dd}.%i.log.gz’.
12:43:59,253 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@73aa0c12 - Roll-over at midnight.
12:43:59,253 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@73aa0c12 - Setting initial period to Tue Nov 05 10:31:59 UTC 2019
12:43:59,253 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.access.PatternLayoutEncoder] for [encoder] property
12:43:59,264 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[access-text] - Active log file name: /opt/dremio/log/access.log
12:43:59,264 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[access-text] - File property is set to [/opt/dremio/log/access.log]
12:43:59,264 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [access-text] to null
12:43:59,264 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - End of configuration.
12:43:59,264 |-INFO in ch.qos.logback.access.joran.JoranConfigurator@4487b1e - Registering current configuration as safe fallback point

Dremio Daemon Started as master
[root@915468-ElasticDemo log]#

My fixed
o theoogh the /opt/dremio/log/server.out:

sudo mount /tmp -o remount,exec ( I looked “https://stackoverflow.com/questions/13502156/what-are-possible-causes-of-failed-to-map-segment-from-shared-object-operation” and saw)

netstat -pluton | grep 9047

I updated the live maximum number of descriptors:

echo “65536” > /proc/sys/fs/file-max

The, updated for reboot:

vi /etc/sysctl.conf

fs.file-max = 65536

vi /opt/dremio/log/server.out (And looked at the logs)

According to “https://community.dremio.com/t/dremio-dockers-stop-as-soon-as-i-started-them/2523” we need to “remove” the data/db directory:

[root@915468-ElasticDemo tmp]# cd /opt/dremio/data

[root@915468-ElasticDemo data]# mkdir ~/dremio-backup

[root@915468-ElasticDemo data]# mv db ~/dremio-backup/

[root@915468-ElasticDemo data]# service dremio restart

[root@915468-ElasticDemo data]# vi /opt/dremio/log/server.out

after that dremio is working well but I need to recreate the user account again

The ‘db’ directory contains a rocksdb and holds metadata as well as account information. By moving it you’re effectively removing all your accounts. Dremio starts up with a new empty db.
Suspect that maybe ‘db’ is owned by ‘dremio’ user and service is started as ‘root’ user? OR the other way around… But that’s a guess.

@nuwan1

What version of Java is this?

[root@915468-ElasticDemo ~]# java -version
openjdk version “1.8.0_232”
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)
[root@915468-ElasticDemo ~]

root@915468-ElasticDemo data]# ls -la
total 24
drwxr-xr-x. 6 dremio dremio 4096 Nov 5 07:43 .
drwxr-xr-x. 13 root root 4096 Nov 5 04:27 …
drwxr-xr-x. 6 dremio dremio 4096 Nov 5 07:43 db
drwxr-xr-x. 7 dremio dremio 4096 Nov 5 04:33 pdfs
drwxr-xr-x. 2 dremio dremio 4096 Nov 5 04:33 spill
drwxr-xr-x. 3 dremio dremio 4096 Nov 5 07:43 zk
[root@915468-ElasticDemo data]#
and try to start using root user so if I chanage db to root and start it will it work or do I need to work other way around ?

@nuwan1

Sorry not exactly following your question. Are you asking if you have to change the files ownership to root?

How Can I fixed this issue ?