• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

no process using that port -- Failed to bind server; Failed to bind socket; Address already in use

Status
Not open for further replies.

bg007

New member
Hello,

as you can see; my logs state that port 9987/10101 is already in use.
With netstat -o aswell as lsof -i :9987 i have checked that there isnt another process using that port.
I have tried this on a VM with ubuntu server 22.04 LTS, a bare-metal machine with ubuntu server 24.04 LTS and with your provided docker compose container (Docker version 26.1.4, build 5650f9b) (which is still not available - thanks to UncleSam for helping out there).

I have tried the latest stable 1.5.6 aswell as version 1.4.22.

In all cases the port is supposedly already in use.

I have tried editing the confing.yml with no more success then the default; the logs you see are the default config.yml (with logs set to level Trace).
Even changing the ports didnt help at all. The logs still said that the default port is in use and aborts.

The files are owned by user teaspeak and permissions are set correctly - the correct files are executable.
As seen in the screenshot no other server seems to be running (in v1.5.6 its port 9987 and v1.4.22 its 10101 thats "already in use").
Dependencies are installed and up to date.

Please advise what else to try - if you need further information please let me know.
If the post is in the wrong thread please let me know aswell

Thanks!

no_server_running.PNG
lsof.PNG
lsof2.PNG


filepermissions.PNG

Code:
[2024-06-07 18:37:08] [DEBUG] Log successfully started!
[2024-06-07 18:37:08] [INFO ]   GEN | Starting TeaSpeak-Server v1.4.22 [Build: 1607858932]
[2024-06-07 18:37:08] [INFO ]   GEN | Starting music providers
[2024-06-07 18:37:08] [DEBUG] [Music] Provider load order:
[2024-06-07 18:37:08] [DEBUG] [Music] [0] providers/000ProviderFFMpeg.so
[2024-06-07 18:37:08] [DEBUG] [Music] [1] providers/001ProviderYT.so
[2024-06-07 18:37:08] [DEBUG] [Music] [FFMPEG] Using config file located at providers/config_ffmpeg.ini
[2024-06-07 18:37:08] [DEBUG] [Music] [FFMPEG] Missing configuration file. Using default values
[2024-06-07 18:37:08] [DEBUG] [Music] [FFMPEG] Executing command "ffmpeg -version"
[2024-06-07 18:37:08] [ERROR] [Music] [FFMPEG] Could not find ffmpeg (Error: "sh: 1: ffmpeg: not found")
[2024-06-07 18:37:08] [ERROR] [Music] [FFMPEG] How to download/install ffmpeg: "sudo apt-get install ffmpeg"
[2024-06-07 18:37:08] [ERROR] [Music] Could not create music provider for providers/000ProviderFFMpeg.so
[2024-06-07 18:37:08] [ERROR] [Music] Could not load music provider providers/001ProviderYT.so. Error: 000ProviderFFMpeg.so: cannot open shared object file: No such file or directory
[2024-06-07 18:37:11] [DEBUG]   GEN | Created a new async thread pool!
[2024-06-07 18:37:11] [DEBUG]   GEN | Created a new async thread pool!
[2024-06-07 18:37:11] [DEBUG]   GEN | Push back group -> 1 - Guest Server Query
[2024-06-07 18:37:11] [DEBUG]   GEN | Push back group -> 2 - Admin Server Query
[2024-06-07 18:37:11] [DEBUG]   GEN | Push back group -> 3 - Server Admin
[2024-06-07 18:37:11] [DEBUG]   GEN | Push back group -> 4 - Normal
[2024-06-07 18:37:11] [DEBUG]   GEN | Push back group -> 5 - Guest
[2024-06-07 18:37:11] [DEBUG]   GEN | Push back group -> 6 - Channel Admin
[2024-06-07 18:37:11] [DEBUG]   GEN | Push back group -> 7 - Operator
[2024-06-07 18:37:11] [DEBUG]   GEN | Push back group -> 8 - Guest
[2024-06-07 18:37:11] [DEBUG] GLOBL | Instance admin group id 2
[2024-06-07 18:37:11] [DEBUG] GLOBL | Server guest group id 1
[2024-06-07 18:37:11] [DEBUG] GLOBL | Server music group id 5
[2024-06-07 18:37:11] [INFO ]   GEN | Loaded 5 saved channels. Assembling...
[2024-06-07 18:37:11] [DEBUG] GLOBL | Deleting old bans
[2024-06-07 18:37:11] [INFO ]  FILE | Started file system root at /home/teaspeak/teaspeak/files
[2024-06-07 18:37:11] [WARNING ]  FILE | Failed to bind on 0.0.0.0: 98/Address already in use
[2024-06-07 18:37:11] [WARNING ]  FILE | Failed to bind on [::]: 98/Address already in use
[2024-06-07 18:37:11] [INFO ] QUERY | Starting server on 0.0.0.0,[::]:10101
[2024-06-07 18:37:11] [ERROR] QUERY | Failed to bind server to 0.0.0.0:10101. (Failed to bind socket: 98 | Address already in use)
[2024-06-07 18:37:11] [ERROR] QUERY | Failed to bind server to :::10101. (Failed to bind socket: 98 | Address already in use)
[2024-06-07 18:37:11] [DEBUG] QUERY | Entering event loop (0x7f0686327200)
[2024-06-07 18:37:11] [DEBUG] QUERY | Event loop exited (0x7f0686327200)
[2024-06-07 18:37:11] [CRITICAL] QUERY | Failed to start query server: failed to bind to any address
[2024-06-07 18:37:11] [INFO ]   GEN | Stopping application
[2024-06-07 18:37:11] [DEBUG] GLOBL | Stopping all virtual servers
[2024-06-07 18:37:11] [DEBUG] GLOBL | All virtual server stopped
[2024-06-07 18:37:11] [DEBUG] QUERY | Stopping query server
[2024-06-07 18:37:11] [DEBUG] QUERY | Query server stopped
[2024-06-07 18:37:11] [DEBUG]  FILE | Stopping file server
[2024-06-07 18:37:11] [DEBUG]  FILE | File server stopped
[2024-06-07 18:37:11] [INFO ]   GEN | Application suspend successful!

