Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2007
    Posts
    26

    Default lost connection during setup

    hello

    i want to know someting , i am installing new cpanel on centos OS via ssh

    when i am watching the installation i got disconnected, and i login again , i saw with the top command the processor working in the background

    is this ok ? or i should reinstall the cpanel again?

    thanks

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    If you experience a disconnection from SSH again it should be OK to allow the install to continue running in the background, and it should not be necessary to re-install, but it should also not break anything if you do re-install just as a precaution.

    For reference, you may also check the cPanel install logs for activity; they are located at the following paths:
    /var/log/cpanel-install-thread0.log
    /var/log/cpanel-install-thread1.log

    For future installs, you may want to try running the install within a screen session, so that you can safely "attach" and "detach" or later reattach the screen without worrying if SSH connectivity might fail.

    For CentOS and RHEL, if your package manager is YUM the following command can be used to install screen (before initiating the cPanel installer):
    Code:
    # yum install screen
    For CentOS and RHEL, if your package manager is up2date, then the following command could be used to install screen:
    Code:
    # up2date -i screen
    Likewise, for FreeBSD, the following two commands will install screen:
    Code:
    # cd /usr/ports/sysutils/screen
    # make install clean
    Once screen is installed, you can initiate a screen using the following command:
    Code:
    # screen
    To detach from a screen, use the following keyboard combination.
    Ctrl+a, then press d

    To list existing screens and their numeric IDs, enter the following command:
    Code:
    # screen -ls
    To attach to a screen, use one of the following commands (where "123" is the numeric ID of the screen to reattach to):
    Code:
    # screen -r
    # screen -r 123
    I recommend referring to the screen manual "man" page for more documentation on what is possible with screen and how to use it:
    Code:
    # man screen

Similar Threads & Tags
Similar threads

  1. Connection lost when copy accounts
    By benito in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-02-2010, 01:13 PM
  2. Connection lost when upgrading..
    By benito in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-01-2007, 11:24 PM
  3. SMTP lost connection
    By abusaifedden in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-21-2007, 10:41 PM
  4. proftpd-connection lost while uploading
    By tshin in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-02-2005, 03:46 PM
  5. SpamAssassin: Lost Incoming Connection
    By lamp in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-27-2005, 06:27 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube