Installation on AMS 150 (Fujitsu Siemens)

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues Installation on AMS 150 (Fujitsu Siemens)

Viewing 10 posts - 11 through 20 (of 21 total)
  • Author
    Posts
  • #12895
    qwertzy0815
    Participant

    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 ๐Ÿ˜‰

    #12896
    qwertzy0815
    Participant

    With 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.conf

    The 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?

    #12897
    fizze
    Participant

    You 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.

    #12898
    qwertzy0815
    Participant

    Hi 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?

    #12899
    fizze
    Participant

    Forget 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.

    #12900
    qwertzy0815
    Participant

    Thanks 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% /mnt

    I 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?

    #12901
    qwertzy0815
    Participant

    Can i install somehow ipkg on my AMS 150 ๐Ÿ˜‰

    What can i do to solve the “not found” problem?

    #12902
    rpedde
    Participant

    @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

    #12903
    qwertzy0815
    Participant

    Hi 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
    #12904
    qwertzy0815
    Participant

    Ron, 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.

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