# Can't get up linux node after reboot

**URL:** <https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843>\
**Category:** troubleshooting\
**Tags:** docker, storagenode\
**Created:** [May 16, 2020, 12:26pm UTC](https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843 "2020-05-16T12:26:03Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![diego](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/diego/32/1132_2.png) [@diego](https://forum.storj.io/u/diego)\
**Post date:** [May 16, 2020, 12:26pm UTC](https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843/1 "2020-05-16T12:26:03Z")

</div>

Greeting,

I’m operating a CentOS node and I restart the system for maintenance reasons and I can’t get up again. I can’t access to dashboard so I check docker logs and I see this:

`2020-05-16T12:07:04.923Z	ERROR	Invalid configuration.	{"error": "invalid contact.external-address: lookup \"xxx.viewdns.net\" failed: lookup xxx.viewdns.net on 192.168.1.1:53: read udp 172.17.0.3:50251->192.168.1.1:53: read: no route to host", "errorVerbose": "invalid contact.external-address: lookup \"xxx.viewdns.net\" failed: lookup xxx.viewdns.net on 192.168.1.1:53: read udp 172.17.0.3:50251->192.168.1.1:53: read: no route to host\n\tstorj.io/storj/storagenode.(*Config).Verify:129\n\tmain.cmdRun:151\n\tstorj.io/private/process.cleanup.func1.4:344\n\tstorj.io/private/process.cleanup.func1:362\n\tgithub.com/spf13/cobra.(*Command).execute:840\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:945\n\tgithub.com/spf13/cobra.(*Command).Execute:885\n\tstorj.io/private/process.ExecWithCustomConfig:86\n\tstorj.io/private/process.ExecCustomDebug:68\n\tmain.main:329\n\truntime.main:203"}`

I don’t know what more to do, I really appreciate your suggestions.

Thank you.

---

<div class="post-metadata">

**Author:** ![stuberman](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/stuberman/32/1124_2.png) [@stuberman](https://forum.storj.io/u/stuberman)\
**Post date:** [May 16, 2020, 1:36pm UTC](https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843/2 "2020-05-16T13:36:29Z")

</div>

I would start with some basic troubleshooting on your network.  
Can you reach some basic Internet site?  
Can you ping a site by IP address such as 8.8.8.8?  
Can you ping a site by hostname such as [dns.google.com](http://dns.google.com)?  
Try from a PC on your network - if that succeeds try from your CentOS host.  
The errors point to a DNS or router problem on either your network or your node.

---

<div class="post-metadata">

**Author:** ![anon27637763](https://storj.bcdn.literatehosting.com/letter_avatar/anon27637763/32/6_22734026db12803ebb3e059622ac3534.png) [@anon27637763](https://forum.storj.io/u/anon27637763)\
**Post date:** [May 16, 2020, 1:41pm UTC](https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843/3 "2020-05-16T13:41:20Z")

</div>

Default configuration for many consumer routers is to have the router IP address set to `192.168.1.1` … if this is the case for your setup, then it looks like the error you have means that your Linux PC is unable to contact your local router.

However, it may also be a problem with your docker installation.

A little network addressing information would be helpful as well as docker version and docker run command you used…

---

<div class="post-metadata">

**Author:** ![diego](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/diego/32/1132_2.png) [@diego](https://forum.storj.io/u/diego)\
**Post date:** [May 16, 2020, 3:07pm UTC](https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843/4 "2020-05-16T15:07:58Z")

</div>

The network setup is okay, at least as I know.

I tried all the things you suggest and go with no problems.

Any ideas?

---

<div class="post-metadata">

**Author:** ![stuberman](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/stuberman/32/1124_2.png) [@stuberman](https://forum.storj.io/u/stuberman)\
**Post date:** [May 16, 2020, 3:19pm UTC](https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843/5 "2020-05-16T15:19:01Z")

</div>

It seems like a DNS resolution error, check out this link - the problem seemed to be a local firewall (iptables) configuration issue not allowing DNS lookups.

> [@HTTP source: Get https://tardigrade.io/trusted-satellites: dial tcp: lookup tardigrade.io](https://forum.storj.io/t/http-source-get-https-tardigrade-io-trusted-satellites-dial-tcp-lookup-tardigrade-io/5921/9):
>
> This is the original configuration of my firewall, I have never touched anything there, I do not know why it stopped working Node running Centos 8.1 [root@storj2 ~]# firewall-cmd --list-all public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ssh ports: protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: rule family=“ipv4” source address=“172.17.0.0/16” accept [root@storj2 ~]# run this com…

---

<div class="post-metadata">

**Author:** ![diego](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/diego/32/1132_2.png) [@diego](https://forum.storj.io/u/diego)\
**Post date:** [May 16, 2020, 3:20pm UTC](https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843/6 "2020-05-16T15:20:47Z")

</div>

Thanks for you response.

Yes my router IP is set by default at 192.168.1.1 but CentOS contact it without problem.

It can be a docker problem as I don’t know too much about docker.

My docker version is 19.03.8 and docker run command is:  
`sudo docker run -d --restart unless-stopped --stop-timeout 300 -p 28967:28967 -p 14002:14002 -e WALLET="xxxxxxxx" -e EMAIL="xxx@xxx.com" -e ADDRESS="xxx.viewdns.net:28967" -e STORAGE="800GB" --mount type=bind,source="/mnt/storj/homenode",destination=/app/identity --mount type=bind,source="/mnt/storj/storj",destination=/app/config --name homenode storjlabs/storagenode`

I’m working with noip for static hostname and is working ok, I’m also working with a static internal IP for computer node and with 28967 TCP port opened, it had worked with no problem before the reboot.

---

<div class="post-metadata">

**Author:** ![stuberman](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/stuberman/32/1124_2.png) [@stuberman](https://forum.storj.io/u/stuberman)\
**Post date:** [May 16, 2020, 3:32pm UTC](https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843/7 "2020-05-16T15:32:59Z")

</div>

> [@diego](#):
>
> [viewdns.net](http://viewdns.net)

Do you get a result from “nslookup [xxx.viewdns.net](http://xxx.viewdns.net)”?

---

<div class="post-metadata">

**Author:** ![diego](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/diego/32/1132_2.png) [@diego](https://forum.storj.io/u/diego)\
**Post date:** [May 16, 2020, 3:44pm UTC](https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843/8 "2020-05-16T15:44:19Z")

</div>

Yes, it works perfectly.

I configured the firewall when I prepared the node and I created a service with storj ports, I also checked it again and setting it like in the post you linked but I’m having the same error.

---

<div class="post-metadata">

**Author:** ![stuberman](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/stuberman/32/1124_2.png) [@stuberman](https://forum.storj.io/u/stuberman)\
**Post date:** [May 16, 2020, 3:54pm UTC](https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843/9 "2020-05-16T15:54:05Z")

</div>

I don’t have any real experience with Docker outside of using it in Storj, reading the stack overflow thread might be of help, could it be that you have a Docker MAC conflict?

> <https://stackoverflow.com/questions/40214617/docker-no-route-to-host>

---

<div class="post-metadata">

**Author:** ![diego](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/diego/32/1132_2.png) [@diego](https://forum.storj.io/u/diego)\
**Post date:** [May 16, 2020, 4:21pm UTC](https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843/10 "2020-05-16T16:21:53Z")

</div>

Thank you so much!!

I ran the container connected to host network and now work perfectly.

I only have to add `--net host` to run command.

Thank you again!

---

<div class="post-metadata">

**Author:** ![Anita2020](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/anita2020/32/1138_2.png) [@Anita2020](https://forum.storj.io/u/Anita2020)\
**Post date:** [October 7, 2020, 1:09pm UTC](https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843/11 "2020-10-07T13:09:41Z")

</div>

Hello,

I am not sure this link will help you alot but please check once: [https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-centos-7](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-centos-7)

I think you will understand how to get [linux](https://mindmajix.com/linux-training) node after reboot.

Thanks,  
Anita

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 7, 2020, 9:54pm UTC](https://forum.storj.io/t/cant-get-up-linux-node-after-reboot/6843/12 "2020-10-07T21:54:48Z")

</div>

We calling a “node” not the `node.js` application, but storagenode software. It’s written on Go, so your link is irrelevant.
