FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › Mt-daapd can’t find my mp3
- This topic has 10 replies, 3 voices, and was last updated 18 years, 6 months ago by svizi.
-
AuthorPosts
-
16/05/2006 at 8:48 PM #271sviziGuest
Hi,
I have a mt-daapd server running on an ubuntu machine. I have moved over my linux box some mp3 files via smb. I have moved two folders with 2-folder depth. My iTunes v.6.0.4.2 recognizes the server but can’t find my songs.
I have run mt-daapd -f -c /etc/mt-daapd.conf -d9 as indicated in a post and here it is the log:
Read web_root: /usr/share/mt-daapd/admin-root
Read port: 3689
Read admin_pw: mt-daapd
Read db_dir: /var/cache/mt-daapd
Read mp3_dir: /home/stefanos/mp3
Read servername: Stefanos Jukebox
Read runas: nobody
Read playlist: /etc/mt-daapd.playlist
Read extensions: .mp3,.m4a,.m4p
Read logfile: /var/log/mt-daapd.log
Read rescan_interval: 3600
Read scan_type: 2
Checking existence of /home/stefanos/mp3
Checking existence of /var/cache/mt-daapd
Starting rendezvous daemon
Starting signal handler
Loading playlists
Initializing database
Finished loading smart playlists
Adding smart playlist AAC Files as 5
Adding new playlist AAC Files
Added playlist
Adding smart playlist Non-DRMed Music as 4
Adding new playlist Non-DRMed Music
Added playlist
Adding smart playlist Recently Added as 3
Adding new playlist Recently Added
Added playlist
Adding smart playlist 60’s Music as 2
Adding new playlist 60’s Music
Added playlist
Building playlists
Loaded database… found 0 songs
Starting mp3 scan
Foreground scanning for MP3s in /home/stefanos/mp3
Found /home/stefanos/mp3/Back in Black
Found dir Back in Black… recursing
Found /home/stefanos/mp3/Orishas
Found dir Orishas… recursing
Initial update over. Removing stale items
Done removing stale items
Reorganizing db
Signal handler started
Reorganize done
Finding deleted static playlists
Starting web server from /usr/share/mt-daapd/admin-root on port 3689
Preparing to listen on port 3689
Could not open port: Address already in use
Error staring web server: Address already in use
AbortingThanks in advance for your help.
17/05/2006 at 4:12 AM #4407rpeddeParticipant@svizi wrote:
Hi,
Preparing to listen on port 3689
Could not open port: Address already in use
Error staring web server: Address already in useThere is already a mt-daapd running. Try killing them all (killall -9 mt-daapd would do it, albeit violently).
Then try starting it again.
— Ron
17/05/2006 at 10:00 AM #4408sviziGuestunfortunately nothing happens. How can i see which daemons are currently running on my machine. I also figured out that mt-daapd doesn’t start automatically.
17/05/2006 at 11:12 AM #4409fizzeParticipantok, you’re new to linux, no problem 😉
the command “ps” shows a list of all running processes.
to view all instances of mt-daapd, do a “ps aux|grep mt-daapd”the | character is a pipe.
when mt-daapd is running, there are 4-5 instances active.
to kill it, just do “killall mt-daapd”.only the super user (root) can use “killall”.
how did you install it ?
did you do a make && make install ?
you should have a init script located in either /etc/init.d
or /usr/local/etc/init.d, depending on your prefix.start and stop mt-daapd with this script ONLY.
the script does a few checks wether mt-daapd is already running int terminates it only then to restart it. its more comfortable that way.17/05/2006 at 11:52 AM #4410sviziGuestI installed it via the .deb package found on the web site of mt-daapd.
17/05/2006 at 3:10 PM #4411sviziGuestShould i remove the .deb package ( don’t know how ) and install it manually?
18/05/2006 at 12:01 AM #4412rpeddeParticipant@svizi wrote:
Should i remove the .deb package ( don’t know how ) and install it manually?
You have two problems. One is that when you ran it as you, it bumped into the version that the system started. That’s problem number one.
Problem number two is that the system version is running as “nobody” but trying to read mp3 files that are sitting in your home directory. “nobody” doesn’t have permission to read files in your home directory, so it doesn’t find any files.
Two options:
change the “runas” user to your username, so it runs as you can access the mp3 files, or move the mp3 files out of your home directory to somewhere where you can set read permissions to everyone.
Simple answer is probably the prior, better answer is probably the latter.
Either way works, though.
When starting or stopping, you should be doing:
/etc/init.d/mt-daapd start
and
/etc/init.d/mt-daapd stop
as root.
This should help.
— Ron
18/05/2006 at 6:03 PM #4413sviziGuestOk everything works fine many thanks….
18/05/2006 at 6:10 PM #4414sviziGuestSorry about the relevance of the question but how can i make mt-daapd start with the computer. Now i have to run it manually.
18/05/2006 at 11:08 PM #4415rpeddeParticipant@svizi wrote:
Sorry about the relevance of the question but how can i make mt-daapd start with the computer. Now i have to run it manually.
I’m not an ubuntu expert, but I’m assuming it must be like debian:
something like
update-rc.d mt-daapd defaults
ought to do it.
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.