pidof: not found

Viewing 10 posts - 31 through 40 (of 52 total)
  • Author
    Posts
  • #6920
    rpedde
    Participant

    @tiggermn wrote:

    I got this:

    cat: /opt/etc/S60mt-daapd: No such file or directory

    According to what you cut and pasted above it used to exist. It’s the file that you edited before, and that you tried to start that gave you the pidof errors.

    Are you sure you typed that right? You can also go to that directory and see what’s there:


    $ cd /opt/etc/init.d
    $ ls
    S05bash S40sshd S57rsyncd S60mt-daapd

    You should see “S60mt-daapd” there, just like I’ve shown. If not, then that’s probably part of your problem.

    — Ron

    #6921
    tiggermn
    Participant

    I did that and could see the file there, but when I put in the command, it still didn’t show, but I tried the following and it showed me something.

    BusyBox v1.00-pre2 (2006.02.01-23:21+0000) Built-in shell (msh)
    Enter ‘help’ for a list of built-in commands.

    # cd /opt/etc/init.
    /opt/etc/init.: bad directory
    #
    # cd /opt/etc/init.d
    #
    # ls
    S50dropbear S60mt-daapd S99local
    #
    # cat /opt/etc/S60mt-daapd
    cat: /opt/etc/S60mt-daapd: No such file or directory
    #
    # cat /opt/etc/init.d/S60mt-daapd
    #!/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:/opt/lib

    if [ -n “`pidof mt-daapd`” ] ; then
    killall mt-daapd 2>/dev/null
    fi

    sleep 2 /opt/lib/ld.so.1 /opt/sbin/mt-daapd -c
    /opt/etc/mt-daapd/mt-daapd.conf

    #
    #

    D’oh! Good call.

    There should be a linefeed afer sleep 2, and no linefeed after the -c.

    like so:


    sleep 2
    /opt/lib/ld.so.1 /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-daapd.conf
    #6922
    tiggermn
    Participant

    OKay, I did that. and I realized that something about the Unjustify/Justify command kept making my lines move up when I would save it. But now I get this:

    BusyBox v1.00-pre2 (2006.02.01-23:21+0000) Built-in shell (msh)
    Enter ‘help’ for a list of built-in commands.

    # /opt/etc/init.d/S60mt-daapd
    pidof: not found
    /opt/sbin/mt-daapd: error while loading shared libraries: libFLAC.so.8: cannot o pen shared object file: No such file or directory
    #
    #

    #6923
    rpedde
    Participant

    @tiggermn wrote:

    OKay, I did that. and I realized that something about the Unjustify/Justify command kept making my lines move up when I would save it. But now I get this:

    BusyBox v1.00-pre2 (2006.02.01-23:21+0000) Built-in shell (msh)
    Enter ‘help’ for a list of built-in commands.

    # /opt/etc/init.d/S60mt-daapd
    pidof: not found
    /opt/sbin/mt-daapd: error while loading shared libraries: libFLAC.so.8: cannot o pen shared object file: No such file or directory
    #
    #

    “ipkg install flac” should pull down the latest flac, and you should be in business.

    — Ron

    #6924
    tiggermn
    Participant

    Boy I am just not making this easy am I?

    I got this:

    BusyBox v1.00-pre2 (2006.02.01-23:21+0000) Built-in shell (msh)
    Enter ‘help’ for a list of built-in commands.

    # ipkg install flac
    Upgrading F þÿE p}Àp}È flac on root from 1.1.2-3 to 1.1.4-1…
    Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g//flac_1.1.4-1_mipse l.ipk
    ipkg: invalid magic
    #
    #

    I think it may have something to do with one of the sites I am ‘echo’-ing. When I had run this earlier:

    # ipkg update

    I got this:

    Downloading http://ipkg-us-dyoung.nslu2-linux.org/feeds/optware/mss/cross/unstable/Packages
    wget: ipkg-us-dyoung.nslu2-linux.org: Unknown host
    Downloading http://ipkg.fireflymediaserver.org/mipsel/Packages
    Updated list of available packages in /opt/lib/ipkg/lists/firefly
    Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g//Packages
    Updated list of available packages in /opt/lib/ipkg/lists/nslu2_unslung
    Downloading http://ipkg.openmss.org/testing/Packages
    Updated list of available packages in /opt/lib/ipkg/lists/openmss_testing
    An error ocurred, return value: 1.
    Collected errors:
    ipkg_download: ERROR: Command failed with return value 1: `wget –passive-ftp -q -P /tmp/ipkg-cCg1cB http://ipkg-us-dyoung.nslu2-linux.org/feeds/optware/mss/cross/unstable/Packages’
    #

    Not sure what happened, when It worked when I first posted.

    #6925
    rpedde
    Participant

    @tiggermn wrote:

    Not sure what happened, when It worked when I first posted.

    Wow. Okay, we really are making this hard. 🙂

    Try:


    # echo "src nslu2 http://ipkg.nslu2-linux.org/feeds/optware/mss/cross/unstable" > /opt/etc/ipkg.conf
    # echo "src firefly http://ipkg.fireflymediaserver.org/mipsel" >> /opt/etc/ipkg.conf

    then “ipkg update”, then “ipkg install flac”

    #6926
    tiggermn
    Participant

    Well, the first part worked fine again. But I still got the same error message with Flac:

    BusyBox v1.00-pre2 (2006.02.01-23:21+0000) Built-in shell (msh)
    Enter ‘help’ for a list of built-in commands.

    # echo “src nslu2 http://ipkg.nslu2-linux.org/feeds/optware/mss/cross/unstable” > /opt/etc/ipkg.conf
    #
    # echo “src firefly http://ipkg.fireflymediaserver.org/mipsel” >> /opt/etc/ipkg.conf
    #
    # ipkg update
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/mss/cross/unstable/Packages
    Updated list of available packages in /opt/lib/ipkg/lists/nslu2
    Downloading http://ipkg.fireflymediaserver.org/mipsel/Packages
    Updated list of available packages in /opt/lib/ipkg/lists/firefly
    #
    # ipkg install flac
    Upgrading p þÿ[ p}ȵp}È flac on root from 1.1.2-3 to 1.1.4-1…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/mss/cross/unstable/flac_1.1.4-1_mipsel.ipk
    ipkg: invalid magic
    #
    #

    Could it be that maybe I have done so much stuff that perhaps I need to ‘clear everything out’ and try it over again? At one point I had TwonkyMedia on there, but I have since uninstalled it because it wasn’t working either.

    And if I do need to clear everything out, how would I ‘easily’ go about that.

    #6927
    rpedde
    Participant

    @tiggermn wrote:

    Well, the first part worked fine again. But I still got the same error message with Flac:

    BusyBox v1.00-pre2 (2006.02.01-23:21+0000) Built-in shell (msh)
    Enter ‘help’ for a list of built-in commands.

    # echo “src nslu2 http://ipkg.nslu2-linux.org/feeds/optware/mss/cross/unstable” > /opt/etc/ipkg.conf
    #
    # echo “src firefly http://ipkg.fireflymediaserver.org/mipsel” >> /opt/etc/ipkg.conf
    #
    # ipkg update
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/mss/cross/unstable/Packages
    Updated list of available packages in /opt/lib/ipkg/lists/nslu2
    Downloading http://ipkg.fireflymediaserver.org/mipsel/Packages
    Updated list of available packages in /opt/lib/ipkg/lists/firefly
    #
    # ipkg install flac
    Upgrading p þÿ[ p}ȵp}È flac on root from 1.1.2-3 to 1.1.4-1…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/mss/cross/unstable/flac_1.1.4-1_mipsel.ipk
    ipkg: invalid magic
    #
    #

    Could it be that maybe I have done so much stuff that perhaps I need to ‘clear everything out’ and try it over again? At one point I had TwonkyMedia on there, but I have since uninstalled it because it wasn’t working either.

    And if I do need to clear everything out, how would I ‘easily’ go about that.

    Looks like it’s having problems downloading that file. Try downloading it on a pc and copying it over to the device. The path is right there.

    As far as from scratching it, I’m actually not entirely sure! There is a minimum number of files you need in opt, I think, so I don’t think you can just whack the /opt dirctory.

    #6928
    tiggermn
    Participant

    I am on a PC, so I would download it here, but then how would i copy it over. All my PCs are Windows based, and none of them can see these folders when I log into the device normally, so I am assuming I would need to use something like putty to do it, I just don’t know what the command is.

    Thank you again for all your help in this, I greatly appreciate it!

    So, what would be the command to copy that over?

    #6929
    rpedde
    Participant

    @tiggermn wrote:

    I am on a PC, so I would download it here, but then how would i copy it over. All my PCs are Windows based, and none of them can see these folders when I log into the device normally, so I am assuming I would need to use something like putty to do it, I just don’t know what the command is.

    Thank you again for all your help in this, I greatly appreciate it!

    So, what would be the command to copy that over?

    You should be able to just dump that into a share on the mss server (public, maybe), then install it from there:


    # cd /shares/mss-hdd/Public
    # ipkg install flac_1.1.4-1_mipsel.ipk

    The directory “/shares/mss-hdd/Public” is the same directory that you see when you connect to the “public” share on the mss server via windows.

    — Ron

Viewing 10 posts - 31 through 40 (of 52 total)
  • The topic ‘pidof: not found’ is closed to new replies.