Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jun 2005
    Posts
    27

    Default User cronjobs not saving in /var/spool/cron

    In cpanel, logged in as a user, when adding a cron job, it does not save. It just overwrites the /var/spool/cron/username file.

    crond is running and other user cronjobs are running

    Cron Log file "tail-f" output when trying to add a cronjob in cpanel:

    Jan 18 09:37:00 serv01 /usr/bin/crontab[28673]: (username) LIST (username)
    Jan 18 09:37:00 serv01 /usr/bin/crontab[28675]: (username) LIST (username)
    Jan 18 09:37:11 serv01 /usr/bin/crontab[28708]: (username) REPLACE (username)
    Jan 18 09:37:16 serv01 /usr/bin/crontab[28729]: (username) LIST (username)
    Jan 18 09:37:16 serv01 /usr/bin/crontab[28731]: (username) LIST (username)
    Jan 18 09:38:01 serv01 crond[28785]: (username) RELOAD (cron/username)


    If I edit /var/spool/cron/username and add in a cronjob it will show in cpanel but if I edit the cron in cpanel it will empty the file again or recreate it.

    I changed the owner of /var/spool/cron/username file to root:root. After I try to add a cron in cpanel it get changed to username:root which is different from other cron files which are either root:root or root:username

    The servers disk is partitioned with just /, /tmp, /boot - no seperate partitions for /etc, /usr, /var
    The drive has 49% usage

    Cronjobs seem to be saving in other cpanel account on the server I've checked. This problem may be with just one account.

    I done "chmod a+s /usr/bin/crontab"
    -rwsr-sr-x 1 root root 82772 Jul 12 2006 /usr/bin/crontab*

    I done "/scripts/upcp -force"

    WHM 10.8.0 cPanel 10.9.0-R118
    CentOS 4.4 i686 - WHM X v3.1.0

  2. #2
    Member
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    76

    Default

    I've the same problem too ;( user add the cron job, and the logs look's like that:
    Code:
    Jan 19 18:07:01 s89 crond[8082]: (username) RELOAD (cron/username)
    Jan 19 18:14:11 s89 /usr/bin/crontab[20939]: (username) LIST (username)
    Jan 19 18:14:11 s89 /usr/bin/crontab[20941]: (username) LIST (username)

  3. #3
    Member
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    76

    Default

    The problem was in missing perl-libwww library. After install it, all cron jobs looks to work fine.

    Greetings

Similar Threads & Tags
Similar threads

  1. /var/spool/cron/nobody permissions
    By deadlock in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-02-2008, 03:10 PM
  2. Cronjobs not saving
    By david.roman in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-01-2006, 12:30 AM
  3. Is it normal /var/spool take almost 3 GB?
    By isputra in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 01-07-2004, 11:54 AM
  4. What are these lines doing in /var/spool/cron/root?
    By pingo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-13-2003, 09:27 PM
  5. /var/spool/cron/root
    By moronhead in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-18-2001, 06:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube