# Cannot start dremio executor

**URL:** <https://community.dremio.com/t/cannot-start-dremio-executor/2158>\
**Category:** Uncategorized\
**Created:** [November 2, 2018, 2:24pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158 "2018-11-02T14:24:55Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@carol](https://community.dremio.com/u/carol)\
**Post date:** [November 2, 2018, 2:24pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158/1 "2018-11-02T14:24:55Z")

</div>

Hello,

My dremio master node works fine, but I cannot open dremio executor because

```
 Could not bind to port 45678 

```

I tried to kill the process using port 45678 in master node or executor node. But the issue still unsolved.

Can I change the port in config file? what is the dremio-env to change the port and should i make change on master or executor?

Thank you.

---

<div class="post-metadata">

**Author:** ![yufeldman](https://avatars.discourse-cdn.com/v4/letter/y/c77e96/32.png) [@yufeldman](https://community.dremio.com/u/yufeldman)\
**Post date:** [November 2, 2018, 4:56pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158/3 "2018-11-02T16:56:43Z")

</div>

Here is the documentation on dremio.conf content: [http://docs.dremio.com/advanced-administration/dremio-conf.html](http://docs.dremio.com/advanced-administration/dremio-conf.html)  
Look for `fabric: { port: 45678`

---

<div class="post-metadata">

**Author:** ![carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@carol](https://community.dremio.com/u/carol)\
**Post date:** [November 2, 2018, 5:28pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158/4 "2018-11-02T17:28:29Z")

</div>

Even I changed the port, it gives me the same error log.

```
Catastrophic failure occurred. Exiting. Information follows: Failed to start services, daemon exiting.

```

com.dremio.common.exceptions.UserException: Could not bind to port 56789.  
at com.dremio.common.exceptions.UserException$Builder.build(UserException.java:746)  
at com.dremio.exec.rpc.BasicServer.bind(BasicServer.java:220)  
at com.dremio.services.fabric.FabricServer.bind(FabricServer.java:72)  
at com.dremio.services.fabric.FabricServiceImpl.start(FabricServiceImpl.java:92)  
at com.dremio.service.SingletonRegistry$AbstractServiceReference.start(SingletonRegistry.java:137)  
at com.dremio.dac.daemon.NonMasterSingletonRegistry.start(NonMasterSingletonRegistry.java:54)  
at com.dremio.dac.daemon.DACDaemon.startServices(DACDaemon.java:177)  
at com.dremio.dac.daemon.DACDaemon.init(DACDaemon.java:183)  
at com.dremio.dac.daemon.DremioDaemon.main(DremioDaemon.java:112)  
Caused by: java.net.BindException: Address already in use

---

<div class="post-metadata">

**Author:** ![anthony](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/anthony/32/670_2.png) [@anthony](https://community.dremio.com/u/anthony)\
**Post date:** [November 2, 2018, 5:30pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158/5 "2018-11-02T17:30:59Z")

</div>

Do you have a firewall preventing port binding? Or do you have another process running on those specific ports? You can check via `netstat -tulpn` for example

---

<div class="post-metadata">

**Author:** ![yufeldman](https://avatars.discourse-cdn.com/v4/letter/y/c77e96/32.png) [@yufeldman](https://community.dremio.com/u/yufeldman)\
**Post date:** [November 2, 2018, 5:32pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158/6 "2018-11-02T17:32:38Z")

</div>

To add here - are you trying by any chance to start executor on the same node as master? That combination is not really working.

---

<div class="post-metadata">

**Author:** ![carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@carol](https://community.dremio.com/u/carol)\
**Post date:** [November 2, 2018, 5:37pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158/7 "2018-11-02T17:37:21Z")

</div>

helllo @yufeldman,

No, my master node and executor node are two different node.

@anthony, netstat -tulpn | grep 56789 on master gives  
tcp 0 0 0.0.0.0:56789 0.0.0.0:\* LISTEN 121054/java

netstat -tulpn | grep 56789 on executor gives  
tcp 0 0 0.0.0.0:56789 0.0.0.0:\* LISTEN 117107/java

---

<div class="post-metadata">

**Author:** ![yufeldman](https://avatars.discourse-cdn.com/v4/letter/y/c77e96/32.png) [@yufeldman](https://community.dremio.com/u/yufeldman)\
**Post date:** [November 2, 2018, 5:43pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158/8 "2018-11-02T17:43:00Z")

</div>

And so what are those processes?  
Especially `117107` ?  
you can find it out by running `ps -aef | grep 117107`

---

<div class="post-metadata">

**Author:** ![carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@carol](https://community.dremio.com/u/carol)\
**Post date:** [November 2, 2018, 5:50pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158/9 "2018-11-02T17:50:10Z")

</div>

@yufeldman  
Here is the output

pz50apl+ 117107 1 1 13:09 ? 00:00:37 /usr/bin/java/jdk1.8.0\_181/bin/java -Djava.util.logging.config.class=org.slf4j.bridge.SLF4JBridgeHandler -Djava.library.path=/opt/dremio/lib -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/opt/dremio/log/server.gc -Ddremio.log.path=/opt/dremio/log -Xmx4096m -XX:MaxDirectMemorySize=40960m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/dremio/log -Dio.netty.maxDirectMemory=0 -DMAPR\_IMPALA\_RA\_THROTTLE -DMAPR\_MAX\_RA\_STREAMS=400 -cp /opt/dremio/conf:/opt/dremio/jars/_:/opt/dremio/jars/ext/_:/opt/dremio/jars/3rdparty/\* com.dremio.dac.daemon.DremioDaemon dremio start  
pz50apl+ 128410 121897 0 13:48 pts/0 00:00:00 grep --color 117107

---

<div class="post-metadata">

**Author:** ![yufeldman](https://avatars.discourse-cdn.com/v4/letter/y/c77e96/32.png) [@yufeldman](https://community.dremio.com/u/yufeldman)\
**Post date:** [November 2, 2018, 5:54pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158/10 "2018-11-02T17:54:00Z")

</div>

So Dremio is running? Is it that somehow happening that you have two processes starting and second one has an issue, as address is already in use?

---

<div class="post-metadata">

**Author:** ![carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@carol](https://community.dremio.com/u/carol)\
**Post date:** [November 2, 2018, 5:56pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158/11 "2018-11-02T17:56:39Z")

</div>

I don’t understand how can this happen.  
Because when I do dremio status, it gives me dremio is not running.

---

<div class="post-metadata">

**Author:** ![anthony](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/anthony/32/670_2.png) [@anthony](https://community.dremio.com/u/anthony)\
**Post date:** [November 2, 2018, 5:57pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158/12 "2018-11-02T17:57:32Z")

</div>

Can you manually kill all those processes and then restart Dremio with coordinator first then executors?

---

<div class="post-metadata">

**Author:** ![carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@carol](https://community.dremio.com/u/carol)\
**Post date:** [November 2, 2018, 6:06pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158/13 "2018-11-02T18:06:57Z")

</div>

I killed all processes.

But still get the same results.  
Master was able to run, but not executor.

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [November 2, 2018, 7:16pm UTC](https://community.dremio.com/t/cannot-start-dremio-executor/2158/14 "2018-11-02T19:16:05Z")

</div>

Hi @carol

To change the fabric port use below document

[https://docs.dremio.com/advanced-administration/dremio-conf.html?h=45678](https://docs.dremio.com/advanced-administration/dremio-conf.html?h=45678)

Thanks  
@balaji.ramaswamy
