… on endpoint storagenode (###): Error starting userland proxy: listen tcp 0.0.0.28967: blind: address already in use.
Does anyone know what this error is all about?
… on endpoint storagenode (###): Error starting userland proxy: listen tcp 0.0.0.28967: blind: address already in use.
Does anyone know what this error is all about?
It looks like port 28967 is already occupied on the host system. You could verify this using the netstat
command or similar tool.
Could it be that your are running another storagenode container on the same system?
Please, copy the output of the command here: docker ps -a
unlikely. I looked through the netstat’s output and there’s nothing there with the 28967 port (at least nothing that I noticed), there was a long output list there.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1ea12548ca3a storjlabs/storagenode:alpha “/entrypoint” 44 seconds ago Created storagenode
after running full command:
docker: Error response from daemon: driver failed programming external connectivity on endpoint storagenode (17d386458652a5fdf38d4df7279b41eac1aeb2d08da9280f399edd9b484fed08): Error starting userland proxy: listen tcp 0.0.0.0:28967: bind: address already in use.
and if I force it by “docker start storagenode” it just gets stuck restarting infinitely with COMMAND “/entrypoint”
Please, copy the output of the docker ps -a
The full output, please.
it’s this:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1ea12548ca3a storjlabs/storagenode:alpha “/entrypoint” 44 seconds ago Created storagenode
docker logs --tail 20 storagenode
2019-07-30T18:45:53.760Z INFO Configuration loaded from: /app/config/config.yaml
2019-07-30T18:45:53.768Z INFO Operator email: kuprovgmail.com
2019-07-30T18:45:53.769Z INFO Operator wallet: 0x530bd4ff18d9dcfde602377bef85c58a8f222cae
It’s a repetition of these 3 lines
docker stop -t 300 storagenode
docker rm storagenode
docker ps -a
If output would be empty, try to run the container again. Then look into logs
docker logs --tail 20 storagenode
Please, copy your full docker run
command here
docker run -d --restart unless-stopped -p 28967:28967
-e WALLET=“0x530bd4ff18d9dcfde602377bef85c58a8f222cae” -e EMAIL="kuprov@gmail.com"
-e ADDRESS=“rokaho.hopto.org:28967” -e BANDWIDTH=“95TB” -e STORAGE=“6.5TB”
–mount type=bind,source="/home/roman/storj/storagenode",destination=/app/identity
–mount type=bind,source="/home/roman/storj/nodeData",destination=/app/config -
-name storagenode storjlabs/storagenode:alpha
Please, edit your config.yaml
in the storage location and replace the info
log level to debug
, save the configuration and restart the container: docker restart -t 300 storagenode
Then take a fatal error from the log:
docker logs storagenode 2>&1 | grep -B 3 -i fatal
In case can’t see:
2019-07-30T20:37:28.648Z | INFO | Operator email: kuprov@gmail.com |
---|---|---|
2019-07-30T20:37:28.648Z | INFO | Operator wallet: 0x530bd4ff18d9dcfde602377bef85c58a8f222cae |
2019-07-30T20:37:28.839Z | DEBUG | Binary Version: v0.15.3 with CommitHash 6217d9690fd7363d1ae35eefc12135ed6286a89f, built at 2019-07-17 18:42:01 +0000 UTC as Release true |
2019-07-30T20:37:28.888Z | DEBUG | Fatal error: listen tcp 136.60.238.253:28967: bind: cannot assign requested address |
I just checked my DDNS to make sure, and my external IP had not changed since the beginning
Please, delete the config.yaml
from the storage location and restart the node docker -t 300 restart storagenode
It worked!!! Unfortunately, it seems like I lost all of my data. My ‘Disk Used’ value is at a few GB. I hope it’ll get repaired soon.
Please, copy the output of the command:
docker logs storagenode 2>&1 | grep -A 2 -i migrat
Also, output of these commands:
ls -l /home/roman/storj
ls -l /home/roman/storj/nodeData
df -h