Server :: Crontab 'command Not Found' In Fedora

Jan 13, 2010

For some reason crontab does not work on my system.

Fedora Core 11

I am running from a Virtual Private Server.

Code:

Code:

View 2 Replies


ADVERTISEMENT

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

Server :: Crontab Fails But Command Line Works ?

Feb 19, 2011

Having an odd problem running a mysqldump via crontab. I have the script running on other servers and they work fine, so not sure how to actually troubleshoot, but the script looks like the following;

If I run it as a cronjob as root, it finishes in a second and a 20k file is there. If I run it from the command line as root it does the backup (takes a few minutes) but does complete the backup and can be unzipped and read successfully.

View 3 Replies View Related

Server :: Used The Command Crontab To Load The Table But Didn't See Any Execution Of The Script?

Jan 27, 2010

I created a file which in I tried both :

Code:
MAILTO=""
* * * * * /var/www/scripts/script.php >> /dev/null

[code]....

View 5 Replies View Related

Ubuntu Servers :: After Using Crontab With /etc/crontab / Giving Error "can't Find Command Root"?

Aug 26, 2010

I have a question about using crontab with /etc/crontab...

I had a cron job that I needed to run as root. At the time I thought that sticking it in /etc/crontab would be a good idea. However, I used the crontab command to edit /etc/crontab, which I guess is not standard procedure? Specifically, I configured /etc/crontab as my local user's crontab (i.e. sudo crontab /etc/crontab) then added my cron job as I would a local user crontab (i.e. sudo crontab -e).

Originally, my cron job looked like this:

30 * * * * root /my/batch/script &> /dev/null

After adding the new cron job I started seeing errors. Something to the effect of "can't find command root" or something similar. So I removed the 'root' user definition from the cron job and the job started running fine. However, because this is /etc/crontab, there are other system related cron jobs that have been defined to run under the root account (e.g. "17 * * * * root cd / && run-parts --report /etc/cron.hourly" runs as root, etc.). So these pre-existing system cron jobs, which up until now have been running smoothly, are now generating "can't find command root" errors. But I think that the system cron jobs _are_ successfully being run someplace because logrotate seems to be working.

So what I _think_ is happening is that /etc/crontab is being run twice: once as the system crontab, and once as my sudoed local user's crontab. When I run crontab -l I see nothing, but when I run sudo crontab -l I can see the contents of /etc/crontab. I am reluctant to delete my sudoed local user's crontab, because then in the process I would be deleting the system crontab, and I do not know how I should restore the system crontab's contents. (I am still not sure as to the most appropriate way to edit the system crontab).

How can I get out of this mess? I want /etc/crontab to go back to the way it was before--running _once_ as the system crontab. As for my new cron job, I'm willing to reconfigure it anywhere so long as I am still able to run it as root. Any ideas? (I am using Ubuntu 8.04 Server LTE)

View 2 Replies View Related

General :: Crontab Not Working \ Edited Crontab File Using Crontab -e?

Apr 27, 2010

I am using Linux 64 bit Redhat Linux. I am trying to setup simple crontab as follow...1. Edited crontab file using crontab -e2. Listed the file once to verify it using crontab -l. This will display as.. 18 5 * * 2-3 ksh $HOME/testScript.sh > $HOME/testscript.out3. Logged in a root and restarted cron deamon using "/etc/init.d/crond restart"As per my understanding now my testScript should start running at 5:18 am Thuesday

View 3 Replies View Related

Server :: Make: -F.: Command Not Found

Jun 22, 2011

i am geting following error when i use make

make: -F.: Command not found
HBHB****
**** The configure script must be executed before running 'make'.
**** Please run "./configure".
****
make: *** [makeopts] Error 1

View 2 Replies View Related

Server :: -bash: GccL Command Not Found?

Feb 22, 2010

Gcc seems to be installed by not configured maybe?Below are some command line resultsIs gcc installed, and if so, how do I configure it so it run properly.

rpm -qa | grep gcc
libgcc-4.1.2-44.el5
gcc-4.1.2-44.el5

[code]....

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

Ubuntu :: Getting Into A Directory On Server - Sudo: Cd: Command Not Found

