i have some problems with my ubuntu server again :(
Hello LQ,
I have some problems with my ubuntu: I have a project and when i try to execute any file it says " -bash: ./pj: No such file or directory " root@vps64558:/var/tmp/project# pwd /var/tmp/project root@vps64558:/var/tmp/project# root@vps64558:/var/tmp/project# ls clear pj srun root@vps64558:/var/tmp/project# root@vps64558:/var/tmp/project# ./pj -bash: ./pj: No such file or directory root@vps64558:/var/tmp/project# Anybody have any idea? Thank you |
try "ls -b" to make sure no nonprintables in "pj"
|
Quote:
---------- Post added 08-12-11 at 07:18 AM ---------- Come on LQ PLEASE HELP ME :-( |
Post output of this command, and please enclose it in the CODE tags:
Code:
ls -bl /var/tmp/project |
Quote:
Code:
root@vps64560:/var/tmp/project# ls -bl /var/tmp/project |
And
Code:
file /var/tmp/project/pj |
Quote:
Code:
root@vps64560:/var/tmp/project# file /var/tmp/project/pj |
And
Code:
/var/tmp/project/pj |
Quote:
Code:
root@vps64560:/var/tmp/project# /var/tmp/project/pj |
If this file is compiled by you or you have source of it, post it. If not then I suppose that main target of this program is to printing "No such file or directory" ;)
|
Quote:
|
So, from where you got this file?
|
Quote:
|
Then post output of this:
Code:
strace /var/tmp/project/pj |
Quote:
Code:
root@vps64560:/var/tmp/project# strace /var/tmp/project/pj |
All times are GMT -5. The time now is 03:05 PM. |