FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › mt-daapd crashes “Address already in use”
- This topic has 2 replies, 2 voices, and was last updated 18 years, 8 months ago by
politby.
-
AuthorPosts
-
05/04/2005 at 3:51 AM #40
politby
GuestGreetings,
I’m running mt-daapd on an NLSU2. Yesterday I tried running it with only about 15 mp3 files in the directory, and it seemed to work fine.
Now, when I have copied all my 4,000 some files to the directory, mt-daapd crashes during the mp3 file scan:2005-04-04 22:39:39: Starting rendezvous daemon
2005-04-04 22:39:39: Starting signal handler
2005-04-04 22:39:39: Initializing database
2005-04-04 22:39:39: Starting mp3 scan
2005-04-04 22:40:49: Starting web server from /opt/share/mt-daapd/admin-root on
port 3689
2005-04-04 22:40:49: Could not open port: Address already in use
2005-04-04 22:40:49: Error staring web server: Address already in use
2005-04-04 22:40:49: Aborting
2005-04-04 22:40:49: Rendezvous socket closed (daap server crashed?) Aborting.
2005-04-04 22:40:49: AbortingWhat could be causing this?
regards,
/POL05/04/2005 at 9:32 AM #3203rpedde
ParticipantIt means another instance of mt-daapd is already running. You will probably have to delete your songs.gdb, if you had multiple mt-daapds running on the same database. The possibility of database corruption is pretty high.
For some reason the signal handling on the nslu2 is different than any of the other platforms I’ve run mt-daapd on, and I can’t get it to stop cleanly (except via the web interface). I’ve always had to do a “killall -9 mt-daapd” on the nslu2. Which is hackish, but I don’t have a better way (except the web interface).
— Ron
05/04/2005 at 5:41 PM #3204politby
GuestThanks, that was it. I was pretty sure I had rebooted the NSLU2 before I added all those files but apparently I hadn’t so when it came up again with only one instance running it did complete the scan and is now running fine.
regards
/POL -
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.