Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. WindyT

    WindyT Active Member

    Joined:
    Nov 30, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    156
    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:
    156
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. troxalias

    troxalias Well-Known Member

    Joined:
    Nov 21, 2001
    Messages:
    96
    Likes Received:
    0
    Trophy Points:
    306
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. 4hosted

    4hosted Member

    Joined:
    Feb 27, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    151
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    359
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Roswell, GA
    No problems on my CentOS 5.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice