what else uses this port?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1658
    mode87
    Participant

    hi am am getting an error saying that the port is in use, i dont not know what else could be using the port, is there a way i can check so as to stop that program?

    Starting with debuglevel 2
    Starting rendezvous daemon
    *** WARNING *** The programme ‘mt-daapd’ uses the HOWL compatiblity layer of Avahi.
    *** WARNING *** Please fix your application to use the native API of Avahi!
    *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=howl&e=mt-daapd>
    Starting signal handler
    Signal handler started
    Initializing database
    Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    Listen port: Address already in use
    Error staring web server: Address already in use
    Aborting

    #12199
    fizze
    Participant

    Most likely an already-running instance of mt-daapd. (Or a zombie of one, likewise).

    ps -aux|grep daapd

    is your friend 😉

    #12200
    mode87
    Participant

    so i did that and i do have two of them running now how would i go about getting rid of one of them. and sorry for being a linux noob.

    ps -aux|grep daapd
    Warning: bad ps syntax, perhaps a bogus ‘-‘? See http://procps.sf.net/faq.html
    mt-daapd 10890 0.0 0.1 27780 2048 ? Sl 08:49 0:00 /usr/sbin/mt-daapd
    mt-daapd 10892 0.0 0.2 36044 2468 ? Sl 08:49 0:00 /usr/sbin/mt-daapd
    user 13473 0.0 0.0 2880 748 pts/0 R+ 09:29 0:00 grep daapd

    #12201
    fizze
    Participant

    ok, procps 101 here 😉

    the first output of ps is the process’s name. The second is the Process ID, or PID.

    use the command “kill” to get rid of one process.
    For instance:

    kill 10890

    Tells the process with the ID 10890 to bail. If that process became corrupt or hang, or the likes, you can also force the process to be killed in a similiar manner.

    kill -9 10890

    If the processes aint hung, there is another nice feat:

    killall mt-daapd

    that does the trick.

    #12202
    rpedde
    Participant

    @fizze wrote:

    If the processes aint hung, there is another nice feat:

    killall mt-daapd

    that does the trick.

    And if they are hung, “killall -9 mt-daapd” will work, just as above.

    — Ron

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.