Dremio service fails to start

● dremio.service - Dremio Daemon Server

Loaded: loaded (/etc/systemd/system/dremio.service; enabled; vendor preset: enabled)
Active: failed (Result: resources) since Thu 2019-11-07 08:27:46 UTC; 1min 36s ago
Process: 7417 ExecStart=/opt/dremio/bin/dremio --config /opt/dremio/conf start (code=exited, status=0/SUCCESS)
Main PID: 31360

Nov 07 08:27:45 e2e-62-194 systemd[1]: Starting Dremio Daemon Server…
Nov 07 08:27:45 e2e-62-194 dremio[7417]: starting dremio, logging to /opt/dremio/log/server.out
Nov 07 08:27:45 e2e-62-194 dremio[7417]: /opt/dremio/bin/dremio: line 160: /opt/dremio/log/server.out: Permission denied
Nov 07 08:27:46 e2e-62-194 systemd[1]: dremio.service: PID file /opt/dremio/run/dremio.pid not readable (yet?) after start: No such file or directory
Nov 07 08:27:46 e2e-62-194 systemd[1]: Failed to start Dremio Daemon Server.
Nov 07 08:27:46 e2e-62-194 systemd[1]: dremio.service: Unit entered failed state.
Nov 07 08:27:46 e2e-62-194 systemd[1]: dremio.service: Failed with result ‘resources’.

this is the error I’m facing

Hi @puspitab

Can you check the permissions on the path /opt/dremio/log/server.out. The snippet reports permissions issue.

/opt/
/opt/dremio/
/opt/dremio/log/

@Venugopal_Menda

1 Like

Hope this will fix the issue

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