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.

Urgent help needed: can't transfer accounts via WHM or SSH

Discussion in 'General Discussion' started by pingo, Feb 9, 2004.

  1. pingo

    pingo Well-Known Member

    Joined:
    Nov 16, 2002
    Messages:
    430
    Likes Received:
    0
    Trophy Points:
    16
    I need to transfer some accounts to another server, but it doesn't work. I have no problems transferring accounts from the same source server to another destination server. When I choose the multiple account copy function in WHM the screen with 'Account List from apollo.hostingapi.com' appears as usuall, but then nothing more happens - packages and accounts from the source server isn't shown. I then tried copying the accounts via SSH but with no success. After wget it stops or freezes I don't know. Nothing happens.

    A cpanel tech asked if root SSH were disabled on the souce server, but if this is the reason why am I then able to transfer accounts to other servers from the same source server? - How do I check if SSH is disabled, or does anyone here know a solution for this problem?

    Thanks
    John

    cPanel Support Ticket: 38564
     
  2. PbG

    PbG Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    16
    First on the server that the account is on now, use the following command to package the account:

    /scripts/pkgacct USERNAME

    Change USERNAME to the username that you want packaged. This will save all the user files, email accounts, MySQL databases etc. into one .tar.gz file. This process make take some time depending on how big the site is.

    The file generated from the command above will be locate at:

    /home/cpmove-USERNAME.tar.gz

    You now have to move this file


    SSH from new server to old server

    scp -r root@serverIP:/dirpath /

    SSH from old server to new server

    scp -r /dirpath root@targetIP:/targetdir


    Let me know if this helps . . .
     
  3. pingo

    pingo Well-Known Member

    Joined:
    Nov 16, 2002
    Messages:
    430
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for the response, but the problem were that ev1servers (where the source server were) had blocked the server IP of the destination server, As soon as they unblocked the IP transfer via both WHM and SSH worked again.

    John
     
Loading...

Share This Page