Standalone linux installation

Hi all
I am trying to install a standalone dremio on a Ubuntu2022 machine (not a VM)
Tried with either 4.9.1-202010230218060541-2e764ed0 and 21.1.1-202204292111390812-57b1832f version.
I followed the steps (Dremio)
and when I run
sudo systemctl dremio status
It says that it couldn´t start the service
I have jre8 installed already.

Can someone please help?
Many thanks

Hi @txalaparta , could you please provide us with a log file ?
Best,

Hi fetanchaud
I installed it via tarball (.tar.gz)

Here´s what I see:
root@oskar-virtual-machine:/var/log/dremio# sudo service dremio status
× dremio.service - Dremio Daemon Server
Loaded: loaded (/etc/systemd/system/dremio.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2022-05-12 10:31:31 CEST; 49s ago
Docs: https://docs.dremio.com
Process: 4842 ExecStart=/opt/dremio/bin/dremio start-fg (code=exited, status=1/FAILURE)
Main PID: 4842 (code=exited, status=1/FAILURE)
CPU: 311ms

may 12 10:31:31 oskar-virtual-machine systemd[1]: dremio.service: Scheduled restart job, restart counter is at 5.
may 12 10:31:31 oskar-virtual-machine systemd[1]: Stopped Dremio Daemon Server.
may 12 10:31:31 oskar-virtual-machine systemd[1]: dremio.service: Start request repeated too quickly.
may 12 10:31:31 oskar-virtual-machine systemd[1]: dremio.service: Failed with result ‘exit-code’.
may 12 10:31:31 oskar-virtual-machine systemd[1]: Failed to start Dremio Daemon Server.
root@oskar-virtual-machine:/var/log/dremio#

I also checked for log files and I cannot see any at /var/log/dremio
surprinsingly I cannot find any <DREMIO_HOME>/log directory. In my case /opt/dremio
Is there anything I´m missing?

Thanks

Hello again
I managed to start the service from /opt/dremio/bin
root@oskar-virtual-machine:/opt/dremio/bin# service dremio status
● dremio.service - Dremio Daemon Server
Loaded: loaded (/etc/systemd/system/dremio.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-05-12 10:55:31 CEST; 3s ago
Docs: https://docs.dremio.com
Main PID: 17296 (java)
Tasks: 18 (limit: 2250)
Memory: 27.3M
CPU: 4.822s
CGroup: /system.slice/dremio.service
└─17296 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Djava.util.logging.config.class=org.slf4j.bridge.SLF4JBridgeHandler -Djava.library.pat>

may 12 10:55:34 oskar-virtual-machine dremio[17335]: at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:140)
may 12 10:55:34 oskar-virtual-machine dremio[17335]: at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
may 12 10:55:34 oskar-virtual-machine dremio[17335]: at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:55)
may 12 10:55:34 oskar-virtual-machine dremio[17335]: at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
may 12 10:55:34 oskar-virtual-machine dremio[17335]: at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
may 12 10:55:34 oskar-virtual-machine dremio[17335]: at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)
may 12 10:55:34 oskar-virtual-machine dremio[17335]: at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
may 12 10:55:34 oskar-virtual-machine dremio[17335]: at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
may 12 10:55:34 oskar-virtual-machine dremio[17335]: at com.dremio.dac.daemon.GetRolesCommand.(GetRolesCommand.java:30)
may 12 10:55:34 oskar-virtual-machine dremio[17296]: starting dremio
lines 1-21/21 (END)
But when I go to the browser it cannot open http://localhost:9047

Also I get
root@oskar-virtual-machine:/opt/dremio# service dremio status
● dremio.service - Dremio Daemon Server
Loaded: loaded (/etc/systemd/system/dremio.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-05-12 11:15:22 CEST; 5s ago
Docs: https://docs.dremio.com
Main PID: 31164 (java)
Tasks: 18 (limit: 2250)
Memory: 69.8M
CPU: 7.644s
CGroup: /system.slice/dremio.service
└─31164 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Djava.util.logging.config.class=org.slf4j.bridge.SLF4JBridgeHandler -Djava.library.pat>

may 12 11:15:25 oskar-virtual-machine dremio[31203]: at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
may 12 11:15:25 oskar-virtual-machine dremio[31203]: at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)
may 12 11:15:25 oskar-virtual-machine dremio[31203]: at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
may 12 11:15:25 oskar-virtual-machine dremio[31203]: at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
may 12 11:15:25 oskar-virtual-machine dremio[31203]: at com.dremio.dac.daemon.GetRolesCommand.(GetRolesCommand.java:30)
may 12 11:15:25 oskar-virtual-machine dremio[31164]: starting dremio
may 12 11:15:26 oskar-virtual-machine dremio[31164]: SLF4J: Class path contains multiple SLF4J bindings.
may 12 11:15:26 oskar-virtual-machine dremio[31164]: SLF4J: Found binding in [jar:file:/opt/dremio/jars/3rdparty/logback-classic-1.2.9.jar!/org/slf4j/impl/>
may 12 11:15:26 oskar-virtual-machine dremio[31164]: SLF4J: Found binding in [jar:file:/opt/dremio/jars/3rdparty/logback-classic-1.2.3.jar!/org/slf4j/impl/>
may 12 11:15:26 oskar-virtual-machine dremio[31164]: SLF4J: See SLF4J Error Codes for an explanation.

@txalaparta Looks like Dremio did not start properly, can you please send server.out and server.log, if you do not see them send try journalctl -u dremio

Just a thought @txalaparta , did you remove the dremio sub folders when you upgraded from 4.9 to 21.1 ? I have the feeling that you have a mixture of jar versions. If you can, it might be interesting to remove at least everything under the jars directory before untaring the 21.1 version.

There is a upgrade procedure somewhere in the online documentation.

Hoping it helps.

Many thanks to both
I´m going to check and come back to you.
By the way, I had no issues installing dremio on CentOS 7

I removed /opt/dremio folder and follow the installation steps again.
It woked!! I have now a dremio working on my Ubuntu machine.

Many thanks again

1 Like

Thanks for the update @txalaparta