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.

FAILED: sshd on server

Discussion in 'General Discussion' started by MantisComp, May 13, 2013.

  1. MantisComp

    MantisComp Active Member

    Joined:
    Oct 16, 2008
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Hi
    I have tried getting support from the reseller 'buycpanel' but was told this is not a cPanel related issue....

    This server has been running fine for along time, in the last few day I have been getting emails as follows:
    -----------------------
    Server: server1.xxxxxxxxxxxx.com
    Primary IP: xxx.xxx.xxx.xxx
    Service: sshd
    Notification Type: failed
    Notification: sshd failed @ Sat May 11 08:37:47 2013. A restart was attempted automagically.
    Service Check Method: [socket connect]
    Reason:
    Unable to connect to unix socket config-file: No such file or directory: Died at /usr/local/cpanel/Cpanel/TailWatch/ChkServd.pm line 800.
    Number of Restart Attempts: 99
    Startup Log:
    Starting sshd: [ OK ]
    Syslog Messages:
    May 11 08:32:47 server1 sshd[11373]: Server listening on 0.0.0.0 port 55069.
    May 11 08:32:46 server1 sshd[10728]: Received signal 15; terminating.
    May 11 08:27:46 server1 sshd[10728]: Server listening on 0.0.0.0 port 55069.
    May 11 08:27:46 server1 sshd[10078]: Received signal 15; terminating.
    May 11 08:22:45 server1 sshd[10078]: Server listening on 0.0.0.0 port 55069.
    -----------------------

    I set the port to 55069 when the server was built.

    Any ideas what is going on here?

    Thanks
    Rob
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    What is your cPanel & WHM version number?

    If it is 11.38, please ensure you are running the latest build of 11.38 (11.38.0.7 at time of writing). Early builds of 11.38 had some deficiencies in the SSHD check.
     
  3. MantisComp

    MantisComp Active Member

    Joined:
    Oct 16, 2008
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Hi
    Yes it is 11.38.0.7

    Rgds
    Rob
     
  4. mohakevin

    mohakevin Well-Known Member

    Joined:
    Jan 19, 2005
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Same problem here with version 11.38.0.7
    Some solutions?
     
  5. MantisComp

    MantisComp Active Member

    Joined:
    Oct 16, 2008
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    added the entry for localhost in /etc/ssh/sshd_config
     
  6. robb3369

    robb3369 Well-Known Member

    Joined:
    Mar 1, 2008
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Add both your external IP address and 127.0.0.1 to the listen list in sshd_config and restart sshd
    Code:
    ListenAddress 123.123.123.123
    ListenAddress 127.0.0.1
     
Loading...

Share This Page