problems with nfs - Slackware

This is a discussion on problems with nfs - Slackware ; High I have two boxes with Slack12 on both (laptop and desktop). I've mounted several nfs partitions that was exported by desktop on the laptop. The uids on both boxes are the same, I can read and write, but I ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: problems with nfs

  1. problems with nfs

    High I have two boxes with Slack12 on both (laptop and desktop).
    I've mounted several nfs partitions that was exported by desktop on the
    laptop. The uids on both boxes are the same, I can read and write, but I
    cannot execute scripts. When I try to run script, for example ./configure
    it says:
    /bin/sh: bad interpretator

    What is the problem?

    Thanks in advance.

    --
    s/.../.gotovchits/g for email.

  2. Re: problems with nfs

    Ivan Gotovchits wrote:

    > High I have two boxes with Slack12 on both (laptop and desktop).

    Well, I really meant Hi!
    I have ...
    :^)
    --
    s/.../.gotovchits/g for email.

  3. Re: problems with nfs

    Tue, 25 Sep 2007 14:08:30 +0400, Ivan Gotovchits did catÂ*:

    > High


    'Lo ;-)

    > I have two boxes with Slack12 on both (laptop and desktop). I've
    > mounted several nfs partitions that was exported by desktop on the
    > laptop. The uids on both boxes are the same, I can read and write, but I
    > cannot execute scripts. When I try to run script, for example
    > ./configure it says:
    > /bin/sh: bad interpretator
    >
    > What is the problem?


    You didn't show the /etc/exports and fstab you used so
    here are just quick suppositions...

    How did you mount the partitions?
    which options did you use (inline or in fstab)
    you most probably have used the 'noexec' option either explicit
    or implicit (like in -o users).
    If not the case that'd be to search in the exports options

  4. Re: problems with nfs

    Loki Harfagr wrote:

    > Tue, 25 Sep 2007 14:08:30 +0400, Ivan Gotovchits did cat :
    >
    >> High

    >
    > 'Lo ;-)
    >
    >> I have two boxes with Slack12 on both (laptop and desktop). I've
    >> mounted several nfs partitions that was exported by desktop on the
    >> laptop. The uids on both boxes are the same, I can read and write, but I
    >> cannot execute scripts. When I try to run script, for example
    >> ./configure it says:
    >> /bin/sh: bad interpretator
    >>
    >> What is the problem?

    >
    > You didn't show the /etc/exports and fstab you used so
    > here are just quick suppositions...
    >
    > How did you mount the partitions?
    > which options did you use (inline or in fstab)
    > you most probably have used the 'noexec' option either explicit
    > or implicit (like in -o users).
    > If not the case that'd be to search in the exports options

    Yes, sorry. This because this files are at home, and I am at work.
    In the exports file

    /mnt/r100.1/Bakery -async,rw,nohide,no_subtree_check 192.168.1.2

    on the laptop they all are written in /etc/fstab, don't remember for sure:
    desktop:/mnt/r100.1/Bakery /share/Bakery noauto 0 0

    There are about 10 such entries and they are mounted with the script,
    something like:

    if ping -c 2 desktop; then
    grep desktop /etc/fstab | cut -f2 | xargs -n 1 -P 10
    fi

    --
    s/.../.gotovchits/g for email.

  5. Re: problems with nfs

    Tue, 25 Sep 2007 15:07:48 +0400, Ivan Gotovchits did catÂ*:

    > Loki Harfagr wrote:
    >
    >> Tue, 25 Sep 2007 14:08:30 +0400, Ivan Gotovchits did cat :
    >>
    >>> High

    >>
    >> 'Lo ;-)
    >>
    >>> I have two boxes with Slack12 on both (laptop and desktop). I've
    >>> mounted several nfs partitions that was exported by desktop on the
    >>> laptop. The uids on both boxes are the same, I can read and write, but
    >>> I cannot execute scripts. When I try to run script, for example
    >>> ./configure it says:
    >>> /bin/sh: bad interpretator
    >>>
    >>> What is the problem?

    >>
    >> You didn't show the /etc/exports and fstab you used so
    >> here are just quick suppositions...
    >>
    >> How did you mount the partitions?
    >> which options did you use (inline or in fstab)
    >> you most probably have used the 'noexec' option either explicit or
    >> implicit (like in -o users).
    >> If not the case that'd be to search in the exports options

    > Yes, sorry. This because this files are at home, and I am at work. In
    > the exports file
    >
    > /mnt/r100.1/Bakery -async,rw,nohide,no_subtree_check 192.168.1.2
    >
    > on the laptop they all are written in /etc/fstab, don't remember for
    > sure: desktop:/mnt/r100.1/Bakery /share/Bakery noauto 0 0
    >
    > There are about 10 such entries and they are mounted with the script,
    > something like:
    >
    > if ping -c 2 desktop; then
    > grep desktop /etc/fstab | cut -f2 | xargs -n 1 -P 10
    > fi


    Please print the result of the command 'mount' (or mount -a
    in case some stuff is unmounted)
    Besides, try and append the parm ,exec in the options part in
    your fstab and 'mount -o reload /yourpartition'
    or just test with :
    mount -o exec,reload /yourpartition

+ Reply to Thread