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.

Copy account from one server to anther

Discussion in 'General Discussion' started by thehostinghut, Sep 20, 2005.

  1. thehostinghut

    thehostinghut Well-Known Member

    Joined:
    Jan 5, 2005
    Messages:
    232
    Likes Received:
    0
    Trophy Points:
    16
    I keep getting this error when trying to copy an account from one server to another.

    Fetching Domain Information...
    Timeout while attempting to connect to xx.xxx.xxx.xx
    Trace Output: (ssh: connect to host xx.xxx.xxx.xx port xxxx: Connection timed out


    sshconnecttimeout
    )
    Done


    Does anyone know what could cause this?

    Server info (copy from):

    WHM 10.6.0 cPanel 10.6.0-E156
    CentOS 3.5 i686 - WHM X v3.1.0

    Server info (copy to):

    WHM 10.6.0 cPanel 10.8.0-E18
    CentOS 4.0 i686 - WHM X v3.1.0

    Thanks,

    Tracy
     
  2. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Do a quick search in the forums.- if the file is too large it can cause that and there are several suggestions on how to fix/prevent/transfer those accounts. Everything from ftp. wget, etc.

    I would go with wget - probably work the fastest.
     
  3. thehostinghut

    thehostinghut Well-Known Member

    Joined:
    Jan 5, 2005
    Messages:
    232
    Likes Received:
    0
    Trophy Points:
    16
  4. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    That small should not be timing out. Sounds like it cannot find the ip address? Can you ping and traceroute to it?
     
    #4 lloyd_tennison, Sep 20, 2005
    Last edited: Sep 20, 2005
  5. thehostinghut

    thehostinghut Well-Known Member

    Joined:
    Jan 5, 2005
    Messages:
    232
    Likes Received:
    0
    Trophy Points:
    16
    These are server are on the same network. That is what is getting me. I am going to try to move an account from two other server in the same network to see.


    Err. Iptables!!!!

    That was the issue.

    Sorry should have checked that first.

    Tracy
     
  6. procam

    procam Well-Known Member

    Joined:
    Nov 24, 2003
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    For some odd reason I am suddenly having this exact same problem ~ what did you change in your iptables??
     
  7. thehostinghut

    thehostinghut Well-Known Member

    Joined:
    Jan 5, 2005
    Messages:
    232
    Likes Received:
    0
    Trophy Points:
    16
    I just logged into the server and done:

    service iptables stop

    You may also want to make sure all the ports are opened in your firewall for it to work without shutting down the iptables altogether. Try putitng port 2086 in the outbound of your firewall.

    Just make sure you restart them after the fact if you do shut it down.

    Let me know how it goes.
     
  8. procam

    procam Well-Known Member

    Joined:
    Nov 24, 2003
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    Well I learned from experience turning iptables OFF is a real bad idea {even for a few minutes} so I went to the apf allowed hosts file and added to allow the units to do what they need to do in that cabinet~ This resolved it~
    Thanks for your quick reply

    # Examples:
    # inbound to destination port 22 from 192.168.2.1
    # tcp:in:d=22:s=192.168.2.1
    tcp:in:d=22:s=XX.XXX.XXX.XX
    tcp:in:d=22:s=XX.XXX.XXX.XX
    tcp:in:d=22:s=XX.XXX.XXX.XX
    #
    # outbound to destination port 23 to destination host 192.168.2.1
    # out:d=23:d=192.168.2.1
    out:d=3306:d=XX.XX.XX.XX
    out:d=22:d=XX.XXX.XXX.XX
    out:d=22:d=XX.XXX.XXX.XX
    out:d=22:d=XX.XXX.XXX.XX
    # inbound to destination port 3306 from 192.168.5.0/24
    # d=3306:s=192.168.5.0/24
    #
    ##
     
Loading...

Share This Page