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.

Transferring Accounts Problem

Discussion in 'General Discussion' started by Parahosting, Dec 3, 2007.

  1. Parahosting

    Parahosting Well-Known Member

    Joined:
    Apr 6, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    I was trying to copy an account from my old server to my new one, and I decided to use "Transfer an Account". I filled in everything with the correct details, and this comes up:

    Specs on my current system that I'm having the accounts copied to:
    WHM 11.2.0 cPanel 11.11.0-S18033
    CENTOS Enterprise 4.5 i686 on standard - WHM X v3.1.0


    Can anybody assist please?
     
  2. rbalaji

    rbalaji Member

    Joined:
    Nov 27, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    If you feel any hesitation with WHM transfer accounts, then you may follow up another way to transfer the account.

    #) Login to root SSH

    #) Run /scripts/pkgacct username

    #) cd /home then ls to see the file. It should look like cpmove-username.tar.gz

    #) If you don't see the /home/cpmove-username.tar.gz but you see cpmove-username-split then run the
    /scripts/pkgacct again

    #) Take the /home/cpmove-username.tar.gz and copy it over to the /home of the other server using scp command

    scp -rp -P 1291 cpmove-username.tar.gz root@destination ip:/home

    #) SSH to the other server and cd /home

    #) Do /scripts/restorepkg username in Shell

    this should help you to transfer the account


    Thanks:)
     
  3. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Same problem here

    We are having the exact same problem, after upgrading to the latest RELEASE (cPanel 11.16.0-R18546).

    We are getting this error on every account we try to transfer. I have a lot of accounts to move from one server to another and can't go through this manual process, even if it works.

    I have opened a ticket with cPanel (Ticket #230148).

    - Scott

    P.S. if it matters, I am moving accounts from a cPanel 10 server to this cPanel 11 server. I had been successfully moving accounts until the cPanel 11 server got upgraded during yesterday.

    P.P.S. OK, I noticed our error starts out with:
    Can't locate YAML/Syck.pm in @INC (@INC contains:
    /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7

    But we have Perl 5.8.8 of course, before loading cPanel 11. Hmmm....
     
    #3 sneader, Dec 23, 2007
    Last edited: Dec 23, 2007
  4. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Resolved!

    I was able to resolve this on my own, thanks to advice from user "linux-image" in this thread:

    http://forums.cpanel.net/showthread.php?t=73431

    I updated my ticket with cPanel, to let them know about the fix also.

    - Scott
     
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Run

    /scripts/perlinstaller --force YAML::Syck

    or Install the YAML::Syck perl module in whm under module installers.
     
  6. asiams

    asiams Well-Known Member

    Joined:
    May 28, 2003
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hokkaido, JAPAN
    Pkgacct size too big

    Hello rbalaji,

    I have tried to pkgacct and the output of cpmove- file was over 5 gig in size. The actual disk usage for this account was about 900 MB.

    How can this be?

    Any idea?

    Thanks.

    asiams
     
  7. Arhineus

    Arhineus Well-Known Member

    Joined:
    Nov 1, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Is it possible that the /account/public_html directory was 900MB?

    Go to the home directory of the account, and run this: du -skh *

    This will show the space being used in each directory, so maybe the account has logs, etc, that you're packaging as well.
     
  8. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    Or I would suggest the following:

     
  9. lehels

    lehels Well-Known Member

    Joined:
    Jul 10, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Transfer error

    Packaging the account... Done
    Warning: file location not sent.. guessing.. this may not work ....
    Using the single archive method (/home/cpmove-username.tar.gz)!
    Copy Destination: /home
    Transfer Error
    The remote server didn't report a correct md5sum of the archive. Please ensure you selected the correct type of remote server.

    I tried reinstalling YAML::Syck, but the problem persists.

    Nothing in /usr/local/cpanel/logs/error.log

    If I do manually:
    /scripts/pkgacct username
    Segmentation fault (core dumped)

    Still nothing in LOGS,
    Any hints please,

    Lehel
     
  10. Imai

    Imai Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    trying to move all accounts

    Will appreciate some help from you experts.
    trying to move all accounts on the server.

    will this work?
    /scripts/pkgacct *

    Thank you
     
  11. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    If you are trying to move ALL your accounts from one server to another, see this thread instead:

    http://forums.cpanel.net/showthread.php?t=65905

    - Scott
     
Loading...

Share This Page