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.

New problem with bandmin/iptables

Discussion in 'General Discussion' started by John Pittman He, Feb 10, 2005.

  1. John Pittman He

    John Pittman He Registered

    Joined:
    Feb 10, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello!

    When the cron job upcp was run on 2/6/2005, it updated bandmin, and immediately bandmin started failing.

    Now bandmin runs at 2 minutes before and after every hour, and every hour iptables fails due to "Memory allocation failure", etc.

    What happened during the update to cause this to happen?

    In looking in the bandmin directory, the only place I see iptables being executed is in a file named upgrade.pl. SHould that file be removed? I don't see how it's getting run at all.
     
  2. gongpro

    gongpro Member

    Joined:
    Jul 6, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Try this

    This problem showed up twice for me about a year apart. The second time I had requested to know how they fixed it and their responce:

    "on VPS you need to comment out bandmin at the cron record.

    #2,58 * * * * /usr/local/bandmin/bandmin
    #0 0 * * * /usr/local/bandmin/ipaddrmap"

    Hope this helps.
     
  3. caesar1_caesar1

    Joined:
    Oct 5, 2005
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I'm having this same problem today.


    What do (2,58 * * * *) and (0 0 * * *) stand for?

    Thanks.
     
  4. ascii

    ascii Member

    Joined:
    Jan 26, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    The "2" and "58" mean, run this script at 2 minutes and 58 minutes past the hour, every hour, every day of the year.

    The "0 0" means run this at zero minutes past the zero hour (midnight) every day.

    The placement is as such:
    First = Minutes (0-59)
    Second = Hours (0-23)
    Third = Day of the mohth (1-31)
    Fourth = Month of the year (1-12)
    Fifth = Day of the week (0-6)
     
  5. caesar1_caesar1

    Joined:
    Oct 5, 2005
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for your explanation, ascii
     
  6. bjarne

    bjarne Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    bandmin is drivng me crazy on a vps:(
    Anyway remember that /etc/rc.d/rc.local will run badnmin at boot time.
     
  7. jonwatson

    jonwatson Well-Known Member

    Joined:
    Apr 1, 2007
    Messages:
    101
    Likes Received:
    1
    Trophy Points:
    16
    Won't this kill your bandwidth limits for your users?
     
Loading...

Share This Page