CentOS 5 Server :: Crontab Not Working

Jun 17, 2009

I'm setting up a new server and have edited the crontab to a run a script but nothing is happening, is there anything I need to setup to get the crontab working?

View 6 Replies


ADVERTISEMENT

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

CentOS 5 Server :: Error - /tmp/crontab.XXXXDYxb6a: Permission Denied

Aug 6, 2009

I'm using crontab for user ABC in a month and have no problem.. But today i want to add new schedule user ABC with crontab.. i found this error

/tmp/crontab.XXXXDYxb6a: Permission denied

so i check with crontab -l command, it can show my schedule.. If I use root, crontab -e and crontab -l work properly..

Note: ls -al /tmp
drwxr-xrwx 8 root root 4096 Aug 6 09:30 .
drwxr-xr-x 24 root root 4096 Jul 19 17:10 ..
drwxrwxrwt 2 root root 4096 Jul 19 17:20 .font-unix

View 1 Replies View Related

CentOS 5 Server :: Crontab Creating Blank Files In Root Directory?

Jul 10, 2009

I've just discovered that crontab is creating a new file in the root directory every time it executes a cronjob, and it doesn't erase over the old file so there are thousands of files in the root directory, they have the same name as the script file (appended with a numeral) but are all blank.here is what one of the cronjob's looks like[URL]

View 10 Replies View Related

Debian :: Cannot Get Crontab Working?

Aug 6, 2010

No matter what I try I just cant get cron working for me on my Squeeze setup I can type /usr/bin/soffice and openoffice will fire up no problem but put into a crontab and nothing for instance just to test if crontab is working I have this/5 * * * * /usr/bin/sofficeIn y user crontab but nothing happens I have run as root crontab -u djt crontab And after editing the crontab with crontab -e it says it is installing crontab but it just does nothing Unfortunately I am connected to my works network so unable to receive internal mail from cron so cant find any reason for it not working

View 4 Replies View Related

Ubuntu :: Crontab Stopped Working / What To Do?

Apr 20, 2010

Have just started to use look at crontab. I could use Scheduled Tasks as well as crontab -e in terminal.

I must have changed something because now Scheduled Tasks just seems to load then dropout. Loading a task through terminal is accepten (crontab -e) but doesn't work.

View 1 Replies View Related

General :: Crontab Shutdown Not Working?

Jan 2, 2010

I'm running Ubuntu server 8.04.3 with eBox on a Dell GX280. I want to power off my box automatically every night, so as root I added a crontab entry "05 1 * * * /sbin/shutdown -P now". The command runs on schedule but most days the PC goes into a coma instead of powering off. It doesn't respond to key presses or mouse movement or Ctrl-Alt-Delete, I have to push its power button to complete the shutdown. I have tried a variety of alternatives such as "/sbin/shutdown -h" and "runlevel 0", they all behave the same way

View 14 Replies View Related

CentOS 5 :: Bwbar & Libpng - Not Working On Centos 5 Server?

Mar 27, 2009

first of all, ill provide you with the package name i got [URL]...i went to /usr/src/redhat/SOURCES/bwbar-1.2.2 did ./configure ; make

then i get this problem : [root@server bwbar-1.2.2]# ./bwbar ./bwbar: /usr/local/lib/libpng12.so.0: no version information available (required by ./bwbar) i have installed libpng & libpng-devel

[Code]...

after looking around a bit i thought it would be better to get the sources from kernel.org directly and try to compile that one, but then i found it to have the exact same error. would be very nice if someone could direct me to a solution for this. i have the bwbar already installed on another server which runs CENTOS 4 , i installed it there AGES ago , so i dont really remember what was my method back then.

the CENTOS 5 server dose not like me installing bwbar on it for some reason. maybe its bwbar's fault?, im no coder so i hope anyone that got a clue could check this out for me.

View 5 Replies View Related

CentOS 5 Server :: Centos 5.4 And Xen 3.4.2 Full Virtualization Not Working

Mar 31, 2010

I installed the latest version of Centos 5.4.It came with Xen version 3.0.2 I think.I am running it on a Dell R510. It supports hardware virtualization.I was able to virtualize Windows XP and Windows 2003 server on it by selecting the install from DVD option.I was having problems trying to get a PCI DekTek card seen by the virtualized Windows domains so I tried to upgrade XEN to 3.4.2.I used the repos available from Gitmo and it went easy.

