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.

SSHD Problems CentOS

Discussion in 'General Discussion' started by 4hosted, Dec 28, 2007.

  1. 4hosted

    4hosted Member

    Joined:
    Feb 27, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    anyone else having problems with sshd today? Our SSH server packed in and wont start up again, tried the safessh script but it wont work either.

    Running CentOS Enterprise 4.6 i686
    WHM 11.11.0 cPanel 11.16.0-C18546
     
  2. WindyT

    WindyT Active Member

    Joined:
    Nov 30, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    So it's not just me then. Fantastic.

    How do I fix this?

    WHM is fine, but sshd not so much.
    The only thing I haven't tried is rebooting the server.

    ==
    EDIT: From the prompt within PUTTY, I can restart sshd.
    It takes some full two minutes to log in, but eventually it logs me in.
    This long delay is new but I can log in.
    from PUTTY
    Code:
    # /etc/init.d/sshd restart
    Stopping sshd:                                             [  OK  ]
    Starting sshd:                                             [  OK  ]
    
    but restarting sshd from WHM provides this
    Code:
    Waiting for sshd to restart.... . . . . . . . . . . finished.
    
    sshd status
    
    root      9713  1.0  1.1 25772 24100 ?       S    14:15   0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./ressshd
    root      9736  0.0  0.0  5780 1004 ?        Ss   14:15   0:00 /usr/sbin/sshd
    
    Jan 1 14:15:08 srv01 sshd: sshd shutdown succeeded Jan 1 14:15:08 srv01 sshd: succeeded sshd has failed, please contact the sysadmin.
    So is this just a WHM issue?

    ---
    WHM 11.11.0 cPanel 11.16.0-C18546
    CENTOS Enterprise 4.6 i686 on standard - WHM X v3.1.0
     
    #2 WindyT, Jan 1, 2008
    Last edited: Jan 1, 2008
  3. kran

    kran Well-Known Member

    Joined:
    Jul 5, 2003
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Colombia
    cPanel Access Level:
    Root Administrator
    I´m having the same problem

    I upgraded to 11.16.0-E18782

    and still the same problem, has any one found out the cause?
     
  4. troxalias

    troxalias Well-Known Member

    Joined:
    Nov 21, 2001
    Messages:
    96
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Athens - Greece
    If you can login with putty then sshd is working. The most common reason for taking log for ssh to log you in is problems with DNS resolving, or extreme load on your server. Check these first.
     
  5. 4hosted

    4hosted Member

    Joined:
    Feb 27, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    I finally fixed this but only through virtuozzo, The failure notice we were receiving was:

    Stopping sshd:[FAILED] Starting sshd:/var/empty/sshd must be owned by root and not group or world-writable. [FAILED] .

    After changing the permissions through a file manager, all was fine
     
  6. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    No problems on my CentOS 5.
     
Loading...

Share This Page