Ubuntu :: Call To 'php5' Caused Command Not Found Error?
Jan 6, 2010
I have recently installed 9.10. Under 7.04 thru 9.04 I have a bash script and php script that I used to send announcements about club events.When I tried it today, I get errors. Here us the command line script I use to call the php mail handling script.
Code:
#!/bin/bash
## member calling for Dave
[code]....
View 4 Replies
ADVERTISEMENT
Nov 29, 2010
In practice I have a script that call a java program that call a linux system command. The script if I run it, from a shell functions well,so it is not a java problem. The problem come out when i put this script in a crontab schedulation. The result in this case is that java do not execute the system command. I think it depends on crontab
View 4 Replies
View Related
Mar 26, 2011
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
View 5 Replies
View Related
Jan 10, 2010
I am a linux newbie, and recently started shell programming. whenever I use 'let' command it gives me an error 'command not found'. I am using ubuntu 9.10 with bash.
View 5 Replies
View Related
Jan 13, 2010
I have the following script:
Code:
#!/bin/bash
for HOSTS in server01 server02 server03
do
echo "Connecting to $HOSTS"
echo "Resetting Password"
echo ""
[Code]...
done When I run the script I get an error message on the hosts that says: pass=test command not found. Any ideas why is not taking it as a variable?
View 1 Replies
View Related
Feb 16, 2011
I have an "error", its not really and error, every time I open the terminal, it shows this:
Reading: command not found
Building: command not found
Reading: command not found
*****@****-****:~$
View 3 Replies
View Related
Jul 30, 2010
I have a guy in my office who was using an old version of ubuntu and he tried upgrading to 10 but now he's getting grub error 17. I Google this and everyone suggests reinstalling grub starting with opening a shell and typing 'sudo grub'.
However, I get 'command not found' in response to that. I've tried looking for the location of grub so I could try 'sudo /sbin/grub' and such, but I don't see it anywhere.
Also, I'm using a version 9.10 Live CD at the moment because I can't find out how to disable the drmraid option on the version 10 CD (necessary to detect the hard drives which, although they are on a raid controller are not configured as an array but separate drives).
View 2 Replies
View Related
Feb 23, 2010
I am doing some embeded linux work in ARM 9263.So I need to make a image for that board.But when I using one command "make uImage" I am getting the following error.
make: arm-linux-gcc: Command not found
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
HOSTCC scripts/basic/fixdep
code....
View 4 Replies
View Related
Nov 8, 2010
I recently installed Fedora 14 from KDE live CD . everything is working excellent except when I tried to do lsmod today, I got lsmod:command not found error.I checked and found that PATH did have /sbin and /sbin/lsmod does exist. But /sbin/lsmod points to /bin/lsmod (which does not exist)I did whatprovides on lsmod and found module-init-tools-3.11.1-2.fc13.i686 as the package.
View 1 Replies
View Related
Mar 3, 2011
i'm using ubuntu 8.4 when i want install file.tgz, i found an error like
"installpkg command not found"
even though i have typed the command like this
"#installpkg file.tgz"
so, what's the problem with this?
View 7 Replies
View Related
Jun 15, 2010
I am scheduling a command for a specific time every day.
Linux crontab format which I am using :- MIN HOUR DOM MON DOW CMD
30 08 10 06 * /home/mach/script.sh
Some presetting is required?
View 13 Replies
View Related
Nov 23, 2010
when i login to one of our development server i get the following.
Last login: Tue Nov 23 14:08:32 2010 from 192.168.2.5
-bash: r: command not found
-bash: $: command not found
[code]....
View 2 Replies
View Related
Mar 28, 2010
i am trying to use ttcp for a benchmarking excercise, i have download the ttcp onto linux machine and compiled it using the c compiler but when i try running the test i get error saying [command not found].those anyone know what seems to be the problem and how i might be able to sort that out.
View 3 Replies
View Related
Jan 14, 2010
I've PHP5 installed on my server, and just recently I installed a new application that requires gd library.
understand that I can have gd library installed via apt-get install php5-gd command.
Question: do I need to remove php5 instance (which was installed together with apache2/mysql using tasksel command) prior to installing php5-gd?
View 1 Replies
View Related
Apr 5, 2011
i have a site where I need to run a couple of php scripts every day..therefore I was thinking to setup a cronjob to do this. Unfortunately I get a whole bunch of errors trying to do so.
I can execute the php scripts via a command line without problem, one example would be
php /home/site/domains/stie.be/public_html/admin/cronjobs/cronjob_daily_ssh.php
however when i enter this command as such in a cronjob I get an error saying php command not found ( or something similar , doing this out of memory)
I tried to add the full path to the php command, but also this doenst work
the best workaround I found was to execute the php scripts with a lynx - dump command, but obviously this is not the right way.
View 7 Replies
View Related
Feb 26, 2010
I am completely new to linux and am trying to run a Fortran program for class. I typed in "make C=R" and it ran through a long list of things and then came up with that error.
View 1 Replies
View Related
Apr 1, 2010
I am attempting to create a script for Grid job submissions. I have most of it completed but when testing I've run into some problems.
How it works is that I have 2 wrapper files, one is the top of the script, the other the bottom, the original script imports commands for the middle.
Basically this is what is to happen:
cat script-start.sh >> workerscript.sh
echo commands >> workerscript.sh
cat script-end.sh >> workerscript.sh
workerscript.sh gets created with no problems but when it is run I get:
export: command not found
I think that the new script is not calling bash which gives the problem. I don't know how to fix the problem though because I have the shell set in the script-start.sh.
#!/bin/sh - tried /bin/bash, same result
export PROJECT=/......
export PROJSOURCE=/......
View 14 Replies
View Related
Mar 25, 2011
Using zstyle, I can create a custom warning for messages and such, but looking into the man pages and all, I do not see anything for customizing actual error messages in ZSH, as such:
Code:
casper@ltp01[/home/casper][19:14] - asdfsdafasdfjsdf
zsh: command not found: asdfsdafasdfjsdf
View 3 Replies
View Related
May 25, 2011
Quote:
Explain the error?
View 2 Replies
View Related
Oct 21, 2010
I am looking for gcc installation in CentOS 5.4. I cannot use yum install since not connected to internet. I tried to do sudo apt-get install build-essential but received the following error: sudo: apt-get: command not found How to install gcc in my Linix machine?
View 2 Replies
View Related
Sep 9, 2010
As usual, I let the update manager run.. But now something bad happened and a red button is showing in the system tray, which when I hover my mouse over it, tells me to open package manager or try "sudo apt-get" in terminal to see what is wrong..
If I enter sudo apt-get upgrade, I get the following errors.. How can I fix it.. I am unable to open package manager itself..
Code:
E: Problem parsing dependency Depends
E: Error occurred while processing gconf2 (NewVersion1)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
View 2 Replies
View Related
Aug 23, 2010
I m using Redhat Linux 5......I am trying to install Nero 4 DVD Writer s/w...It is an exe file ...
I have given permission like this:
Then i execute the file like this:
Its showing error like this:
View 9 Replies
View Related
May 27, 2011
find /var/spool/mqueue -group abc -exec rm -rf {} ;Using above command , I delete all the files belong to group abc.Now the problem i face is that the this command gives error that some files are missing . And this error occur because after creating list of files, it pass that list to rm -rf but till that time sendmail process queue and some of files disapper from /var/spool/mqueue.
View 5 Replies
View Related
May 24, 2015
I have just installed Debian 8 with Gnome desktop and trying to add my username to sudoers list.
When I open terminal and enter visudo I get the following error message...
Code: Select allfracmo2000@debian:~$ su
Password:
root@debian:/home/fracmo2000# visudo
bash: visudo: command not found
root@debian:/home/fracmo2000#
Although I am quite new to debian, I have done this successfully in the past so not sure why this is happening?
View 7 Replies
View Related
Nov 6, 2010
I am using rhel5 with ip 192.168.0.254.i am using rhel on vmware 7. when i run links 192.168.0.254 then i got error "bash : links : command not found" i want to know why this error is showing? when i use red hat without vmware then there is no problem.
View 2 Replies
View Related
Feb 28, 2011
#1 Ubuntu-10.04-x86_64 (its a form of liunx)
#2 OS 64 bit
#3 java 1.6.0_20
#4 java 64 bit
[Code]....
i need it to look like this below, and load the program called "craft".jar
@ECHO OFF
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles(x86)%Javajre6injava.exe" -Xms512M -Xmx512M -jar "%~dp0craft.jar"
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xms512M -Xmx1000M -jar "%~dp0craft.jar"
View 4 Replies
View Related
Jul 22, 2011
I have written the following script in my linux server to add users for LDAP database.But i can't able to run this.
The script is as following
#!/bin/bash
echo "Mention the username which you want to convert LDIF format"
read username
if ["$username" -e "/ldiffile/passwd"]; then
echo "Username already exists"
else
cat /etc/passwd | grep -i "$username" >> /ldiffile/passwd
fi
The output which i got :
. ldapadd.sh
Mention the username which you want to convert LDIF format
yal2361
-bash: [yal2361: command not found
please let me know where need to change and what
View 5 Replies
View Related
Feb 11, 2010
I have 2 computer: 1 computer install ubuntu v9.10, in this computer already installed openssh-server and openssh-client, and 1 computer install windows. In computer with windows , i used putty connect to computer with ubuntu, but i can't connect. I don't understand what's error. In the Putty , i configured: IP : IP address of computer Ubuntu. Port 22 Connection Type SSH This is error: "Network Error: Software caused connection abort"
In computer with windows, i can ping computer with ubuntu and in computer with ubuntu i can ping computer with windows.
I already checked computer with ubuntu : /etc/ssh/sshd_config: in this file port 22, PermitRootLogin yes.
And in this machine installed with openssh-server, and openssh-client. But in this time, this error is maintaining, i don't find idea to fix this error.
View 10 Replies
View Related
May 1, 2010
I'm at the end of my rope here, and am extremely frustrated. I have a web server running on Ubuntu Server and am using OpenSSH for all my SSH and sftp needs. However, I have the strangest of all situations that I cannot for the life of me figure out.
I have a user chrooted to /var/www/username in /etc/ssh/sshd_config and in /etc/passwd. When the user is chrooted to that folder, whenever I try to log in through SFTP using any client, I get an error saying "Network error: Software caused connection abort." The kicker is, when I chroot the user to /var/www that user can log in just fine. I've tried changing every chmod and chown setting I can think of, and I have NO idea why it matters by one folder.
I had the jail working perfectly for about 2 hours, when it seemingly just decided to stop.What's really getting to me is why the two folders, which have the exact same settings, are not operating the same way.
View 4 Replies
View Related
Jan 4, 2010
I am trying to run a script called install.sh as follows: I get a jar file, and extract it using the command: unzip filename.jar -D path/to/files then I navigate to that directory where I extracted the files, and run the command: sh install.sh (where install.sh is one of the files that has been extracted in that directory using the above unzip command.) running this command gives me an error:'nstall.sh: command not found.' among other errors in the script ( from that portion of the script that should not even be executed, which is really weird). However, instead of unzipping the jar file, if I just copied the same install.sh file to that folder, and ran the 'sh install.sh' command, the script runs fine.
View 6 Replies
View Related