Feb 6, 2011

I am trying to get into a directory on my server, that is owned by root.

[Code]....

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

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

Fedora :: Command Not Found In F12

Mar 20, 2010

I have recently installed F12 in my HP Pavilion laptop. I am facing strange problem when I am trying to give a wrong command in terminal.

When I give the wrong command it says "command not found" but waits down instead of showing the prompt.

[codingfreak@localhost ~]$ e
Command not found.

View 11 Replies View Related

Red Hat / Fedora :: Command Not Found?

Feb 28, 2010

when i try to use apt-get, It says command not found. Did I installed RHEL in wrong way or do I need to configure any file.

View 8 Replies View Related

General :: No Output From Top Command Run By Crontab?

May 17, 2011

I write a little script that run top command and clear the output leaving only cpu ram and swap values. If i run the script manually everityng works fine but when i schedule the cript to run every 5 minutes from /etc/crontab all run fine but the output of the top command doesnt appear in the log :

This is the cript :

#!/bin/sh
echo "#############################" >> /var/log/performance.log
echo "" >> /var/log/performance.log
/bin/date >> /var/log/performance.log

[code]...

View 6 Replies View Related

Fedora :: Easy_install: Command Not Found?

May 1, 2009

Which package provides easy_install? I seem to have python-setuptools installed but can't seem to find easy_install?

View 3 Replies View Related

Fedora :: Apt-get Failure / Saying Command Not Found?

Jan 16, 2010

The goal is to do:

sudo apt-get install Virtualbox
sudo apt-get virtualbox
sudo aptitude install virtualbox

ive tried all those combinations and they all shoot back the same reply:

sudo: apt-get: command not found

Every forum ive read says that my Fedora installed wrong and that i am screwed. Can anybody help me with this please?

Also does anyone have a link to download a free windows xp iso for virtualbox to run off of?

View 8 Replies View Related

Fedora :: SMBClient : Command Not Found?

Jun 1, 2010

I've installed the latest Fedora 13 flavour, yum update completed, yum install samba -y

all installed fine.

yum list grep samba shows samba-13 installed however when type smbclient as root it returns

"Command Not Found" and returns me to bash.

yum remove samba
reboot
yum install samba
still nothing

smb[tab] returns : smbd, smbusers and 3 others but none that are smbc*. I'm kinda stuck for my windows shares at this point.

smbd i presumed was the deamon so i triggered that but smbclient still cant be found and when i ran smb(something) status it stated that the samba service was up and running.

users list is configured but i believe this is an issue with the command.

View 3 Replies View Related

Fedora :: Gdmdynamic Command On 15 Not Found?

Aug 11, 2011

I'm attempting to install the Oracle Sun Ray Server Software on Fedora 15 and I've done the majority of the install and config however, the system is coming up with an error that the gdmdynamic command is not found??

Apparently this comes with gdm but I couldn't find a package correlating to this command.

Apparently it comes with Gnome/GDM.... I don't have Gnome installed in the system but do have GDM!

View 8 Replies View Related

Ubuntu :: Crontab Command Requires The Root?

Feb 3, 2011

I tried scheduling a task using crontab -e and added the line:

Code:

58 23 3 2 4 /usr/bin/freshclam --verbose --log=/home/EXISTING DIR where I have permissions

The timing was simply a test run. My syslog gives the following error:

Code:

