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.

Fcron sending reports of things that terminated every day at the same time

Discussion in 'General Discussion' started by ed.kalk, Nov 5, 2008.

  1. ed.kalk

    ed.kalk Well-Known Member

    Joined:
    Jun 19, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Minneapolis, MN
    :eek:
    Every day at 327am I get this:
    Job /usr/bin/python2.2 -S /usr/local/cpanel/3rdparty/mailman/cron/nightly_gzip terminated (exit status: 1) (mailing output)

    Every day at 430am i get this:
    Job /usr/bin/python2.2 -S /usr/local/cpanel/3rdparty/mailman/cron/cull_bad_shunt terminated (exit status: 1) (mailing output)

    Every day at 800am I get this:
    Job /usr/bin/python2.2 -S /usr/local/cpanel/3rdparty/mailman/cron/checkdbs terminated (exit status: 1) (mailing output)

    Every day at 900am I get this:
    Job /usr/bin/python2.2 -S /usr/local/cpanel/3rdparty/mailman/cron/disabled terminated (exit status: 1) (mailing output)

    every day at 1200pm I get this:
    Job /usr/bin/python2.2 -S /usr/local/cpanel/3rdparty/mailman/cron/senddigests terminated (exit status: 1) (mailing output)

    What the heck is going on here? Is there something wrong? What do I do to resolve this?
     
  2. ed.kalk

    ed.kalk Well-Known Member

    Joined:
    Jun 19, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Minneapolis, MN
    Hello,

    I've updated the jobs to use python2.4 instead of python2.2 and should not report anymore errors.

    If this problem does persist then please do let us know so we can look into this in more depth.

    I will tail the logs for a while and see if there are any fcron errors reported.

    Thank You!
    --
    Eric Delorme
    Level II Analyst
    cPanel, Inc.
     
  3. ed.kalk

    ed.kalk Well-Known Member

    Joined:
    Jun 19, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Minneapolis, MN
    Still doing it...

    Job /usr/local/bin/python2.4 -S /usr/local/cpanel/3rdparty/mailman/cron/senddigests terminated (exit status: 1) (mailing output)

    ;(
     
  4. ed.kalk

    ed.kalk Well-Known Member

    Joined:
    Jun 19, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Minneapolis, MN
    mabey...

    Hello,

    I changed the crontab/frcon SHELL to sh:

    SHELL = /bin/sh

    Please test now and see if it's working. I read on the Mailman user's list this was how the issue was fixed.

    Thank you.
    --
    Kyle Pinkley
    Technical Analyst 2
    cPanel
     
  5. ed.kalk

    ed.kalk Well-Known Member

    Joined:
    Jun 19, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Minneapolis, MN
    nope...

    Still not working

    Job /usr/bin/python2.2 -S /usr/local/cpanel/3rdparty/mailman/cron/disabled terminated (exit status: 1) (mailing output)
     
  6. ed.kalk

    ed.kalk Well-Known Member

    Joined:
    Jun 19, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Minneapolis, MN
    Fixed!

    Hello,

    I am running trustix and the following fix was needed for me: (if you are not running Trustix, there is most likely a very similar fix needed if not the same)

    I changed the shell in /etc/passwd for the "mailman" user to /bin/sh. I had read on the Mailman users list this was needed with Trustix.

    Thank you.
    --
    Kyle Pinkley
    Technical Analyst 2
    cPanel
     
Loading...

Share This Page