Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a strange error occurring on one of my servers - despite a file existing, I cannot run it:

image of error

This is not limited to this particular program or to the user. It also happens when I try to run the file with the full path. Execute permissions are globally given for this file.

share|improve this question
    
Can you provide the output of strace /path/to/sourceguardian? –  ewwhite May 6 '12 at 7:28
2  
You know you can copy-and-paste text, right? –  wfaulk May 6 '12 at 8:06
add comment

1 Answer

up vote 5 down vote accepted

One possible reason for this error is when you try to execute a binary file which is not compatible with your platform. For example, you get such an error when you execute a 32-bit binary on 64-bit OS.

You can check your system platform using: uname -a. You need to know whether this program is compatible or not with your system.

share|improve this answer
    
Super! This was the solution...all I had to do was install the "ia32-libs" package via aptitude and now it's working. Thanks! –  Aron May 6 '12 at 7:42
    
@Aron: I was about to edit my answer to tell you that, but I was not sure if this is really the problem or something else. Good to hear that :) –  Khaled May 6 '12 at 7:46
2  
You'd be able to test this by running ldd /path/to/file and it will then complain about libraries which are required but not found. –  Steve Kemp May 6 '12 at 12:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.