svn-1489 scans my mp3s finally, but Bonjour not running

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues svn-1489 scans my mp3s finally, but Bonjour not running

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1051
    Digital Larry
    Participant

    Here’s the log:

    2007-01-29 06:56:54 (00000400): Starting rendezvous daemon
    2007-01-29 06:56:54 (00000400): Starting signal handler
    2007-01-29 06:56:54 (00000400): Initializing database
    2007-01-29 06:56:55 (00000400): Starting web server from /usr/local/share/mt-daapd/admin-root on port 3689
    2007-01-29 06:56:55 (00000400): Listen port: Address already in use
    2007-01-29 06:56:55 (00000400): Error staring web server: Address already in use
    2007-01-29 06:56:55: Aborting
    2007-01-29 06:56:55 (00000400): Rendezvous socket closed (daap server crashed?) Aborting.
    2007-01-29 06:56:55: Aborting
    2007-01-28 21:56:55 (00056403): Error: enum_fetch failed (error 1): ?
    2007-01-28 21:56:55 (00000400): Rendezvous socket closed (daap server crashed?) Aborting.
    2007-01-28 21:56:55: Aborting

    #8818
    CCRDude
    Participant

    Good point to make new topics for new problems, but maybe you should link to the old ones so that one can easily see your configuration (hardware etc.) without having to use the search function 😛

    “address already in use” sounds like an instance is already running? Try
    ps -Al | grep mt-daapd
    To see if there are any other mt-daapd isntances running.

    #8819
    Digital Larry
    Participant

    I typically see 4 processes that match mt-daapd – tonight I will get the specifics.

    Another thing that just came to mind is that (for reasons unknown other than I wanted to court disaster :wink:), I set my Kurobox to use Static IP on my network instead of DHCP. No reason for doing this, just wanted to make sure that I could resolve the box e.g. in ftp client or browser without knowing the IP address. And that all works great. Samba is running so that the shared folders of the Kurobox just showed up in my “Network Places” screen. Good stuff! I feel like I’m THIS CLOSE to getting some music off the Kurobox to my Roku sound bridge.

    #8820
    rpedde
    Participant

    @Digital Larry wrote:

    I typically see 4 processes that match mt-daapd – tonight I will get the specifics.

    Another thing that just came to mind is that (for reasons unknown other than I wanted to court disaster :wink:), I set my Kurobox to use Static IP on my network instead of DHCP. No reason for doing this, just wanted to make sure that I could resolve the box e.g. in ftp client or browser without knowing the IP address. And that all works great. Samba is running so that the shared folders of the Kurobox just showed up in my “Network Places” screen. Good stuff! I feel like I’m THIS CLOSE to getting some music off the Kurobox to my Roku sound bridge.

    Yup, that’s a running server already. Do a “killall -9 mt-daapd” and that will kill everything. Then start it again. Should be in business then.

    #8821
    Digital Larry
    Participant

    OK if I kill them all as suggested, they all get killed.

    Going back to /etc/init.d and invoking “mt-daapd start”, causes 4 mt-daapd processes to be launched.

    [root@-d:/etc/init.d]$ ps -Al | grep mt-daapd
    140 S 99 1006 1 0 76 0 – 833 6d1d0 pts/0 00:00:00 mt-daapd
    140 S 99 1007 1 0 76 0 – 1783 1fb30 pts/0 00:00:00 mt-daapd
    040 S 99 1008 1007 0 76 0 – 1783 6daa0 pts/0 00:00:00 mt-daapd
    040 S 99 1009 1008 0 76 0 – 1783 184160 pts/0 00:00:00 mt-daapd

    Here’s the mt-daapd in /etc/init.d:

    #!/bin/sh
    #
    # mt-daapd – startup script for itunes server
    # This goes in /etc/init.d and gets run at boot-time.
    #

    PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin
    if ! [ -x /usr/local/sbin/mt-daapd ]; then
    exit 0
    fi

    case “$1” in

    start)
    if [ -x /usr/local/sbin/mt-daapd ] ; then
    echo “Start services: mt-daapd”
    # Put eth0 into promiscious mode elseway mt-daapd will stop after a while
    ifconfig eth0 promisc
    # Start mt-daapd
    /sbin/start-stop-daemon –start –quiet –exec /usr/local/sbin/mt-daapd
    fi
    ;;
    stop)
    echo “Stop services: mt-daapd”
    /sbin/start-stop-daemon –stop –quiet –pidfile /var/run/mt-daapd.pid –signal 2
    ;;
    restart)
    echo “Restart services: mt-daapd”
    /sbin/start-stop-daemon –stop –quiet –pidfile /var/run/mt-daapd.pid –signal 2
    sleep 1
    /sbin/start-stop-daemon –start –quiet –exec /usr/local/sbin/mt-daapd
    ;;
    *)
    echo “usage: $0 { start | stop | restart}” >&2
    exit 1
    ;;

    esac

    exit 0

    I’m confused.

    Here’s my config file again:

    [general]
    web_root = /usr/local/share/mt-daapd/admin-root
    port = 3689
    admin_pw = mt-daapd
    db_type = sqlite
    db_parms = /usr/local/var/cache/mt-daapd
    mp3_dir = /mnt/itunes
    servername = Firefly
    runas = nobody
    playlist = /usr/local/etc/mt-daapd.playlist
    extensions = .mp3,.m4a,.m4p
    ssc_codectypes = ogg,flac,alac
    ssc_prog = /usr/local/bin/mt-daapd-ssc.sh
    logfile = /var/log/mt-daapd.log
    scan_type = 1
    debuglevel = 6
    truncate = 1
    [plugins]
    plugin_dir = /usr/local/share/mt-daapd/plugins

    Web interface still shows Bonjour as “Stopped”.

    #8822
    rpedde
    Participant

    @Digital Larry wrote:

    Going back to /etc/init.d and invoking “mt-daapd start”, causes 4 mt-daapd processes to be launched.

    That’s normal. With linuxthreads, you get a process-per-thread. They are clone()’d though, so they are pretty lightweight. As light as a thread on a “normal” system.

    So 4 is okay. But “socket is in use” means something else is listening on the socket. So maybe you already *had* it running and tried to start another copy. Or maybe you have something else already listening on that port (built-in media center program or something?)

    #8823
    Digital Larry
    Participant

    Well…. not sure what happened, but it works now!

    I checked the SoundBridge and realized it had locked up somehow. So I power cycled it and upon coming back to life, it found Firefly and all my tunes!

    RIGHT ON!

    This is very cool.

    Thanks!!!

    Uhm, but Bonjour still shows as “Stopped”. I presume this is normal?

    #8824
    rpedde
    Participant

    @Digital Larry wrote:

    Uhm, but Bonjour still shows as “Stopped”. I presume this is normal?

    It’s abnormal. But it’s normally abnormal. Or something. Yeah. It says that even though it is running.

    — Ron

    p.s. So *now* what are you going to do with your free time now that your three-week project is done? 🙂

    #8825
    Digital Larry
    Participant

    p.s. So *now* what are you going to do with your free time now that your three-week project is done?

    Well, working at a startup, I don’t exactly HAVE any free time, but maybe I’ll take my wife to a movie or something so she stops kicking me every time I walk in the door.

    #8826
    rpedde
    Participant

    @Digital Larry wrote:

    but maybe I’ll take my wife to a movie or something so she stops kicking me every time I walk in the door.

    So that’s the secret. Would that I had known that earlier.

    Cheers.

    — Ron

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