Server :: Binary File Error - Cannot Execute
Oct 13, 2010When im typing any command its giving error -bash: /bin/ls: cannot execute binary file. how to resolve this im using fedora 13.
View 11 RepliesWhen im typing any command its giving error -bash: /bin/ls: cannot execute binary file. how to resolve this im using fedora 13.
View 11 RepliesI have tried to execute the below ns.c program in RHEL 4 by using the command
#gcc -c ns.c -o ns.o
i am not getting any errors but while i am running object file by using the command
#./ns.o
i am getting the below error
bash : ./ns.o cannot execute binary file
/* trinoo daemon */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
[code].....
I have installed RHEL-5 on a 64-bit machine recently, and want to install java. Earlier when I did "java -version", it showed jre1.4.0. But for my application , I need jre 1.5.0 or later, so I decided to download jre1.6. I am the root user here and I downloaded the jre1.6 as rpm.bin as well as simple .bin format.
But the problem is that when I tried executing any of them, I am getting below error message :
" ./jre-6u16-linux-x64-rpm.bin: line 368: ./install.sfx.20520: cannot execute binary file"
Moreover, now when I tried "java -version", it is not showing any thing.
Could anybody suggest me how can I resolve this deadlock situation, as I need to install my other application at the earliest.
When I try to compile some Java code on Ubuntu 10.10 (kernel 2.6+) using make and a Makefile.
I get an error indicating that the make utility cannot execute the java compile command (javac).
The error reads: /bin/bash: line 6: .: /usr/local/jdk1.5.0_18/bin/javac: cannot execute binary file
I am executing make as root. I have enabled permissions on all directories in the path /usr/local/jdk1.5.0_18/bin/javac and on javac itself.
I get this error whether using a jdk installed via ubuntu apt-get, or whether I install the jdk myself. And I get it using either Java 1.5 or 1.6
My machine has an 80386 processor. I notice the make utility is built for i686-pc-linux-gnu
However, I can manually compile using javac.
I can compile calling javac from within a bash script.
I can compile using the java compiler gcj from the command line: gcj --main=HelloWorld HelloWorld.java -o HelloWorld.exe
But I cannot compile java code from the makefile. Any reasons why I might be getting this error?
I'm new to Fedora, and haven't used any flavor of Linux in years. I'm attempting to run a few benchmarks that were given to me by my instructor, but every one I try to run gives an error "Cannot execute binary file". For instance,.inp.inThis command gives an error:bash: ./Mcf: cannot execute binary fileIt is not a permission problem, I have confirmed the file has execute permissions (one of the things I still remembered after all these years). I suspect all the benchmarks I have been given were compiled on Ubuntu. Would this be causing the problem? I do not have access to the source code, so I cannot recompile. If that is the problem, is there a way around it that doesn't involve throwing away a weekend and starting fresh on Ubuntu?
View 1 Replies View RelatedI found a Linux .x86 binary file that I've been looking for, but not sure what to do with it. Does this (*.x86) binary file format seem like something that could simply be run by command, or something that would need to be compiled first? There is not much information that I could find regarding the particularly file.
View 11 Replies View RelatedI have a strange issue on one of my machines. The same thing works fine on all the others. When I execute:
Code:
sudo -u myuser -i ls
I get:
Code:
/bin/ls: /bin/ls: cannot execute binary file
On the other hand if I just run
Code:
sudo -u myuser -i
and then run ls, it executes successfully, but I don't want to stay logged in as myuser I just want to run a single command.
I'm trying to install this app called genBlast. It's a bioinformatics tool that does some cool stuff (I guess the actual use doesn't matter that much). Anyway, it comes as a .tar.gz folder with about a dozen executables in it; no compiling necessary. I extracted it to the desktop so I didn't have to worry about permissions, and then just tried to run it from inside the directory (it's a command line app).
All of the executables work with a ./ except one, and it's the most important one for that matter. When I go to run it, I get the error message Code: bash: ./genblast: cannot execute binary file I've checked permissions with ls -l, run a chmod 'u+x' just to make sure, and everything else I can think of. But it just won't work. Also, I just installed it on another computer and it works fine, so I'm pretty sure it's on my end.
I tried to restart my httpd service.cannot execute binary file seems like the HTTPD wasnt stopped while it should be stopped. it skipped the 'stop' and just right away jump into 'start' command. my case is i just changed some php.ini configuration, and to have it changed i need to restart after changes.am i correct if i say my '/bin/rm' and '/bin/touch' files are corrupted?
View 3 Replies View RelatedI have download a 'package' that is meant to be used for genetic research and such...Anyway, i have downloaded the file and when i try to execute the included example, it says cannot execute binary file. i've tried all sorts of permissons/re-downloading/etc. I've pastted the attached readme that I followed EXACTLY, but am still gettin an error[URL]m/here is the readme that comes with it:EMINIM : Expectation-Maximized INtegrative IMputation
0. GETTING STARTED
0.1 Uncompress the package
$ tar xzvf eminim-1-beta.tar.gz
[code]...
I'm trying to compile a simple script for a ar71xx (bleeding edge /from snapshots) Openwrt router.I have previously compiled scripts for Kamikaze 8.09. I just copied the gcc file inside the SDK dir and used it without problems.
View 4 Replies View RelatedI am using Karmic. I just downloaded Cinelerra from sourceforge. Apparently there is no installation, you just run the binary (according to the Readme). The binary is set to be executable (-rwxr-xr-x), but when I double click it in nautilus nothing happens. When I go to the app directory in the terminal and do:
[Code]...
Trying to install Parallels Plesk Panel 10 x86_64 onto a completely new installation of Ubuntu 10.04.1 LTS
root@server:~# chmod +x parallels_installer_v3.7.1_build101014.17_os_Ubunt u_10.04_x86_64
root@server:~# ./parallels_installer_v3.7.1_build101014.17_os_Ubunt u_10.04_x86_64
-bash: ./p.arallels_installer_v3.7.1_build101014.17_os_Ubun tu_10.04_x86_64: cannot execute binary file
We are trying to install Oracle RPAS 13.1.1 on Redhat Enterprise 5 Linux Server, when we open the directory rpas/rpas/bin, the file DomainDaemon needed to start this server can be seen, but when we try to execute it as ./DomainDaemon it says "cannot execute Binary file", for that reason all files in this directory are giving same message .
We have tried the following :-
a) Given Execute permissions using chmod and run that.
b) Done file DomainDaemon to see if the file is corrupt.
c) Even tried executing using superuser account.
d) The OS and updates required as per Hw&Sw Requirements of RPAS 13.1.1 are there.
e) The directory has Execute Permissions
I just installed amanda-backup_client-2.6.0p2-1.rhel4.i386.rpm on my Red Hat Enterprise Linux 4 system. But I don't know who to check if it successfully installed or not. When I try to run amrecover from root, I get:
-bash: /usr/sbin/amrecover: cannot execute binary file
I have two sets of drivers to install, one for a wireless device I'm trying to enable and the other is an driver set for a newly installed nVidia graphics card. Both drivers are from the manufacturers site.I'm running Ubuntu 10.04 on a Dell Precision 380.In terminal:
chmod a+x rt2870.bin
then:
./rt2870.bin
[code]...
I have java jdk1.5.0_08 installed on linux x86_64 architecture and I can execute java -version no problem. I took the same binaries and installed on ia64 architecture and the command java -version gives and error "cannot execute binary file" The Linux OS versions are 2.6.18-128.1.10.el5 on x86_64 and 2.6.18-128.4.1.el5 on ia64 Do you know whether the jdk1.5.0_08 binaries are compatible between x86_64 and ia64 architecture. The answer may be no, but I may be wrong and there could be some other issue. Where can I get the jdk1.5.0_08 specific to ia64 architecture for Linux version 2.6.18-128.4.1.e15
View 1 Replies View RelatedI have downloaded a file called logkeys-0.1.1a. I unzipped it, but when I try to install (i type "sh install"), it says "/use/bin/install: cannot execute binary file".
View 11 Replies View RelatedI am facing problem on executing commands like df -h,ls-l,grep etc in /bin.
it is showing below errors:--
----------------------------------------------------------------------------------
login as: root
root@220.226.102.217's password:
Last login: Sat Jun 4 11:14:20 2011 from 220.227.54.149
-bash: /bin/egrep: cannot execute binary file
[code]....
I am having problems with scp during a backup operationI added a ps -ef before and after the scp operation used during the backup.The backup is a script to backup a Zimbra ServerI am including the code segment that I am having problems
Code:
# DRCP Section. To scp newly created archives to a remote system
if [ "$DRCP" = "yes" ]
[code]...
Is there any Linux utility to combine two or more binary files into a single binary file ?
View 7 Replies View RelatedI am trying to launch gst in frrescale IMX51 board. when i try to launch that i am getting the following error as [code]error in opeing firmware binary file pu bin file to /usr/lib folder or export VPU_FW_PATH env
ERROR: pipeline doesn't want to pause.setting pipeline to NULL FREEING pipeline ...[/code[
but i already exported the VPU_FW_PATH and its there in /usr/lib/ also. But still i am getting the same thing.
Trying to setup a new Ubuntu machine and just downloaded 'p4' (Perforce command line client). It's a single file download - a statically-linked binary executable, so I just did:
wget [URL]
...right into /usr/bin. Simple enough. Except:
root@aj-ubuntu:/usr/bin# ll p4
-rwxr-xr-x 1 root root 748808 2010-02-11 16:54 p4
root@aj-ubuntu:/usr/bin# ./p4
[Code].....
I wanted to know how can I cross compile SMS SERVER TOOL for an embedded computer and make just one binary file for it or how can I change all of its default files places like its demon and object file and gather all of them to one directory to execute and use and run.let me explain it better for you : I have an embedded computer with Linux OS that its file system is read only and I can not add any file to /usr /lib and ..... and I can just mount a SD memory card to it and copy all of my programs to it and run them from there as you understand I have two choices to choose, first make one big binary file for each program that I am doing it now and it is not a suitable solution and the second is finding the way to change default place of shared object file of my program.now you tell me what can I do to solving this problem.
View 1 Replies View RelatedOn an Ubuntu 9.10 (Karmic Koala) machine, I burned a CD from the command prompt using: cdrecord -v speed=16 dev=0,1,0 /FPS.iso.The CD now contains an executable and some files. I tested the CD by loading it onto another machine (Red Hat 5.3) and when I try to run the program I get the following message:bash: ./FPS1_1: Permission denied.I can open other files like text documents (the executable also comes with shared libraries).I realized I had burned the CD as root so I burned another one as another user but I still have the same problem.
View 2 Replies View RelatedI have recently installed FC12 64 bit. I have been using Fedora now since I first installed FC9 a few years back.
My main problem is that I am unable to execute any files at all using the ./filename command. I spent last night trying to run the ipod bootloader and all I kept on getting was the message: unable to run binary file. I used the command chmod +x ipodpatcher before attempting to run it, but with no luck. After a while of frustration and a few suggestions online I booted up my Ubuntu OS and the file ran first time. Am I missing a program on FC12? Do I need to install something else?
I feel it may be simple, however I have never experienced this problem before using Fedora. Any suggestions?
I'm trying to download / execute the Centos 5 64bit auto installer: [URL] Once obtained, how do I run that script?
root@server [~]# wget http://download1.parallels.com/SiteBuilder/4.5.0/autoinstaller/parallels_installer_v3.3.2_build080710.09_os_CentOS_5_x86_64
--12:39:13-- http://download1.parallels.com/SiteBuilder/4.5.0/autoinstaller/parallels_installer_v3.3.2_build080710.09_os_CentOS_5_x86_64
[Code]....
There is this server running squid and dansguardian as proxy for the local network. Everything is working fine. But I have seen that from time to time the danguardian dies out and fails to respond to shutdown or restart commands. And this is because of the binary located at /usr/local/sbin named dansguardian goes empty. There are multiple instances and hence copying another named dansguardian.2 to dansguardian does it. And dansguardian works normally as it should. Looked into dmesg and /var/log/messages but nothing there. It was compiled and not installed from pre compiled binaries. And runs on CentOS5.4 Final.
View 3 Replies View Relatedi have purchased sun server for my visualization project. Request you to help me finding the io for disk .I have put storage(disks) on different location (File Server) and on server (Application) i have configured 4 virtual machines.
How would i monitor the io for file server from the Application server where i have configured 4 virtual machine. one way to mount the file server share on application server and execute
dd if=/dev/zero of=/share/test.out bs=1024 count=1024 to check the read and write Is there any other way of doing this.
started setting up my 3rd ubuntu server under the OS of Ubuntu Linux 9.04 64 bit. I have configured the server to allow root access and am using this to execute this file. As you can see from the screenshot of PuTTy, the file exists but is refusing to load up. I am also able to nano the file. I have tried moving the file to /root/ and still had no luck.
View 3 Replies View Related