# Dremio would not start

**URL:** <https://community.dremio.com/t/dremio-would-not-start/1038>\
**Category:** Uncategorized\
**Created:** [April 24, 2018, 7:19am UTC](https://community.dremio.com/t/dremio-would-not-start/1038 "2018-04-24T07:19:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Heng\_Hon\_Liaw](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@Heng\_Hon\_Liaw](https://community.dremio.com/u/Heng_Hon_Liaw)\
**Post date:** [April 24, 2018, 7:19am UTC](https://community.dremio.com/t/dremio-would-not-start/1038/1 "2018-04-24T07:19:28Z")

</div>

[Issues.zip](https://us1.discourse-cdn.com/flex020/uploads/dremio/original/1X/c349abf6df88332085364a10621d437a63e3dc72.zip) (15.6 KB)  
I installed dremio-community-2.0.1rc-201804132202000759\_10b1de0\_mapr\_1.noarch into a single node vm environment with MapR 5.2 installed.

I could not get the Dremio service to start and to load Dremio UI.

Herewith attached are all the logs that I extracted.

---

<div class="post-metadata">

**Author:** ![christy](https://avatars.discourse-cdn.com/v4/letter/c/e68b1a/32.png) [@christy](https://community.dremio.com/u/christy)\
**Post date:** [April 24, 2018, 3:03pm UTC](https://community.dremio.com/t/dremio-would-not-start/1038/2 "2018-04-24T15:03:25Z")

</div>

Looking at server.out, it reports the following issue

HADOOP\_HOME or hadoop.home.dir are not set.

Could you try either set HADOOP\_HOME in dremio-env and/or hadoop.home.dir in dremio.conf

Thanks

Christy

---

<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:** [April 24, 2018, 3:52pm UTC](https://community.dremio.com/t/dremio-would-not-start/1038/3 "2018-04-24T15:52:56Z")

</div>

Hi @Heng_Hon_Liaw

Did you try to start Dremio twice by any chance? From the error message in `server.out` (Cluster identity not found), it looks like the directory for the internal database was created but left empty, most likely because the first attempt at starting Dremio failed.  
I would recommend to remove the directory `/var/lib/dremio/db` (it should be empty), restart Dremio and capture the log files which should now show the root cause.

---

<div class="post-metadata">

**Author:** ![Heng\_Hon\_Liaw](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@Heng\_Hon\_Liaw](https://community.dremio.com/u/Heng_Hon_Liaw)\
**Post date:** [April 25, 2018, 1:38am UTC](https://community.dremio.com/t/dremio-would-not-start/1038/4 "2018-04-25T01:38:51Z")

</div>

Hi Laurent,

There is no folders or files found in /var/lib/dremio.

The PID file is created in /opt/dremio/run, but each time I check its status, it stated that dremio is not running.

---

<div class="post-metadata">

**Author:** ![Heng\_Hon\_Liaw](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@Heng\_Hon\_Liaw](https://community.dremio.com/u/Heng_Hon_Liaw)\
**Post date:** [April 25, 2018, 1:40am UTC](https://community.dremio.com/t/dremio-would-not-start/1038/5 "2018-04-25T01:40:19Z")

</div>

Hi Christy,

I have set Hadoop.home.dir in dremio.conf already and it still cannot work. You can refer to my dremio.conf in my post attached as Issues.zip.

Thanks.

---

<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:** [April 25, 2018, 6:32am UTC](https://community.dremio.com/t/dremio-would-not-start/1038/6 "2018-04-25T06:32:49Z")

</div>

Setting `hadoop.home.dir` in `dremio.conf` is actually invalid: `hadoop.home.dir` is not a dremio setting but a system property which could be set in `dremio-env`, but which is actually okay to leave as-is (the log message is actually a debug message, not an actual error). It seems also you might have changed the logging configuration to be much verbose than usual, and some of these messages might be confusing.

If `/var/lib/dremio` is actually empty, it might be worth checking that the directory is owned by the same user as the one used to run the dremio daemon, which might be `mapr` for a default mapr RPM installation, but a different one if MapR impersonation is enabled.
