Unix Technical Forum

problems with nfs

This is a discussion on problems with nfs within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> High I have two boxes with Slack12 on both (laptop and desktop). I've mounted several nfs partitions that was ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 04:36 AM
Ivan Gotovchits
 
Posts: n/a
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 04:36 AM
Ivan Gotovchits
 
Posts: n/a
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 04:36 AM
Loki Harfagr
 
Posts: n/a
Default 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 04:36 AM
Ivan Gotovchits
 
Posts: n/a
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 04:36 AM
Loki Harfagr
 
Posts: n/a
Default 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:50 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com