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.

Account Copy Notes

Discussion in 'General Discussion' started by pfmartin, Feb 28, 2002.

  1. pfmartin

    pfmartin Well-Known Member

    Joined:
    Aug 18, 2001
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    The account copier is great!

    Only problem so far:

    When you copy an account that has databases with extra database users, the perms for the extra database users don't get copied over. This means that scripts that are set to use those user accounts don't work.

    The main account username/password IS set in the mysql perms. So you have to reset the scripts to use the main username/password or add the user/pass combinations by hand again for each move Just FYI.
     
  2. pfmartin

    pfmartin Well-Known Member

    Joined:
    Aug 18, 2001
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    SpamAssasin

    If you have spamassasin enabled on the account before you move it, after the move you will not be able to receive emails on that domain because they will all bounce back. What I did to solve it was delete the .spamassasin directory in the home directory for the account after the move. This seems to 'reset' it and let email go through.
     
  3. pfmartin

    pfmartin Well-Known Member

    Joined:
    Aug 18, 2001
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    Large Log Files

    Some accounts have excessively large log files. Those accounts seem to have major problems when beeing copied. I kept getting &Timeout during packaging...& or something like that. After deleting the account's domain log file in /usr/local/apache/domlog/ it worked just fine. Plus, saves bandwidth too!
     
  4. sbrad

    sbrad Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    I just moved a whole bunch of accounts to the new server. So now I have tons of files in my /home directory like:
    username.discard.1014786688/
    and
    cpmove-username/

    How do I get rid of all these?
     
  5. pfmartin

    pfmartin Well-Known Member

    Joined:
    Aug 18, 2001
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    I use this to clean

    #!/bin/sh

    rm -rf /home/cpmove-*
    rm -rf /home/*.discard.*

    Make sure you test the domains before doing this.
     
  6. pfmartin

    pfmartin Well-Known Member

    Joined:
    Aug 18, 2001
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    Quotas Don't Copy [Sometimes]

    When copying multiple accounts you need to watch out because sometimes the quotas don't copy over. So you end up with an account that is given a quota that is less than the original you copied from. This is a problem because their account essentially stops working if they are over their quota. Just FYI.
     
Loading...

Share This Page