Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

This article helps troubleshoot the binding server “Address already in use” error that could be encountered while using Docker.

...



Panel
borderColor

...

#CCCCCC

...

bgColor

...

#e3fcef

LAST TESTED ON CHECKMK 2.3.0P1



Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents

Problem

Error when starting docker that the port is already in use.

Code Block
languagebash
themeRDark
[ ] Binding service [live-tls]
[ ] Listening file descriptor created (FD=8)
[ ] Setting accept socket options (FD=8)
[ ] Option SO REUSEADDR set on accept socket
[.] Binding service [live-tls] to localhost:/omd/sites/mysite/tmp/run/live-tls: Address already in use (98)
[!] Binding service [live-tls] failed
[ ] Unbinding service [live-tls]
[ ] Service [live-tls] closed
[ ] Deallocating deployed section defaults
[ ] Deallocating section [live-tls]
[ ] Initializing inetd mode configuration
Starting stunnel...Error
Starting xinetd...OK
Initlalizinq Crontab...0K
### STARTING CRON


Solution

  1. The site user must delete the reported file within the sites ~/tmp/ folder:

    Code Block
    languagebash
    themeRDark
    OMD[mysite]~# rm -rf ~/tmp/*

    .

  2. Try to start the docker container again, it should start without issue.

Filter by label
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "docker" , "tls" , "debugging" , "troubleshooting" , "kb-troubleshooting-article" ) and type = "page" and space = "KB"
labelsbusinessintelligence

Page Properties
hiddentrue


Related issues