The MPD and HTTP server startup failed

➜  ~ git:(dev) ✗ mopidy
INFO     Starting Mopidy 2.0.1
INFO     Loading config from builtin defaults
INFO     Loading config from /Users/wangcheng/.config/mopidy/mopidy.conf
INFO     Loading config from command line options
INFO     Enabled extensions: mpd, http, stream, m3u, softwaremixer, file, local
INFO     Disabled extensions: none
INFO     Starting Mopidy mixer: SoftwareMixer
INFO     Starting Mopidy audio
INFO     Starting Mopidy backends: StreamBackend, M3UBackend, FileBackend, LocalBackend
INFO     Loaded 8 local tracks using json
INFO     Audio output set to "autoaudiosink"
INFO     Starting Mopidy core
INFO     Starting Mopidy frontends: MpdFrontend, HttpFrontend
ERROR    Frontend (MpdFrontend) initialization error: MPD server startup failed: [Errno 48] Address already in use
ERROR    Frontend (HttpFrontend) initialization error: HTTP server startup failed: [Errno 48] Address already in use
INFO     Starting GLib mainloop

i don’t know how to fix these two error ,
i have use losf -i:6600 to see the port ,and the answer is :slight_smile:

Python  77417 wc   12u  IPv6 0x5c7a796eb3ce4e6f      0t0  TCP localhost:6600 (LISTEN)

and when i killed it ,it will start again…

You’ve already identified that the server startups fail because you (user wc) are in fact already running Mopidy. Are you also running Mopidy as a system service somehow? Is this a mac?

Ohhhhh, That’s Great!

Thank you very much!

That is really mopidy process and this is a mac…
i am very new so that i have try many ways to use it or install it ,then …it may be changed very confusion.

➜  ~ git:(dev) ✗ lsof -i:6600
COMMAND   PID      USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
Python  79951       wc   12u  IPv6 0x5c7a796eb3ce4e6f      0t0  TCP localhost:6600 (LISTEN)

 ~ git:(dev) ✗ ps 79951
 PID   TT  STAT      TIME COMMAND
 79951   ??  S      0:00.59 /usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python /usr/local/bin/mopidy

But how to quit this process ? I can’t kill it

Are you saying that kill 79951 and even kill -9 79951 do not work? If you be helpful if you could be more explicit about exactly what you have tried.

both of them can not be work.
every time when i killed them it will restart

➜  ~ git:(dev) ✗ lsof -i:6600
COMMAND   PID      USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
Python  79951 wangcheng   12u  IPv6 0x5c7a796e998bd92f      0t0  TCP localhost:6600 (LISTEN)
➜  ~ git:(dev) ✗ kill 79951
➜  ~ git:(dev) ✗ lsof -i:6600
COMMAND   PID      USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
Python  80070 wangcheng   12u  IPv6 0x5c7a796eaee67e8f      0t0  TCP localhost:6600 (LISTEN)
➜  ~ git:(dev) ✗ kill -9 80070
➜  ~ git:(dev) ✗ lsof -i:6600
COMMAND   PID      USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
Python  80100 wangcheng   12u  IPv6 0x5c7a796eb0e2592f      0t0  TCP localhost:6600 (LISTEN)