(I tried to change the folder permissions to read and write, cause if I didn't, then the file, when not in nautilus, had an x in the top right of the icon. Before this it didn't work anyway)
I am new to Linux and I wanted to setup a dedicated game server on my notebook.
I've installed Ubuntu 9.04. I than created a directory named /home/phlex/kfserver. I downloaded the application binary from Steam. I changed the file permission with chmod +x hldsupdatetool.bin and now the file attributes are -rwxr-xr-x.
The problem is when I try to run the binary file. If I type ./hldsupdatetool.bin I get an error message "-bash: ./hldsupdatetool.bin: No such file or directory. It seems the OS can't find the file. I've downloaded the file several times thinking it may have been corrupt but it's not. I can delete the file, I can rename it and so the file is there. Sometimes Linux can be aggravating to use.
An executable fails to be found and run when called even though it is found and displayed by ls.I am on lucid LTS fully updated 32 bit.The file has permissions setup but any attempt to run it results in the error bash ./executablename No such file or directory
This situation also seems to be present in kcronsometimes my scripts dont run from it even thoughthe run now option does.This bug has been around since dapper it would be nice if someone could fix it.
On FC14, launching xterm gives log:[b16394@udp158975uds ~]$ xterm Warning: Cannot convert string "nil2" to type FontStructxterm: cannot load font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
I've been able to run *.*msi files in the past through WINE. Apparently the latest version of Ubuntu is blocking the action of launching my *.*msi file. Any way of unblocking this? Uploaded with ImageShack.us. BTW, the app I'm trying to install is Steam.exe.
I am trying to make a custom launcher for a playlist file to open in VLC player. In the command part I have the path to the file like this: /home/mike/Videos/newTv.m3u What am I doing wrong cause when I try and launch it I get this error: Details: Failed to execute child process "/home/mike/Videos/newTv.m3u" (Permission denied)
I am trying to run a PHP script over and over again. I would love to be able to just write a small bash script that will just do this for me, however I am having trouble writing a for loop that works. Here is what I have now:
When I run this (./bash_import) I get the following errors:
I have also tried just doing the "php wps_product_import.php" on 20 different lines and I get an error saying it can't open the script file and only runs once.
I've been burning a few linux ISOs lately to play around on a desktop I have (archlinux, Fedora, etc) and a few days ago Brasero stopped launching. I tried to uninstall/reinstall Brasero, but it still didn't work. There we no error messages, it would just try to start up, and quit.
I got frustrated and tried to run Brasero from the command line and got this: Code: user@computer:~$ brasero Bus Error user@computer:~$
Ubuntu 11.04 was working fine and then when I went to open Synaptic, I got the following error: An error occurred
The following details are provided: E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/viewizard.com_linux_debian_en E: The package lists or status file could not be parsed or opened. E: _cache->open() failed, please report.
I get this error when I try to load Synaptic. In addition to that, the Ubuntu Software Center does not work when I try to search for and/or look at applications.
I have just installed Apache2 v. 2.2.17 on Ubuntu,and I am trying to get it to work with Ruby (v 1.8.7). I have followed the instructions on the Ubuntu site and ended up installing Phusion Passenger v 3.0.7, making the suggested changes to the httpd.conf file.
When I launch Apache2 I now get the message:
Cannot load /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so into server: /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so: undefined symbol: ap_get_server_banner
I have found a bug report (url) that suggests "adding a dependency" but am not sure how to do that. Any kind soul out there can take pity of this eager Linux neophyte?
I have a bash script giving me the following error:
[Code]...
When I run it I am getting: ./svnup: line 61: syntax error: unexpected end of file Can't for the life of me figure out what is wrong. It's a script to export the latest revision from SVN to the web root folder and archive the previous version, basically.
When I open a gtk app from the command line this error pops up:
Code:
Gtk: Unable to locate theme engine in module_path: "clearlooks", and I can not find clearlooks theme engine anywhere as it is supposed to be part of gtk by default?
I have the following working script. It checks the directory for txt files, if files are there, it copies to another directory or gives error. I would like to exclude "file not found" errors and send them to /dev/null. All other errors should go to the email address as usual.
I'm trying to install a copy of Postgres using the .bin(I want pg Admin III as well which is why I'm not using apt-get). It's sitting in downloads so I did the following:
$ cd /home/ryan/Downloads $ sudo chmod +x postgresql-9.0.4-1-linux.bin $ ./postgresql-9.0.4-1-linux.bin
but I keep getting: -bash: ./postgresql-9.0.4-1-linux.bin: No such file or directory I did -ls and the file is there and I can't figure out how to get this installed.
I create a bash script that writes another bash file. But in the generated bash file I want to write a bash command in the file and not executing it.Here's my bash file:
Code: #!/bin/bash cat > ~/generateGridmix2data.sh << END
The following problem occurs to me, I'm creating a distribution (as a class project) for my school (I'm studying telecommunications and computer systems). I am following, in order to create the distribution, the manual that you can find on this page: [URL] But when I get to write:
I recently upgraded my file/media server to Fedora 11. After doing so, I can no longer copy large files to the server. The files begin to transfer, but typically after about 1gb of the file has transferred, the transfer stalls and ultimately fails with the message:
"Error writing to file: Input/output error"
I've run out of ideas as to what could cause this problem. I have tried the following:
1. Different NFS versions: NFS3 and NFS4 2. Tried copying the files to different physical drives on the server. 3. Tried copying the files from different physical drives on the client. 4. Tried different rsize and wsize block sizes when mounting the NFS share 5. Tried copying the files via a different protocol. SSH in this case. The file transfers are always successful when I use SSH.
Regardless of what I do, the result is the same. The file transfers always fail after approximately 1gb.
Some other notes.
1. Both the client and the server are running Fedora 11 kernel 2.6.29.5-191.fc11.x86_64
I am out of ideas. Has anyone else experienced something similar?
I am supposed to take some small files, and print them to a specific printer, such that the small files are concatenated into one file. The file name has to be included in the file that gets printed.
Should I be looking to concatenate the files into one file with the file names included, and then print them?
What's the easiest way for me to make a program that requests a file location and then tar balls it. I basically want to start making a simple method of using pv with tar (lzma).
I want to define a simple error handler for a script. Image a script that does a few commands:
Code:
ls . cd .. touch ...
whatever, it doesn't matter. I want to define one error handler for the script, so if any of the steps error than the script is terminated and the error handler is run. I see the -e option to quit on errors, but I want a GOTO on errors.
I'm trying to change to a subdirectory: Code: tony@advent:~/scratch$ cd Home-Arch bash: cd: Home-Arch: No such file or directory
So I list the contents of the current directory: Code: tony@advent:~/scratch$ ls duhome Home-Arch qcad_1.dxf qcad_1.svg runme stdout
OK, I assume I have mis-typed the subdirectory name in ways I cannot detect, so I copy the sub-directory name from the output of the 'ls' command, while within the terminal window, and paste it into the next 'cd' command:
Code: tony@advent:~/scratch$ cd Home-Arch bash: cd: Home-Arch: No such file or directory
I browse the directory and sub-directory in Nautlius - everything is there where I expect it to be. The folders/files are not hidden. What is happening here?
I had netbeans installed and I removed it using wheris netbeans and then sudo rm whatever files it gave.I also remember doing sudo rm -r /usr/lib/netbeans6.9 I did this because i wanted to install netbeans via the repo. Now I installed netbeans suing
Code:
varun@varun:~$ sudo apt-get install netbeans
and when I try running netbeans i get...
Code:
varun@varun:~$ netbeans /bin/bash: : No such file or directory
Code: #!/bin/sh chown -Rc steven:users "/home/steven" I have more lines in the script but each line does the same error. This is run in a cron job but it always returns.
Code: chown: cannot access `/home/steven ': No such file or directory But it is a valid directory I have even tried adding an / and even a space on the end and still same error.
Running start_navicat script in kubuntu 11.04 returns bash error ./start_navicat: 10: arithmetic expression: expecting EOF: "2*100+13 2". The same navicat version runs fine in ubuntu 10.10 and 10.04. I tried deleting navicat folders - including hidden folders and reinstalling, but get the same error.Can't test ubuntu 11.04 because i can't get it running (black screen - even grub). xubuntu 11.04 is very unstable too. kubuntu 11.04 is very stable otherwise.no idea what to do, other than continue using ubuntu 10.10 (which is the best ubuntu version to date imho)
if I can create a bash script that once executer will edit or replace a line a in a file this line is the first one and its just one character that needs to be changed from a 1 to a 0.
How do I go about this? it is for a game called EVE Online, heres what my .sh look like atm
#!/bin/sh echo fixing prefs.ini #fix for prefs goes here echo starting eve eve