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.

small question about "upcp"

Discussion in 'General Discussion' started by ljwhite, Jun 20, 2006.

  1. ljwhite

    ljwhite Well-Known Member

    Joined:
    Jun 20, 2005
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    I checked /var/spool/cron/root. And saw this line: 53 4 * * * /scripts/upcp
    1. What is the meaning of this line?
    2. If i remove this line, what would happen?
    Many thanks in advance!
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    In short, /scripts/upcp updates cPanel. Best leave the cron job in place.
     
  3. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Hi,

    That means everyday run the script /scripts/upcp on your server at 4:53 AM. If you remove the line, it willn't work.
     
  4. ljwhite

    ljwhite Well-Known Member

    Joined:
    Jun 20, 2005
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    So if i remove the line. It means that cpanel will not be updated automatically everyday, right? But if i run /scripts/upcp using ssh, cpanel still can be updated, right?
     
  5. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    Yes, your understanding is right. You can update the cPanel manually anytime you wish to do so by running /scripts/upcp --force.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's really not a good idea removing the cron job. If you don't want automatic updates, disable them in WHM. If you don't run upcp you'll find your cPanel license will expire and you'll start running out of date and potentially vulnerable perl modules, etc. A lot of daily maintenance is done by upcp when it runs overnight.
     
  7. ljwhite

    ljwhite Well-Known Member

    Joined:
    Jun 20, 2005
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for help!
    1.
    How to disable them in WHM?
    2.
    We had some problem with "upcp" and it seems that upcp calls fix many things but they also break things! So we think:As long as the server stays in a working configuration it should just keep working without updates.Any suggestion about this?
     
  8. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    This will be detrimental the security of the box in the long run, since as Chirpy said more goes on with upcp then just updating CPanel. If you disable automatic updates in WHM (Look for Update Config) but let upcp run with basic checks you'll be better off. :)
     
  9. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth

    You can disable automatic updates from WHM >> Server Configuration >> Update Config and set Automatic to Manual.
     
  10. ljwhite

    ljwhite Well-Known Member

    Joined:
    Jun 20, 2005
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for your help. I see there are three options(cpanel/whm updates, cpanel package updates, security package updates). So i should set three of them to "manual updates only", right?
     
Loading...

Share This Page