Code:
[2024-06-07 19:10:23] [DEBUG] Log successfully started!
[2024-06-07 19:10:23] [INFO ]   GEN | Starting TeaSpeak-Server v1.5.6 [Build: 1622026409]
[2024-06-07 19:10:23] [DEBUG]   GEN | Initializing RTP library version Wed May 26 09:51:28 2021
[2024-06-07 19:10:23] [DEBUG]   GEN | Generating new transport private key and certificate
[2024-06-07 19:10:26] [DEBUG]   GEN | Transport certificate and private key successfully generated within 2104ms
[2024-06-07 19:10:26] [INFO ]   GEN | Starting music providers
[2024-06-07 19:10:26] [DEBUG] [Music] Provider load order:
[2024-06-07 19:10:26] [DEBUG] [Music] [0] providers/000ProviderFFMpeg.so
[2024-06-07 19:10:26] [DEBUG] [Music] [1] providers/001ProviderYT.so
[2024-06-07 19:10:26] [DEBUG] [Music] [FFMPEG] Using config file located at providers/config_ffmpeg.ini
[2024-06-07 19:10:26] [DEBUG] [Music] [FFMPEG] Missing configuration file. Using default values
[2024-06-07 19:10:26] [DEBUG] [Music] [FFMPEG] Executing command "ffmpeg -version"
[2024-06-07 19:10:26] [ERROR] [Music] [FFMPEG] Could not find ffmpeg (Error: "sh: 1: ffmpeg: not found")
[2024-06-07 19:10:26] [ERROR] [Music] [FFMPEG] How to download/install ffmpeg: "sudo apt-get install ffmpeg"
[2024-06-07 19:10:26] [ERROR] [Music] Could not create music provider for providers/000ProviderFFMpeg.so
[2024-06-07 19:10:26] [INFO ] [Music] Loaded successfully provider YouTube
[2024-06-07 19:10:26] [INFO ] [Music] [YT-DL] Compiling patterns
[2024-06-07 19:10:26] [INFO ] [Music] [YT-DL] Patterns compiled (525ms)
[2024-06-07 19:10:28] [DEBUG]   GEN | Created a new async thread pool!
[2024-06-07 19:10:28] [DEBUG]   GEN | Created a new async thread pool!
[2024-06-07 19:10:28] [DEBUG] GLOBL | Instance admin query group id 2
[2024-06-07 19:10:28] [DEBUG] GLOBL | Instance guest query group id 1
[2024-06-07 19:10:28] [INFO ]   GEN | Loaded 5 saved channels. Assembling...
[2024-06-07 19:10:28] [DEBUG] GLOBL | Deleting old bans
[2024-06-07 19:10:28] [DEBUG]   GEN | Network event loop 1 started.
[2024-06-07 19:10:28] [DEBUG]   GEN | Network event loop 2 started.
[2024-06-07 19:10:28] [DEBUG]   GEN | Network event loop 3 started.
[2024-06-07 19:10:28] [DEBUG]   GEN | Network event loop 4 started.
[2024-06-07 19:10:28] [INFO ]  FILE | Started file system root at /home/teaspeak/teaspeak_latest/files
[2024-06-07 19:10:28] [WARNING ]  FILE | Failed to bind on 0.0.0.0: 98/Address already in use
[2024-06-07 19:10:28] [WARNING ]  FILE | Failed to bind on [::]: 98/Address already in use
[2024-06-07 19:10:28] [CRITICAL]  FILE | Failed to initialize server:
[2024-06-07 19:10:28] [INFO ]   GEN | Stopping application
[2024-06-07 19:10:28] [DEBUG] GLOBL | Stopping all virtual servers
[2024-06-07 19:10:28] [DEBUG] GLOBL | All virtual server stopped
[2024-06-07 19:10:28] [DEBUG] QUERY | Stopping query server
[2024-06-07 19:10:28] [DEBUG] QUERY | Query server stopped
[2024-06-07 19:10:28] [DEBUG]  FILE | Stopping file server
[2024-06-07 19:10:28] [DEBUG]  FILE | File server stopped
[2024-06-07 19:10:28] [DEBUG]   GEN | Network event loop 1 exited.
[2024-06-07 19:10:28] [DEBUG]   GEN | Network event loop 2 exited.
[2024-06-07 19:10:28] [DEBUG]   GEN | Network event loop 3 exited.
[2024-06-07 19:10:28] [DEBUG]   GEN | Network event loop 4 exited.
[2024-06-07 19:10:28] [INFO ]   GEN | Application suspend successful!
 
Last edited:

bg007

New member
As far as I figured out, this is related to ffmpeg packages not being installed even if it is not metioned anywhere as a dependency....
However that only got me another Error which seems related to libnice which cant easily be resolved because of errors in the source code and no longer available repos of Teaspeak.

It seems that the project is abandoned anyway and no longer maintained with updates and so on.

Hope this helps anyone
 
Status
Not open for further replies.