The only problem is now that when I try to create a "New virtual host" it only allows me to use HTTP, FTP option and not the iso or DVD option. They are greyed out. I was wondering if anyone has had this problem and might know a work around for the Xen 3.4.2 problem. Perhaps a better location for the kernel or something.

View 2 Replies View Related

General :: Crontab(systemwide Cron) Not Working?

Apr 26, 2011

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command

[code]...

View 7 Replies View Related

General :: Possible Disabling Crontab Job Without Deleting Crontab Description Entry

Jun 23, 2011

is it possible disabling a crontab job without deleting the crontab description entry (by crontab -e)?I could also accept to change the entry itself. Now it's:0 0 * * 0-6 /home/me/cron/script.csh

View 4 Replies View Related

CentOS 5 :: Crontab - Doesn't Run Script

Mar 25, 2010

i'm using a script to delete files in a specific folder which are older then x days. The script looks like this:

#!/bin/bash
find /usr/share/directory -mtime +6 -print0 | xargs -0 rm
find /usr/share/another_directory/ -mtime +6 -print0 | xargs -0 rm

View 7 Replies View Related

CentOS 5 :: Crontab - As Root - Cannot Pop-up Message Windows

Apr 15, 2009

When I setup crontab as a local user (settings shown below), then it can pop-up a xmessage windows * * * * * DISPLAY=:0.0 /usr/bin/xmessage -center "warning message here" but when I switch to root, and setup the same things in crontab, why it cannot pop-up a xmessage windows? Any special limitation for root to use crontab?

View 2 Replies View Related

CentOS 5 Server :: Mandriva MDS On Centos 5.3 Not Working?

Sep 4, 2009

I have been setup a PDC with samba+ldap, is working, smbldap-tools working, I can create users, add machines, etc, really cool.Now I have seen MDS from Mandriva, cool tool to handle my network, I try to setup MDS, but looks like something is not good. I have follow the instructions from their site, I access the web page, but went I input my username + password my browser wait for ever and never receive any answer. It suppose that u have input the LDAP username and password from the admin. I had run the mmc-agent daemon as stand alone to see what is doing, but I see any issue:

