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.

CPMOVE NO LONGER WORKLS on latest cpanel build

Discussion in 'General Discussion' started by brendanrtg, Oct 14, 2006.

  1. brendanrtg

    brendanrtg Well-Known Member

    Joined:
    Oct 4, 2006
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    We run a few servers and have been having problems lately using cpmove to copy sites from one server to another, vps to server or vps to vps. NOTHING WORKS AFTER WE UPGRADED CPANEL TO THE LATEST BUILD.

    We are running on ALL SERVERS:

    WHM 10.8.0 cPanel 10.9.0-R44
    CentOS 4.2 i686 - WHM X v3.1.0

    and:

    WHM 10.8.0 cPanel 10.9.0-R34
    CentOS 4.4 i686 - WHM X v3.1.0

    While trying to move sites, we get teh following error:

    Packaging the account...
    pkgacct started.
    pkgacct version 4.2 - running with uid 0
    using time::hires for speedups
    We will be splitting the archive!!
    Timeout ...
    [a fatal error or timeout occurred while processing this directive]Retrying....Packaging the account...
    pkgacct started.
    pkgacct version 4.2 - running with uid 0
    using time::hires for speedups
    We will be splitting the archive!!
    Timeout ...
    [a fatal error or timeout occurred while processing this directive]Retrying....Packaging the account...

    Done
    Warning: file location not sent.. guessing.. this may not work ....
    Using the single archive method (/home/cpmove-green.tar.gz)!

    ANYONE facing the same problem?
     
  2. ckh

    ckh Well-Known Member

    Joined:
    Dec 6, 2003
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Phoenix, AZ
    cPanel Access Level:
    DataCenter Provider
    http://bugzilla.cpanel.net/show_bug.cgi?id=4698

    I had a similar problem. I had moved 10-15 accounts between servers pre R37 (R33 or r34), didn't do any with R37, but, tried for a couple hours with R44 with no success.

    Had one to move and got the message it was going to do the split compression. Well, it did it, moved the file, untarred it, then said it wasn't a valid cpmove directory or something like that.

    Tried using compressed, uncompressed, root password to no avail. The transferred file was 193 meg. I ended up doing a full backup from cpanel, transferring the file to the other server and restoring it. That file was about 15 megs and not the 193 that WHM created. Using the full cpanel backup file worked just fine.

    Chris
     
  3. krava

    krava Well-Known Member

    Joined:
    Sep 23, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Did you try to update your cPanel up to the latest Stable version ? As I see your use Release. Our servers work under Stable cPanel and we aren't experiencing such problems.
     
  4. ckh

    ckh Well-Known Member

    Joined:
    Dec 6, 2003
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Phoenix, AZ
    cPanel Access Level:
    DataCenter Provider
    I see stable is at 45 while release is at 44. Not sure if it would make a difference since, I believe, that the number reflects that it includes all fixes/changes of the releases of lower numbers??

    I believe that stable 45 is going to be bascially the same as release 44.

    Of course I've been wrong many times before.....

    Chris
     
  5. mrcpu

    mrcpu Member

    Joined:
    Feb 7, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I had a problem with cpmove that was fixed by changing the shell on the source machine
    to an sh-type shell, rather than a csh-type shell. Bash or /bin/sh...

    I got the "timeout" error consistently.

    However, I haven't tried witha release as "current" as you are running.
     
  6. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    We just performed about 30 moves under "WHM 10.8.0 cPanel 10.9.0-R44" and had no problems at all.

    We have had the timeout issue in the past and it was due to the size of the user's mailman archives. In such case, we had to just run pkgacct locally to create the cpmove file, transfer it to the new server and then use the WHM backup/restore feature to "restore" the cpmove file on the new server.
     
  7. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    You are missing a few perl required perl modules on that server
     
  8. rhohan

    rhohan Registered

    Joined:
    Feb 21, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    how helpful ! can you tell which ones?
     
  9. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Not here as that will depend on your specific server but I can give you
    the procedure to get those all updated and fix the missing ones
    in the process. Fortunately, it's easy to fix ...

    I'll private message that info to you after some coffee (just woke up)
    or add on to this post.
     
    #9 Spiral, Oct 19, 2006
    Last edited: Oct 19, 2006
  10. danfulton

    danfulton Registered

    Joined:
    Jun 19, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Did you manage to resolve this?

    Thanks

    Dan Fulton
     
  11. brendanrtg

    brendanrtg Well-Known Member

    Joined:
    Oct 4, 2006
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16

    UNFORTUNATELY, NO。

    As someone mentioned, does anyone know what files we are missing?
     
  12. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    to check your mod's run from root

    /usr/local/cpanel/bin/checkperlmodules
     
  13. brendanrtg

    brendanrtg Well-Known Member

    Joined:
    Oct 4, 2006
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16

    Which MODS should we be looking for, please?
     
  14. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16

    Running that command will install and update the mods that are required for cpanel.
     
  15. overload

    overload Member

    Joined:
    Feb 9, 2006
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I have problems also with database: no user/database is copied using "Copy an account from another server with account password" from WHM

    My config is:

    WHM 10.8.0 cPanel 10.9.0-R44
    CentOS 4.4 i686 - WHM X v3.1.0

    any advice?
     
  16. xalex

    xalex Registered

    Joined:
    Jun 22, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Same problem here. Any solution?
     
  17. brendanrtg

    brendanrtg Well-Known Member

    Joined:
    Oct 4, 2006
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    We upgraded BOTH servers to the latest RELEASE BUILD and then run your recommended command without any error.

    We tried copying again and we got this LOOPING non-stop. A TOP shows a few pkgacct processes running although the copy was terminated when it failed.

    Packaging the account...
    pkgacct started.
    pkgacct version 4.2 - running with uid 0
    using time::hires for speedups
    We will be splitting the archive!!
    Timeout ...
    [a fatal error or timeout occurred while processing this directive]Retrying....Packaging the account...
    pkgacct started.
    pkgacct version 4.2 - running with uid 0
    using time::hires for speedups
    We will be splitting the archive!!
    Timeout ...
    [a fatal error or timeout occurred while processing this directive]Retrying....Packaging the account...
    pkgacct started.
    pkgacct version 4.2 - running with uid 0
    using time::hires for speedups
    We will be splitting the archive!!
    Timeout ...
    [a fatal error or timeout occurred while processing this directive]
    Done
    Transfer ErrorUnable to package account

    IDEAS?

    P/S: Local pkgacct as ROOT works on both servers but we have too many accounts to move!
     
  18. brendanrtg

    brendanrtg Well-Known Member

    Joined:
    Oct 4, 2006
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    Apparently, it appears that /scripts/pkgacct is timing out on some servers.

    Anything we missed or can tweak?
     
  19. brendanrtg

    brendanrtg Well-Known Member

    Joined:
    Oct 4, 2006
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    FINALLY

    We managed to pinpoint the issue and have solved the problem.

    The error stems from HUGE Reseller Config files under /var/cpanel, which cause pkgacct to time itself out.

    Once the files under /var/cpanel is sorted and duplicate entries removed, the cpmove will go thru.

    INCASE anyone is interested, the files in question are:

    reseller-resource-overselling
    reseller-limits
    reseller-number-accounts
    resellers-nameservers
    reseller-resource-accounts
    reseller-resource-limits

    These tend to be corrupted and contain multiple duplicate entries.

    SORT them and make sure they contain only one single UNIQ entries for each accounts and the problem will go away.
     
    #19 brendanrtg, Nov 7, 2006
    Last edited: Nov 7, 2006
  20. krava

    krava Well-Known Member

    Joined:
    Sep 23, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Thanks for last post brendanrtg, I believe cPanel users will find it useful and it will save their time.
     
Loading...

Share This Page