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.

Problem with account restore

Discussion in 'General Discussion' started by david.roman, Feb 13, 2006.

  1. david.roman

    david.roman Member
    PartnerNOC

    Joined:
    Jan 16, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    I'm moving an account from one server to other, 15 accounts without notice, but this is failing without reason. Here the log of the restore.


    Extracting tarball...................
    Done

    Extracting Domain....Done

    Generating Account....

    Updated username abc-abcd to abcabcd
    WWWAcct 10.0 (c) 1997-2005 cPanel, Inc.

    +===================================+
    | New Account Info |
    +===================================+
    | Domain: cabc-abcd.com
    | Ip: 11.11.11.11 (n)
    | HasCgi: y
    | UserName: abcabcd
    | PassWord: HIDDEN
    | CpanelMod: default
    | HomeRoot: /home
    | Quota: 0 Meg
    | NameServer1: 11.11.11.11
    | NameServer2: 12.12.12.12
    | NameServer3:
    | NameServer4:
    | Contact Email:
    +===================================+
    Changing password for abcabcd
    Password for csicsif has been changed
    Keeping Shell Access (y)
    Copying skel files from /root/cpanel3-skel/ to /home/abcabcd/
    Added Entries to httpd.conf
    Bind reconfiguring on fortunation using rndc
    Error reconfiguring bind on fortuna: rndc: connect failed: connection refused

    Added Named File
    Restarting apache
    Ftp Password Files synced
    Notifcation => servidores@nosotros.com via EMAIL [level => 1]
    wwwacct creation finished


    Transfer Error
    Account creation failed.. cannot continue..


    Account Restore Failed...

    Vhost Passwords synced

    And here stops with a failed message, the bind error is normal, no dns in this server.

    ¿any ideas? how i can get more log?

    The bind error is normal
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Execute the below scripts and try to restore the account :-
    /scripts/fixnamed
    /scripts/fixndc
    service named stop
    service named start

    Also check the logs in /var/log/messages using
    tail /var/log/messages
     
  3. david.roman

    david.roman Member
    PartnerNOC

    Joined:
    Jan 16, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    no need to fix named or rndc the nameserver for this domain is outside the box.
     
  4. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Without really carefully reading your errors, I've encountered the following causes for problems like this:
    • Accounts that are larger than the available space in /tmp (it uses /tmp for a temporary space to put the account backup in, if it doesn't fit it gets truncated!)
    • HTTP Redirects set up in the account's cpanel interfering with the copy process
    • Lack of space in the account interfering with the creation of the intermediary copy scripts, so the whole thing bombs. I imagine this could also happen if file/directory permissions were weird.
     
Loading...

Share This Page