2011-05-07 15:51:12

by Mahmood Naderan

[permalink] [raw]
Subject: file is run on server but not on client

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;


2011-05-07 19:44:00

by Jim Rees

[permalink] [raw]
Subject: Re: file is run on server but not on client

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.