linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* file is run on server but not on client
@ 2011-05-07 15:45 Mahmood Naderan
  2011-05-07 19:43 ` Jim Rees
  0 siblings, 1 reply; 2+ messages in thread
From: Mahmood Naderan @ 2011-05-07 15:45 UTC (permalink / raw)
  To: nfs

Hi,
The problem is when I run a command on the server, it works fine but when I run that from a client, it doesn't find that file.
ar@server:~/s1/src$ ls -l run
-rwxr-xr-x 1 ar users 2573621 2011-05-07 19:47 run
ar@server:~/s1/src$ ./run
Usage: ./run paramfile outfile format iotrace synthgen?

You can see that it ask for usage which shows the binary file works

However in the client:

ar@client:~/s1/src$ ls -l run
-rwxr-xr-x 1 ar users 2573621 2011-05-07 15:17 run
ar@client:~/s1/src$ ./run
-bash: ./run: No such file or directory


the file property is the same but I don't know why it does not find that (!)
// Naderan *Mahmood;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: file is run on server but not on client
  2011-05-07 15:45 file is run on server but not on client Mahmood Naderan
@ 2011-05-07 19:43 ` Jim Rees
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Rees @ 2011-05-07 19:43 UTC (permalink / raw)
  To: Mahmood Naderan; +Cc: nfs

Mahmood Naderan wrote:

  Hi,
  The problem is when I run a command on the server, it works fine but when I run that from a client, it doesn't find that file.
  ar@server:~/s1/src$ ls -l run
  -rwxr-xr-x 1 ar users 2573621 2011-05-07 19:47 run
  ar@server:~/s1/src$ ./run
  Usage: ./run paramfile outfile format iotrace synthgen?
  
  You can see that it ask for usage which shows the binary file works
  
  However in the client:
  
  ar@client:~/s1/src$ ls -l run
  -rwxr-xr-x 1 ar users 2573621 2011-05-07 15:17 run
  ar@client:~/s1/src$ ./run
  -bash: ./run: No such file or directory

This is not an nfs issue.  The client is missing the interpreter for this
file.  If you do "head -1 run" you will see the name of the missing
interpreter.  You also might want to check your timezone settings.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-07 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-07 15:45 file is run on server but not on client Mahmood Naderan
2011-05-07 19:43 ` Jim Rees

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).