General :: Executable File Apparently Doesn't Exist When Trying To Execute With Bash
May 9, 2011
I downloaded a program called tonespace http://www.mucoder.net/en/tonespace/ which I extracted and then tried to execute the executable file with ./tonespace. This gives me the following message:
bash: ./tonespace: No such file or directory
When I use the command: file ./tonespace I get this: tonespace: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
I dont get it. The file is clearly there, yet when trying to execute it bash doesn't seem to recognize it.
It has permissions rwxr-xr-x and is not owned by root. Am I overlooking something?
View 2 Replies
ADVERTISEMENT
Sep 28, 2010
I have a compiled program, a tagger to identify parts of text, which claims it does not exist.This executable has to be called by a generated script, which is how I ran into this issue. What are the reasons this error could show up?The executable was copied from another machine.The file does have execution privileges (it gives a proper not-allowed message without them)I've tried copying the file to a different location (same problem)I've tried replacing the file with a fresh copy (same problem)The file does exist. Opening it with pico shows a file with binary data.
View 4 Replies
View Related
Aug 1, 2011
So I want to run command through ssh but also run a if check in bash to see ifa file exist. I know that to run ssh commands you do ssh user@server YOURCOMMANDbut if i need to run an if statements, how would this work??
View 4 Replies
View Related
Apr 11, 2010
In my bash file I have asked to navigate to some subdir, unzip a file and stay there but when I type pwd I can see i'm always back to home dir.Any way to get shell stick to subdir?
View 4 Replies
View Related
Jun 8, 2010
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
View 4 Replies
View Related
Feb 23, 2010
This should be simple but I can't seem to find what I am looking for.I want to search a text file for the existence of certain strings and execute a command if they exist, something along the lines of:
if <string> exists
command
or
if <any member of this list exists>
command
I know how to manually search a file with grep, cat, etc., but the "if this exists" part eludes me.
View 7 Replies
View Related
Jan 19, 2010
SO I'm not talking about changing the file permissions, The only thing I could find on google was this [URL]Basically can you convert your bash script into a executable file, One that you can't open in text editor?
View 2 Replies
View Related
May 24, 2010
I want to create a logon script (or somesuch) that creates a file (if it doesn't already exist) and checks the file for some info otherwise. If it finds a given trigger in that file, it logs into a local database and does some operations.
Now my problem isn't with creating that file or even getting it to function as a logon script -- it's with permissions. After the logon script creates the file, I want that user to have read access on it ONLY. Further, I don't want to give the user any kind of root access so that they could do the database operations in question or chown/chmod the file.
What's the best practice here? I'm noticing that whenever the script runs (in .bashrc right now) the script runs with the current user's permissions. Ideally, I'd like to make it so the login script can run at a higher level of permissions, (higher than the user has). Is this even possible? What's the best way to do this?
View 1 Replies
View Related
Oct 8, 2010
I use this command:
Code:
find ./ -atime +360
to figure out the files that haven't been accessed since 360 days. The command above will return results like this:
Code:
/uploads/2010/02/some-file-name.ext
/uploads/2009/08/another-file-name.ext
... etc
I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:
Code:
mv /uploads/2010/02/some-file-name.ext /old-files/uploads/2010/02/some-file-name.ext
But I want the executed command to create this path
Code:
/old-files/uploads/2010/02/
If it doesn't exist.
View 6 Replies
View Related
Feb 18, 2010
I'm trying to use scp to get a file from my desktop onto the server for my school. I'm connected via VPN and using PuTTy to try to do this. I've tried every single combination/permutation/help site on the web that I can think of and I still can't get this thing working. This is what I get:
[palermo@matrix hw2]$ scp synoptic.data palermo@matrix:/rhome/palermo/ats652/hw2
palermo@matrix's password:
synoptic.data: No such file or directory
Yet the file sits, in all it's glory, on my desktop. What have I missed here? This is for a homework due next week, so the urgency is kind of on.
View 5 Replies
View Related
Jul 30, 2010
i was assigned with a project to analyse the performance of ASSP mail filter engine.I am using Fedora 7 with KDE3.5. I need to install a lot of perl modules to run the assp.pl code.I was trying with all sorts of packages like src.rpm, ixxx.rpm, tar.gz, tar.bz2. All these packages doesnt work exactly. When i tried with rpm packages. I am getting this error.
/*
[root@localhost RPMs]# rpm -ivh cyrus-sasl-2.1.23-9.fc12.src.rpm
warning: cyrus-sasl-2.1.23-9.fc12.src.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 57bbccba
1:cyrus-sasl warning: user mockbuild does not exist - using root
[code]....
So i checked for config.h file as given the directory but it was missing.I don't know why?
View 4 Replies
View Related
Mar 27, 2011
I've been trying to write a bash script called runSorter.sh that runs an executable that also takes in some parameters and outputs the results to a text file. The executable, sorter, takes in a number parameter. I want to make it so that you can input as many number parameters into runSorter.sh as you want and it will run the sorter executable for each one. So far, what I have looks like this:
#!/bin/bash
args=("$@")
INDEX=0
if [ -z args ]; then
echo "Error"
else
while [ $# -gt $INDEX ]; do
NUM=${args[$INDEX]}
echo $NUM
echo ./sorter $NUM
let INDEX=INDEX+1
done
fi
My problem is that when I run ./run-sorter.sh 100 on my terminal, it just prints this to the screen:
./sorter 100
How can I have so that it properly executes sorter and outputs everything to a text file?
View 4 Replies
View Related
Apr 28, 2010
I made a script that contains repetitious commands (snmpget and awk are the only ones at the moment. Running these commands from standard terminal work, but when run within a script, I get:
./reg_sm_count: line 10: snmpget: command not found
./reg_sm_count: line 10: awk: command not found
./reg_sm_count: line 10: snmpget: command not found
[code]...
View 2 Replies
View Related
May 10, 2010
i tried to create a if else statements or either an else statement I get a message saying that the directory exists (mkdir: cannot create directory `./MAY2010': File exists I am running this in a crontab file and I dont want any output telling me that the directory exists. I just want to check if the directory doesnt exist, create one else do nothing (not even a message telling me that the directory exists).
[Code]....
View 8 Replies
View Related
Sep 20, 2010
I have a web server in my kitchen with apache running on it. Since the upload speed is quite low due to my isp I would like to execute a bash script that uploads a file to another server through a website (which is htaccess protected) The idea in general: Someone with access to my website browses through a folder, copies a file path to an input form and presses "upload". Rather than executing a bash script directly I could have a cron job running in background that finds the path and then uploads the file to the other server I have userspace on and is accessible via sftp/ssh. The file would be than erased later after a couple of days or so. That person would be able to access the file with higher speed some time later without logging in via ssh and doing all that manually.
View 2 Replies
View Related
Feb 13, 2011
SU results in Cannot execute bash: No such file or directory.
View 1 Replies
View Related
Mar 23, 2011
I'm playing with perl and found that I could just go:
"perl /home/me/bash_script.sh"
and it would execute, even though it's not a perl script. Is that just a feature or is there something I'm missing? Why does perl do this?
View 2 Replies
View Related
Jun 29, 2011
how to execute three processes by one script in bash.........in linux
View 1 Replies
View Related
Sep 14, 2010
For our class project we are going to use HyperTerminal to communicate to something we are building that is attached to our laptops using USB. We're supposed to use HyperTerminal.URL...I can't believe that a program that does the same thing doesn't exist in Linux. What programs that can do the same thing are available in Linux and Mac OSX?
View 5 Replies
View Related
Dec 29, 2010
Using Ubuntu 9.10/Epson Perfection V5001) I downloaded and extracted VueScan 9.0.08.2) The executable does not execute.3) Trying a cmd line execution (./vuescan) I get "./vuescan /lib/tls/i686/cmov/libc.so.6: version 'GLIBC_2.11' not found (required by ./vuescan)
4) However, libc.so.6 (link to shared lib) is located at /lib///cmov. It is linked to libc-2.10.1.so (shared lib) which is also located in /etc///cmov.So what may be the problem? My scanner works with Xsane, Iscan & VueScan 8.6.08. Unfortunately, Ed Hamrick (www.hamrick.com) does not support this type of problem(linux library compatibility issues), though a very nice application when the versions are compatible for Linux.
View 9 Replies
View Related
Jun 20, 2010
I am running into a snag on .exe files in Lucid. I have Wine installed, but I can not open the file as it is blocked from executing with a window popping up telling me that this file was blocked due to security reasons. I go into the files properties and try to change the permission but that does not help. Is there a way to get around this? Possibly in the terminal as root?
View 3 Replies
View Related
Dec 24, 2010
All of a sudden,i can't execute a simple script as follows:
exit 0
and:
exit
View 18 Replies
View Related
May 24, 2010
I'm running Slackware 13 - xfce4 and I got a new session in background. How could I see that session and use it? In backtrack I'm doing it via sessions in terminal but im Slackware 13 session command doesn't exist.
View 2 Replies
View Related
Feb 15, 2010
If at all possible I would like ot keep the GRUB loader and repair my situation.My slave drive has Windows 7. My master had Ubuntu on it. When it installed it added the GRUB loader.I replaced it with Fedora, but now the GRUB loader says it can't find the drive and bails to grub-rescue.If possible I would like to keep the grub loader. If I can't repair this, is there a way to uninstall it and reinstall it.
View 16 Replies
View Related
Nov 5, 2010
I've recently been trying to restore a Debian installation back to it's previous state after a serious operation system crash. Efforts are largely going well however I've run into problems since reinstalling Wine. Previously I could execute a Windows executable by simply entering ./executable.exe in the bash shell but this no longer seems to work as now I have to include the "wine" command in front of the executable. how to configure Debian to automatically use Wine to execute using the ./executable.exe format?
View 1 Replies
View Related
Jun 4, 2011
I 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]....
View 2 Replies
View Related
Aug 13, 2010
Does executable file contains the precise path to SO file? Should it be compiled with precise knowing of SO file location?
View 8 Replies
View Related
Nov 5, 2010
I just purchased a new server and loaded it with Ubunut server 10. I installed apache2, php5, and mysql5. apache needs a little bit of configuration left (I need to tell it to accept index.php in addition to index.html), but other than that, all the php is working. MySQL is working as well, at least on the server. If I do a "show databases;", it shows all the databases properly. I loaded phpmyadmin on the server for testing, but I'll be removing it once everything works - this is my production server. phpMyAdmin can find all the tables, perform successful queries, and do everything I want it to, HOWEVER If I try to use the login page, I get the error mentioned in the title of this thread.
The database is a carbon copy from my development server, which works flawlessly. All the php and html pages are exactly as they are on the development server too, yet I still get that error. I've reloaded all pertinent programs (apparmor, apache2, and mysql). Apparmor was because I had to declare some new lines for mysql to access a different location for the DBs I resolved the "can't load InnoDB issue", but this one is stumping me.
View 1 Replies
View Related
Jan 27, 2011
I have file which consists of many files with their path,i need to check for the file exists in the given path,how to check?
View 12 Replies
View Related
Dec 26, 2010
When I SSH another machine and try to execute some GUI app, it does. But when I try to execute some app as root on a remote PC, it doesn't do and says:Code:X11 connection rejected because of wrong authentication.some-GUI-app]: Cannot open display:How do I make it work?
View 5 Replies
View Related