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.

help... one of the system's crons (dcpumon??) occurs awkward

Discussion in 'General Discussion' started by treeworks, Apr 14, 2005.

  1. treeworks

    treeworks Registered

    Joined:
    Nov 29, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bucharest
    Until yesterday everything was going just fine but suddenly one of the system's crons occurs awkward and keeps sending 4 error messages to my whm administrator email account every 5 minutes. :confused:

    Here are the error messages:
    -----------------------------------------------------------
    Message 1:
    Subject: Cron <nobody@best> /var/tmp/apache -p3377 -f/var/tmp/apache.conf
    Content:
    14/04/2005:03:20:00;3 user(s) were loaded from the file /var/tmp/apache.conf.
    14/04/2005:03:20:00;Use "indiftpd -h" for help. Exit using "Ctrl-C".
    14/04/2005:03:20:00;Starting server on port 3377...
    14/04/2005:03:20:00;ERROR: Unable to start the server (sd = -1).

    Message 2:
    Subject: Cron <nobody@best> /var/tmp/bc
    Content:
    /bin/sh: line 1: /var/tmp/bc
    : No such file or directory

    Message 3:
    Subject: Cron <nobody@best> /tmp/bc
    Content:
    /bin/sh: line 1: /tmp/bc
    : No such file or directory

    Message 4:
    Subject: Cron <nobody@best> /tmp/apache -p3377 -f/tmp/apache.conf
    Content:
    /bin/sh: line 1: /tmp/apache: No such file or directory
    ------------------------------------------------------------------------

    Here are the crons that are running on my system:

    # crontab -e
    ------------------------------------------------------
    44 4 * * * /usr/local/cpanel/3rdparty/interchange/bin/expireall -r

    */15 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
    2,58 * * * * /usr/local/bandmin/bandmin
    0 0 * * * /usr/local/bandmin/ipaddrmap
    28 2 * * * /scripts/upcp
    0 1 * * * /scripts/cpbackup
    0 6 * * * /scripts/exim_tidydb > /dev/null 2>&1
    */5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
    -------------------------------------------------------

    The only cron that is run every 5 minutes is
    */5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
    and from what I read dcpumon is used to report top cpu usage in whm panel

    When I run the script manually from ssh no error appear and the script runs smoothly.

    Has anybody came by such situation? Can you help me repair it?
    I've updated the WHM/Cpanel to the latest stable version (WHM 10.0.0 cPanel 10.0.0-R161) but the problem is still there.
    It's not just the fact that my email account is full with these error messages but I'm worried that the problem might be more important and my system may become instable...

    I've checked around the forum but I didn't find a similar problem.

    Thank you for your time and I hope that you can help me.
    Best Regards
     
  2. treeworks

    treeworks Registered

    Joined:
    Nov 29, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bucharest
    I've search de web and found that in /var/spool/cron you can see all the crons set by the server's users.
    And I checked all the files from that location and found in the user "nobody" file that it has exactly 4 crons that corespond with the messages received by me and launched every 5 minutes. :eek:
    After I deleted this file everything has return back to normal and I hope that remains this way.

    So it wasn't the fault of dcpumon script.

    Now I'm asking how the user nobody was able to set a cron? :confused:
     
Loading...

Share This Page