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.

Command Line Package Edit?

Discussion in 'General Discussion' started by jenlepp, Nov 28, 2006.

  1. jenlepp

    jenlepp Well-Known Member

    Joined:
    Jul 4, 2005
    Messages:
    116
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Liberty Hill, TX
    cPanel Access Level:
    DataCenter Provider
    I just recently migrated three servers and it mostly went well - however, I made the mistake of importing the packages through the WHM transfer area, and it imported the packages with the correct limits, but with FP checked and dedicated IP checked, neither of which were in the imported package config, and neither of which I wanted.

    Bad me, I did not check this before populating the server. :eek:

    So, now I have a full server and while the package limits didn't install FP and IPs for everyone, it is a really big nuisance. While I can apparently edit the package to take off the default check for FP extensions, that option does not apparently exist for the dedicated IP option and it is not able to be edited.

    I know some Cpanel settings have a plain text file somewhere that can be edited, and I'm hoping that the packages are one of them - but I haven't been able to find it. If they are somewhere in plain text, could someone kindly point me to the location of them?

    Thanks.
     
  2. cpanelinfoseeker

    cpanelinfoseeker Well-Known Member

    Joined:
    Oct 25, 2002
    Messages:
    325
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    NE Illinois
    cPanel Access Level:
    Root Administrator
    On my server they are in:
    /var/cpanel/packages/

    The packages can be edited, but I don't think they will update the existing sites. If you edit through WHM, when you finish editing the packages the sites are updated with the current info when you are done with each package.

    Ron
     
  3. cpanelinfoseeker

    cpanelinfoseeker Well-Known Member

    Joined:
    Oct 25, 2002
    Messages:
    325
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    NE Illinois
    cPanel Access Level:
    Root Administrator
    Forgot to mention the other part of your question. If you remove the IP option first using the SSH command line (pico) and then use WHM to edit the rest of the package settings, then it will update the existing accounts using the edited package.

    I should not write too much at night... some details elude me!

    Ron
     
  4. jenlepp

    jenlepp Well-Known Member

    Joined:
    Jul 4, 2005
    Messages:
    116
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Liberty Hill, TX
    cPanel Access Level:
    DataCenter Provider
    You rock. :D

    Yeah, I don't want it to update any sites - they all came over fine, it's just the package definitions themselves that are fluky.
     
Loading...

Share This Page