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!

systemd failed to start the service sshd

Discussion in 'General Discussion' started by Muhammad Rozhgar, Jun 3, 2018.

  1. Muhammad Rozhgar

    Joined:
    May 10, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kurdistan
    cPanel Access Level:
    DataCenter Provider
    Hello , please i need help !

    Code:
    [2018-06-03 22:39:43 +0200] info [restartsrv_sshd] systemd failed to start the service “sshd” (The “/usr/bin/systemctl” command (process 6520) reported error number 1 when it ended.): Job for sshd.service failed because the control process exited with error code. See "systemctl status sshd.service" and "journalctl -xe" for details. Waiting for “sshd” to start ………failed.
    
    Cpanel::Exception::Services::StartError Service Status
    
    Service Error
    (XID tad9bm) The “sshd” service failed to start.
    
    Startup Log
    Jun 03 22:39:43 exa systemd[1]: Failed to start OpenSSH server daemon.
    Jun 03 22:39:43 exa systemd[1]: Unit sshd.service entered failed state.
    Jun 03 22:39:43 exa systemd[1]: sshd.service failed.
    
    Log Messages
    Jun 3 22:39:43 exa sshd: /etc/ssh/sshd_config: terminating, 1 bad configuration options
    
    sshd has failed. Contact your system administrator if the service does not automagically recover.
     
    #1 Muhammad Rozhgar, Jun 3, 2018
    Last edited by a moderator: Jun 3, 2018
  2. Muhammad Rozhgar

    Joined:
    May 10, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kurdistan
    cPanel Access Level:
    DataCenter Provider
    the last update of cloudlinux not compatble with it when you update and reboot server directly your server will go wrong i mean down and stuck from grub like that picture unnamed.png


    today for twice times i have formated and reinstalled operator just about that problem please found any solution for that thanks....
     
  3. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Jun 3 22:39:43 exa sshd: /etc/ssh/sshd_config: terminating, 1 bad configuration options

    Please provide output of

    Code:
    sshd -t
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,052
    Likes Received:
    213
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,

    You might also want to try the following if you accidentally misconfigure your SSH configuration file, navigate to the following link in your web browser (where example.com represents the server's hostname or main IP address):
    https://example.com:2087/scripts2/doautofixer?autofix=safesshrestart

    This script attempt to will temporarily configure an additional SSH configuration file for port 22, which will allow you to access, edit, and fix the original SSH configuration file.
    If another service or daemon uses port 22, the script will configure an additional SSH configuration file for port 23.
     
    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