General :: Setting Up A Cronjob / Error Saying Php Command Not Found?

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


ADVERTISEMENT

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

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

General :: Error - Installpkg Command Not Found

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

General :: Crontab Error (Command Not Found)

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

General :: Make: Ifort: Command Not Found ERROR 127

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

Programming :: Setting Var Returns Command Not Found?

May 7, 2010

I have the following function, and it appears to set the var correctly, but then tries and executes the line as a command. Anyone know how to keep it from doing that?

PHP Code: SMALL_FILE_PERCENTAGE=88
MEDIUM_FILE_PERCENTAGE=10
LARGE_FILE_PERCENTAGE=2

[code]....

View 1 Replies View Related

General :: Find Command Give Error File Not Found?

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

General :: Using One Command "make UImage" Getting Error 127 Command Not Found?

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

General :: Bash - Links -command Not Found - Error In Apache Server

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

Debian Hardware :: Setting Up Serial Port - Command Not Found

Jun 23, 2014

I am a ham radio operator and I want to use my computer to run "RTTY", "PSK31", and other digital modes. Therefore I have to be able to configure the serial port.

I only have the onboard port (ttyS0).

I can get info about the port by using "$ dmesg | grep tty"

Code: Select alldebian@melsdeb:~$ dmesg | grep tty
[    0.000000] console [tty0] enabled
[    1.533804] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.534337] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

But when I try to use "setserial" by itself or with any parameters I get this...

Code: Select alldebian@melsdeb:~$ setserial -g /dev/ttyS0
bash: setserial: command not found

Even "man setserial" gives the same result.

I am using Debian 6

View 2 Replies View Related

General :: Error Running A .sh Script When Extracted From A Jar File - Nstall.sh: Command Not Found

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

Server :: Setting Up SSL Cert - 404 Error Not Found

May 18, 2010

I'm having some problems setting up SSL certs.

Here's what I've done...

In the file ssl.conf I have (along with all the normal stuff):

Quote:

But, when I navigate to url], I get a 404 error (not found).

My SSL cert is with GoDaddy. I created the key and a csr file, for which GoDaddy supplied me with the files mydomain.com.crt and gd_bundle.crt. I placed all the files where they should be, and restarted Apache.

And... 404. No errors on Apache restart.

The cert still seems to be showing up as localhost.localdomain:

Quote:

When I go to [url], I'm told the cert is still a "self signed" cert (out of date, by the way).

The GoDaddy "help" on this (such that it is) is here: [url]

View 2 Replies View Related

Ubuntu :: Whenever Use 'let' Command It Gives An Error 'command Not Found'?

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

General :: Patch In .sh File - Error "patching: Command Not Found"

Mar 1, 2011

I have a script: `cd $FILEPATH && patch -i $TMPFILEA2$FILETMPPATH` Variable $FILESPATH is = /tmp/ardiff.AvUUGfOKa2/a/hello/ and Variable $TMPFILEA2$FILETMPPATH is = /tmp/ardiff.AvUUGfOKa2/b/hello/hello.c.patch. I don't know, why is it no working from script file, it write me message to terminal: ./ardiff.sh: line 242: patching: command not found.

But I have no PATCHING command there!!!! The paradox is, when I want to patch it from terminal (I write it to terminal by keyboard, it works).

View 4 Replies View Related

Fedora :: Lsmod Command Not Found Error

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

Server :: Command Not Found Error During Login?

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

Software :: Ttcp Error [command Not Found]?

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

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

Apr 30, 2011

I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found

path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found

Can someone point me in the right direction

View 1 Replies View Related

Ubuntu :: Variable In A Script Error (command Not Found)?

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

Ubuntu :: Terminal Open Error - Command Not Found

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

Software :: Scripting Error - Export Command Not Found?

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

Programming :: Custom ZSH Error Prompts / Zsh: Command Not Found?

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

Programming :: Error: ./10aa: Line 5: [-n: Command Not Found 127

May 25, 2011

Quote:

Explain the error?

View 2 Replies View Related

Ubuntu :: Error 17 - But 'sudo Grub' - Command Not Found

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

CentOS 5 :: Installing Gcc On 5.4 - Error: Sudo: Apt-get: Command Not Found

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

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 View Related

Red Hat / Fedora :: Executing A File - Showing Error - Command Not Found

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

Debian Installation :: Error Message - Bash / Visudo Command Not Found

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

Server :: Java Error : Craft: Line5: PAUSE: Command Not Found

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

Programming :: Shell Scripting Loop Error Yal2361: Command Not Found?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved