Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If it wasn't set +x, a permission denied error would be returned...and at any rate, strace doesn't require the file to be +x to run on it.
That plus the phrase that strace gave the error "Exec format error" makes me think that either the file isn't in ELF or a.out format or it somehow got corrupted along the line.
I did set the chmod a+x for that file.
Actually, this file is working on school enviroment which is solaris, but it got the error message on the linux system.
Originally posted by mkwong107 I did set the chmod a+x for that file.
Actually, this file is working on school enviroment which is solaris, but it got the error message on the linux system.
That would most likely be your problem then.. and giving this type of information before would have been nice, really, it would have.
Edit and change your script or executable to run on Linux.. that will solve your problems. Linux isn't Solaris..
Originally posted by mkwong107 is that mean there is no way to run this binary file if i don't have the source file?
If its an executable that uses libs and what not that are also compatible or available with Linux, you can install the dependencies or the such to use on Linux.
What exactly is this binary file? Any particular program to be exact? If it is a popular type program, there could be a port of it already available on Linux.
about is the link to download the binary file. Actually, i want to provide this link before, but i cannot post a URL link before 5 posted. And i don't know how to describe it. Sorry for my lack of explanatioan
Network Emulator Program (network):
You will be given the executable code for the network emulator. To run it, you need to supply the following parameters in the given order:
" emulator's receiving UDP numbers in the forward (sender) direction,
" receiver s network address and receiving UDP port number,
" emulator's receiving UDP numbers in the backward (receiver) direction,
" sender s network address and receiving UDP port number, " maximum delay of the link in units of millisecond,
" packet discard probability, " verbose 1/0 for Yes/No (Set to 1, the network emulator will output its internal processing).
When the link emulator receives a packet from the sender, it will discard it with the specified probability; otherwise, it stores the packet in its buffer. With a random amount of delay (less than the specified maximum delay), it then forward the packet to the receiver.
To tell you the truth, that link you gave is basically just a directory index and then the file download. It doesn't provide anything beyond that.
Being an executable and or binary file, I would presume you will need to contact the creator or developer of this file to find out if you can get it to work on Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.