(CRON) error (grandchild #4309 failed with exit status 62).

I also tried to add to root crontab as below, but got the same error.

Code:

sudo crontab -u root -e a

View 9 Replies View Related

Fedora :: Write A Crontab Entry Using "crontab -e"

Jul 21, 2011

I was trying to write a crontab entry using "crontab -e"


Code:
0 0 * * * cp /var/log/httpd/domains/mydomain.net.log
/home/admin/logs/mydomain.net.log

crontab is giving me this error:

Code:
"/tmp/crontab.XXXXfMOnRS":2: bad minute
errors in crontab file, can't install.

I've tried a dozen different values for the minute, but it's still giving me the same error.

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

Red Hat / Fedora :: Installing Cvs - Xinetd - Command Not Found

Mar 12, 2010

I am new to Linux i am installing cvs in it.

I am facing the below problem:sudo /etc/init.d/xinetd reload sudo: /etc/init.d/xinetd: command not found. /etc/init.d/xinetd restart /etc/init.d/xinetd stop.

View 5 Replies View Related

Red Hat / Fedora :: MySQL And RHEL 5.3 - Command Not Found

May 24, 2010

Currently I'm using RHEL 5.3 in my server. Last time I install MySQl Server and it working fine.Then i facing a problem with my server and i reinstall back RHEL. But i didnt use MySql package inside the CD to install MySQL. i install MySQl separately. I download from MySql website. My problem is, i success install MySql in my server. The service also running. But when i type.

mysql -u root password

it said, command not found.

View 4 Replies View Related

General :: Breaking Long Command Into Lines In Crontab

Oct 14, 2010

How to break strings of command into multi-lines in crontab? e.g.
Code:
# the following is a very long a gruesome command to be run at 09:59 Monday to Friday.
59 09 * * 1-5 source $HOME/some-definitions; sh /usr/local/my/long/name/application/bin/hello $(date +\%Y\%m\%d) >>/var/log/my/long/name/application/log/hello.log

View 2 Replies View Related

General :: Enable Crontab Command For Normal Users?

Nov 18, 2010

I have install RHEL5 and created normal user as "test". When I login as root user, I can run crontab command but when I login as test user, I can't run crontab command and throws error as "cron/test: Permission denied". how to enable crontab command for test user as well?

View 3 Replies View Related

OpenSUSE Install :: Installed Program Not Found - Kmess: Command Not Found

Oct 1, 2010

I installed a program with Yast (Kmess), but when I try to run it, bash gives me back this message:

Code: kmess: command not found I checked into Yast and it seems to be installed correctly!

View 9 Replies View Related

Fedora Installation :: 'make' Command Not Found - No Wifi Either?

Feb 28, 2009

I decided to switch from Ubuntu to Fedora Core 10 KDEdual boot installation worked perfectly... all smooth!untill i got to installing things....i wanted to install ndiswrapper, so i manually downloaded it on my second pc and transferred it trought a USB stick to the Fedora PC. When reading the 'installation manual' it clearly uses the "make" command a lot...problem is; bash error: "bash: make: command not found"So i google this and i get some solutions, all involving online repositories...so basically... i need internet to get the MAKE rpm, and i need the MAKE rpm to get the internet working... :')I tried searching online repositories but i haven't got a clue about what i need to download from there (to get the make command, or the "Development Tools") and how to install it on my fedora pc....i need help :P It would be much appreciated if someone could explain me how i could get these important packages up and running on my system with manual downloading and installing.I haven't got a clue how to do this manually... I've been on it for hours allready and I'm getting a bit fed up with it I can't understand why such an important package isn't standard included in the installation.

View 14 Replies View Related

Fedora :: Bash Hangs When Command Not Found / Sort It?

Dec 9, 2009

I've been using linux for a long time, and I just ran into a problem that has me stumped. Any time I mistype a command, it says "Command not found."... yea, I know that's normal. But it doesn't return me to my # prompt. I have to press Ctrl+C to get back. code...

I know I do have one issue with this computer, I have 2 blown caps on my motherboard. This was a dual boot system, but after a virus with winblows, I decided to switch it to strictly linux. (roommates... *grumble*) I think I was running fc10 before I wiped the hd & installed fc12. Fc12 does seem to be running slower, and I still haven't got my sound card working properly... but that issue is for another topic...
-YungBlood Reborn

View 2 Replies View Related

Fedora :: Mock Errors Your Intltool Is Too Old / Command Not Found?

Jun 27, 2011

I am trying to rebuild packet with mock

Code:
mock rebuild -r fedora-15-i386 rpmbuild/SRPMS/deadbeef-0.5.1-1.fc15.src.rpm
and getting following error in /var/lib/mock/fedora-15-x86_64/result/build.log:
checking for intltool >= 0.40.0... ./configure: line 22040: intltool-update: command not found
configure: error: Your intltool is too old. You need intltool 0.40.0 or later.
code....

View 2 Replies View Related







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