FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › No hair left due to mt-daapd issues!!
- This topic has 9 replies, 4 voices, and was last updated 16 years, 9 months ago by Anonymous.
-
AuthorPosts
-
28/01/2007 at 5:19 PM #1047Bigbird12Participant
Hi,
New to linux, mt-daapd, telnetting etc and am about to lob my slug out of the window
Heres what I have so far
NSLU unslung version V2.3R63-uNSLUng-6.8-beta
1gb memory stick in top Disk slot formatted ext3
80Gb HDD in USB caddy formatted ext3installed mt-daapd via wiki http://wiki.fireflymediaserver.org/NSLU2_Installation
which has gone fine up to the
A Quick Aside About Unslung Data Locations section
These are my issues
1. changing the path to your mp3 directory using the web interface would be great but it comes up with ‘page cannot be displayed’ so cant change this method
2. Attempted to change directories via telnet but have yet to find a step by step way to do this (for a newbie)
3. when I run “/opt/etc/init.d/S60mt-daapd” i get a “./mt-daapd: error while loading shared libraries: libFLAC.so.7: cannot open shar
ed object file: No such file or directory”Can someone please give me some simple clear instructions on how to get this running else I will jump out of the wondow straight after the slug!!
Thanks in advance
Mark
29/01/2007 at 3:58 AM #8803rpeddeParticipant@Bigbird12 wrote:
Can someone please give me some simple clear instructions on how to get this running else I will jump out of the wondow straight after the slug!!
This is a recent thing — the flac libraries just got updated on the unslug repository and the mt-daapd binaries on the feed are linked against the old version.
Short answer:
Telnet into the machine and do:
root@nslu2:~# ln -s /opt/lib/libFLAC.so.8 /opt/lib/libFLAC.so.7
Then restart the server with /opt/etc/init.d/S60mt-daapd.
That should get you going.
— Ron
29/01/2007 at 9:26 AM #8804Bigbird12ParticipantAmazing!
I spend 7 hours yesterday trying to get the server running and one forum reply (which involved one line of code) from Ron has me up and running within 60 seconds!!!
You are a hero Ron! 🙂
Thanks alot – the other half may start speaking to me again soon
Thank again
Mark
01/01/2008 at 5:31 PM #8805AnonymousInactiveRon
I’m getting exactly the same error as our friend above on starting the server.
I have telneted the full “ln” command you gave to him to fix this problem, but I am getting the response: “ln -s /opt/lib/libFLAC.so.7 File exists”.
And then when I re-start the server I still get the same error.
I’d be grateful for your further advice, please.
Thanks in anticipation.
01/01/2008 at 5:49 PM #8806fizzeParticipantYou would have to update your version of libflac.
try
ipkg update
ipkg install libflacIm not 100% certain on the name of the flac package. You might be able to get the exact name by doing this though:
ipkg list|grep flac
01/01/2008 at 6:02 PM #8807AnonymousInactiveThanks fizze for your help.
I tried to install “libflac” but the slug couldn’t find this package.
I have run the query for the name of libflac and I am getting the response
“flac – 1.2.1-1 – FLAC is a free lossless audio codec. This package contains the codec libraries and the command line tools flac and metaflac. – 1.1.2-3 -“
Where should I go from here ?
Again, thanks for your help !
01/01/2008 at 6:40 PM #8808rpeddeParticipant@alanstedall wrote:
Thanks fizze for your help.
I tried to install “libflac” but the slug couldn’t find this package.
I have run the query for the name of libflac and I am getting the response
“flac – 1.2.1-1 – FLAC is a free lossless audio codec. This package contains the codec libraries and the command line tools flac and metaflac. – 1.1.2-3 -“
Where should I go from here ?
Again, thanks for your help !
Looks like flac has upgraded again… only now it’s not .8, it’s .9 or something.
The issue is this: the binaries now are looking for a libflac.so.8. But the latest flac doesn’t provide a .8.
look at the libraries that you hae in /opt/lib:
ls /opt/lib/libFLAC*
Likely you’ll see something… maybe libFLAC.so.9, but no libFLAC.so.8.
We can use the same trick to link libFLAC.so.8 (which we need to have) so that it points to libFLAC.so.9 (or whatever version you *do* have).
This might or might not work… it might be that version 9 is incompatible with version 8 in such a way that the server just crashes trying to run with 9, but it’s worth a try:
ln -s /opt/lib/libFLAC.so.9 /opt/lib/libFLAC.so.8
That makes libFLAC.so.8 point to libFLAC.so.9 (assuming that’s the version you have).
See what that does, or at least show us the output of “ls /opt/lib/libFLAC*”
— Ron
01/01/2008 at 6:58 PM #8809AnonymousInactiveHi Ron
# ls /opt/lib/libFLAC*
/opt/lib/libFLAC++.so /opt/lib/libFLAC++.so.6 /opt/lib/libFLAC++.so.6.2.0 /opt/l
ib/libFLAC.so /opt/lib/libFLAC.so.8 /opt/lib/libFLAC.so.8.2.0However, I did an ipkg upgrade so as to get all the latest FLAC files, etc, in line.
Now when I start the server I get:-
# /opt/etc/init.d/S60mt-daapd
Error reading config file (/opt/etc/mt-daapd/mt-daapd.conf)I appreciate you guys helping me on this.
01/01/2008 at 7:06 PM #8810rpeddeParticipant@alanstedall wrote:
Hi Ron
# ls /opt/lib/libFLAC*
/opt/lib/libFLAC++.so /opt/lib/libFLAC++.so.6 /opt/lib/libFLAC++.so.6.2.0 /opt/l
ib/libFLAC.so /opt/lib/libFLAC.so.8 /opt/lib/libFLAC.so.8.2.0However, I did an ipkg upgrade so as to get all the latest FLAC files, etc, in line.
Now when I start the server I get:-
# /opt/etc/init.d/S60mt-daapd
Error reading config file (/opt/etc/mt-daapd/mt-daapd.conf)I appreciate you guys helping me on this.
check your syslog and see what it’s barfing over:
/opt/etc/init.d/S60mt-daapd
tail -n50 /var/log/messages
It should say what it didn’t like about the config file. Permissions, maybe, or something else.
— Ron
01/01/2008 at 7:19 PM #8811AnonymousInactiveSuccess !!!!!!
😆
I think the “ipkg upgrade” did the trick.
The last problem I had was the fact that I had removed the hash symbol from the
“#db-dir /opt/var/mt-daapd”
statement in the config file, thinking that I should make this explicit rather than default. However apparently when processing this at this point it had a “null value”.
Thanks Ron and fizze for all your help (and patience with me).
All the best for 2008.
Regards
Alan
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.