Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2003
    Location
    Bucharest
    Posts
    4

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

    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.

    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
    Last edited by treeworks; 04-14-2005 at 03:08 AM.

  2. #2
    Registered User
    Join Date
    Nov 2003
    Location
    Bucharest
    Posts
    4

    Lightbulb

    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.
    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?

  3. #3
    Member
    Join Date
    Oct 2004
    Posts
    20

    Default

    How do you delete it?
    I have the same problem here

    delete this:
    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /tmp/bc
    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /var/tmp/bc
    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /tmp/apache -p3377 -f/tmp/apache.conf
    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /var/tmp/apache -p3377 -f/var/tmp/apache.conf


    what does this mean?

    # (cj installed on Thu May 5 19:51:12 2005)
    # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
    # DO NOT EDIT THIS FILE - edit the master and reinstall.
    # (/tmp/crontab.zOEVv7/crontab installed on Sat Jan 8 01:43:19 2005)
    # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)



    Quote Originally Posted by treeworks
    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?
    Last edited by snaaps; 05-05-2005 at 04:55 PM.
    Sorry my english is not verry well!

Similar Threads & Tags
Similar threads

  1. Is this a bug? Viewing webspace before a DNS change occurs...
    By moosemoose in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-18-2007, 06:55 AM
  2. bytes_log always occurs automatically
    By CruelAnxiety in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-21-2005, 04:57 PM
  3. help... one of the system's crons (dcpumon??) occurs awkward
    By treeworks in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-14-2005, 06:01 AM
  4. dcpumon
    By acer2k in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-10-2004, 04:11 PM
  5. dcpumon
    By Marty in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-10-2003, 08:04 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube