The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cron stop loging

Discussion in 'General Discussion' started by racomnet, Jun 4, 2005.

  1. racomnet

    racomnet BANNED

    Joined:
    Oct 6, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    0
    My cron seem to be stop loging.
    The service is working but not sending e-mail and not loging enithing :(
    In /var/log/ al cron files has zerro dimension

    WHM 10.1.0 cPanel 10.2.0-R82
    Fedora i686 - WHM X v3.1.0
    Fc2
     
    #1 racomnet, Jun 4, 2005
    Last edited: Jun 4, 2005
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Have you tried the obvious and restarted crond (and have you checked your disk space)?
     
  3. racomnet

    racomnet BANNED

    Joined:
    Oct 6, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    0
    yes , I restarted cron many time, and I have free space on evry partition.
    But still this dosen't seem to fix the problem.

    /dev/hda3 4.0G 587M 3.2G 16% /var


    196672 -rw------- 1 root root 0 May 29 04:02 cron
    196702 -rw------- 1 root root 0 May 22 04:02 cron.1

    root 22136 0.0 0.0 1512 652 ? S 12:06 0:00 crond
    root 4394 0.0 0.0 3580 576 pts/0 R 13:21 0:00 grep cro


    Also some time I recive a e-mail error for logrotate

    etc/cron.daily/logrotate:

    error: error running postrotate script
    error: error running postrotate script
    error: error running postrotate script
    error: error running postrotate script
    error: error running postrotate script
    error: error running shared postrotate script for /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Haev you tried restarting syslog which controls the location of logging with /etc/syslog.conf?

    /etc/init.d/syslog restart
     
  5. racomnet

    racomnet BANNED

    Joined:
    Oct 6, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    0
    U are the man :)
    10x a lot for the help.
    with syslog restarted the log of cron reapiear.
     
  6. racomnet

    racomnet BANNED

    Joined:
    Oct 6, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    0
    :rolleyes: welll thaat seem to be the problem.
    Evry time logrotatate try to rotate, it mess up the logs.
    today I recive same e-mail, and all log are stoped.

    I found this http://forums.fedoraforum.org/archive/index.php/t-22359.html but I am ondering if is any fix.

    /etc/cron.daily/logrotate:
    .....
    error: error running postrotate script
    error: error running shared postrotate script for /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
  8. racomnet

    racomnet BANNED

    Joined:
    Oct 6, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    0
    Upps :eek:
    next time I will search more carefuly.
    10x again
     
Loading...

Share This Page