/usr/local/sbin/mmc-agent -d
mmc-agent 2.3.2 starting...
Using Python 2.4.3 (#1, Jul 27 2009, 17:57:39)

[code]....

View 3 Replies View Related

CentOS 5 Server :: Centos-ds Getting Memberof Working

Jun 17, 2011

I've got Cent 5.6 using centos-ds.x86_64 8.1.0-1.el5.centos.2 installed via yum.

I turned on the memberof plugin, here's the section from dse.ldif:

I'm currently messing with the value on memberofgroupattr. The only thing that seems to do anything is with it set the way above, in the error log I get:

So if I'm understanding, it's trying to mod the user entry and the attribute isn't allowed.

Setting the memberofgroupattr to anything else gets me nothing noticeable. ldapsearch isn't showing memberof:

I've run the fixup-memberof.pl in /usr/lib64/dirsrv/slapd-hostname and I get:

I'm using ldapadmin from a Windows box to assign/delete people from groups. What I'm a little confused on is the difference between a group and a groupofuniquenames. I also see a difference when using the web gui (directory server gateway) in users. The gateway creates and entry while in ldapadmin I'm creating users. Not sure how that factors but the memberofgroupattr relies on what object class it is and I'm obviously trying the wrong things or something is busted elsewhere.

The error log isn't showing any other errors.

I can restart dirsrv just fine, nothing funny in the log when I do that:

View 1 Replies View Related

Server :: DHCP Server On CentOS 5.5 Not Working - When Connect Any Devices To Eth1 They Don't Get Any IP

Dec 2, 2010

I'm no expert on DHCP. My problem is that i have a CentOS 5.5 server on which i want to install a DHCP server. I have two NICs where eth0 has access to the internet and where eth1 should act as an DHCP server.

I have installed dhcpd and this is how my dhcpd.conf file looks like.

Code:

ifconfig looks like this

Code:

When i start dhcpd on eth1 i get no error messages but when i connect any devices to eth1 they don't get any IP. I cant find anything in any logs about devices trying to get an IP address. I dont have any firewall rules in iptables.

View 4 Replies View Related

CentOS 5 Server :: Vsftpd - Working With NFS Server As Home Directory

Aug 31, 2009

OS: CentOS 5.3
vsftpd ver: vsftpd-2.0.5-12.el5_3.1

I installed vsftpd server in one of my servers using "yum install vsftpd" command. NFS server is running in the other server and mounted as "/data" in this FTP server. root in FTP server has also root authority in NFS server. All the files and sub-folders under "/data" in FTP server have 755 or 766 mode. Even I modified vsftpd setting to allow root login.

When I login as root to FTP server with FileZilla client, I can see all the file list in root home directory and move to /data directory. I can download any file in a local HDD but I can not download any file in /data directory.

View 1 Replies View Related

General :: Crontab Mysqldump Error Mail / Reporting That Backup Is Not Working?

Jan 22, 2010

if I run mysqldump from crontab and error occurs, I would like to have email send to me (reporting that backup is not working).

View 2 Replies View Related

CentOS 5 :: Why Yum On Server Isn't Working

May 25, 2010

I am trying to figure out why yum on my server isn't working.Whenever I run a yum update it fails with a segmentation fault.

View 19 Replies View Related

Server :: Get The Name Of The Script Run By Crontab In The Cronlogs?

Apr 27, 2010

Is there any way to get the name of the script run by crontab in the cronlogs? ex:/test.sh -- this is the cron job and i want to get the name of the script(test.sh) in the cron log after the job is run.

View 1 Replies View Related

Server :: Differences Between Schedulers Crontab And At?

Oct 27, 2009

Can any one brief me about technical Differences between schedulers crontab and at ?

View 1 Replies View Related

Server :: Schedule Shutdown Every Day Using Crontab?

Jul 29, 2010

how to schedule shutdown every day using crontab

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

Server :: Bind Not Working In Centos?

Jul 29, 2011

i am trying to run bind in centos 6 and bind keeps giving me errors every time i check all of the configurations. the named.conf file works fine but the zone files keep giving me errors heres the contents of my named.conf file

Code:
options {
directory "/var/named";
listen-on port 53 { any; };
allow-query { any; };

[Code]....

View 4 Replies View Related

CentOS 5 Server :: Masquerading Not Working?

Apr 30, 2009

I have some problem getting masquerade works, but no luck. I created a cronjob that do a backup which will notify me by email. I was able to received the email with from "root@domain.mydomain.com" I want to change this to root@mydomain.com, I tried do the masquerade and it does not work.

View 6 Replies View Related

CentOS 5 Server :: Cp Not Working In Kickstart?

Sep 18, 2009

I am trying to kickstart and want in post install to copy some files from a shared directory, to enable passwd less ssh and having
same users across the clusters. But the cp does not work, nor does .ssh directory is getting created I have pasted my post install script below.

mkdir /mnt/sysimage/mnt/temp
mount -t nfs 10.1.1.1:/home /mnt/sysimage/mnt/temp
cp -f /mnt/sysimage/mnt/temp/passwd /etc/passwd
cp -f /mnt/sysimage/mnt/temp/group /etc/group

[code].....

View 6 Replies View Related

CentOS 5 Server :: Htaccess Not Working In 5.5

Feb 22, 2011

I have searched high and low both on this website and the big G and nothing.I have a VPS with fresh CentOS 5.5 install and can't seem to get the server to act on the htaccess file.

View 1 Replies View Related

CentOS 5 Server :: Samba: ACL Are Not Working

Mar 23, 2011

I'm having problems using Samba+winbind 3.3.8 as a fileserver on a Win2008 domain. - getent and wbinfo are reporting correct information about users. - Ownership of file created from user using the samba mount are working fine. However, my groups directories are allowing people who shouldn't .. From the shell everything is working as expected, but not from samba..

[Code]....

View 3 Replies View Related

Software :: Scheduling Backup In Crontab When Put This File In Crontab To Schedule The Backup Program It Wont Run?

Apr 9, 2011

I have installed an application manager(monitoring application) on my linux server. Now, i need to have backup schedule for my application. The application itself has executive file to backup database.But when i put this file in my crontab to schedule the backup program it wont run!50 09 * * * root /opt/ME/AppManager9/bin/BackupMysqlDB.sh

View 1 Replies View Related

Server :: Create Crontab Job By Bash Script

Jun 6, 2010

i want to create a crontab job by bash scripts:test1 cat /opt/shell/test1crontab on.but i do not want to use this command line ( crontab -e )to add this job.

View 4 Replies View Related







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