FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › Installation on AMS 150 (Fujitsu Siemens)
- This topic has 20 replies, 3 voices, and was last updated 16 years, 6 months ago by rpedde.
-
AuthorPosts
-
12/10/2007 at 10:06 PM #12895qwertzy0815Participant
Jo, Jo. I am a bit stupid. The mt-daapd server that was running, was the one i installed on my Macbook (gnagnagna).
It seems i need a kittle more support ๐
13/10/2007 at 8:00 AM #12896qwertzy0815ParticipantWith help of fizze I downloaded mt-daapd_svn-1673-1ds101g_powerpc.ipk, manually extracted it to my Macbook and copied the expanded /opt directory to the AMS 150 into /mnt.
I changed the related scripts and conf files to the new path /mnt/opt.
When I try to start with
/mnt/opt/etc/init.d/S60mt-daapd
i receive
/mnt/opt/etc/init.d/S60mt-daapd: 13: /mnt/opt/sbin/mt-daapd: not found
My S60mt-daapd is this
#!/bin/sh
# make sure our shared libraries are in the path.
# if we get /etc/ld.so.conf working, this export
# can be removed
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mnt/opt/lib
if [ -n "`pidof mt-daapd`" ] ; then
killall mt-daapd 2>/dev/null
fi
sleep 2
/mnt/opt/sbin/mt-daapd -c /mnt/opt/etc/mt-daapd/mt-daapd.confThe exports is
export HOME='/root'
export LD_LIBRARY_PATH=':/mnt/opt/lib'
export LOGNAME='root'
export OLDPWD='/mnt/opt/etc/mt-daapd'
export PWD='/mnt/opt/etc'
export SHELL='/bin/sh'
export TERM='xterm-color'
export USER='root'Even when i try to start in
/mnt/opt/sbin
i receive
-sh: ./mt-daapd: not found
Is this just wrong configuration from my side?
13/10/2007 at 8:08 AM #12897fizzeParticipantYou need to tell your system that this file is executable.
Try
chmod +x /mnt/opt/sbin/mt-daapd
and to the init-script as well, if thats not set already.
13/10/2007 at 8:50 AM #12898qwertzy0815ParticipantHi fizze.
They are executable
-rwxrwxrwx 1 0 0 325 Jul 2 2006 S60mt-daapd
and
-rwxrwxrwx 1 0 0 441248 Jul 2 2006 mt-daapd
I restarted the NAS, but still the same message
/mnt/opt/etc/init.d/S60mt-daapd: 13: /mnt/opt/sbin/mt-daapd: not found
Any idea?
13/10/2007 at 9:35 AM #12899fizzeParticipantForget the init script and try to start the binary manually.
Is your /bin/sh an existing and working shell?Tried to run
/mnt/opt/sbin/mt-daapd -c /mnt/opt/etc/mt-daapd/mt-daapd.conf
as root as well?
Ownership with 0 0 should be root:root, but maybe this is just busybox’s ls command acting up.
If its not working Id expect some error message from the kernel or whatnot, but not “not found”. So this indicates its not even loading the binary.
13/10/2007 at 9:48 AM #12900qwertzy0815ParticipantThanks for all your help fizze!!
To maintain the box i login with
ssh root@IP
login message is
root@IP’s password:
Wellcome!!BusyBox v1.00 (2006.07.21-04:41+0000) Built-in shell (ash)
Enter ‘help’ for a list of built-in commands.#
Is this an existing and working root shell?? How to check?Here’s the filesystem
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/ram 11895 10038 1857 84% /
/dev/sda1 239834788 69817200 170017588 29% /mntI tried to start
/mnt/opt/sbin/mt-daapd -c /mnt/opt/etc/mt-daapd/mt-daapd.conf
from the shell. As well i tried
/mnt/opt/sbin/mt-daapd
with the same result.
I suppose i do understand your question. This is the /bin directory
# ls -l
lrwxrwxrwx 1 501 501 7 Aug 31 2006 [ -> busybox
lrwxrwxrwx 1 501 501 7 Aug 31 2006 arping -> busybox
lrwxrwxrwx 1 501 501 7 Aug 31 2006 ash -> busybox
-rwxr-xr-x 1 501 501 281200 Aug 31 2006 busybox
...What can i do?
13/10/2007 at 11:30 AM #12901qwertzy0815ParticipantCan i install somehow ipkg on my AMS 150 ๐
What can i do to solve the “not found” problem?
13/10/2007 at 8:05 PM #12902rpeddeParticipant@qwertzy0815 wrote:
Can i install somehow ipkg on my AMS 150 ๐
What can i do to solve the “not found” problem?
That’s likely libs. There are a lot of dependant libraries for it, and I’m not sure which are required.
There is a shell-based version of ipkg you can probably get running on that box. If you got that running against a suitable ppc repository, you could probably download the missing dependancies (and install the ppc ipkg directly, and have it auto-download the deps for you), but I’ve never set up the shell-based ipkg before.
— Ron
13/10/2007 at 9:04 PM #12903qwertzy0815ParticipantHi Ron.
Thanks for your help.
Do you have any idea why i get the “file not found” message, even when i have the binary?
/mnt/opt/etc/init.d/S60mt-daapd: 13: /mnt/opt/sbin/mt-daapd: not found
13/10/2007 at 9:54 PM #12904qwertzy0815ParticipantRon, meanwhile i found a shell based ipkg here https://dev.openwrt.org/browser/trunk/openwrt/package/base-files/default/bin/ipkg?rev=1494 .
I copied it to the /bin directory, where the busybox tools are located (all the symlinks). I did a chown root ipkg.
It seems to run, but it asks for a /etc/ipkg.conf.
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.