Re: C 7.3 sshd will not reload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Might I suggest using "systemctl restart sshd", instead of reload? At the
least - see if it behaves differently for you.


   - *restart* = stop + start
   - *reload* = remain running + re-read configuration files.


On Thu, Mar 2, 2017 at 9:29 AM, <me@xxxxxxxxxx> wrote:

> Hi,
>
> Since upgrading to 7.3 I am having a problem getting sshd to reload after
> configuration changes. When I issue the command "systemctl reload
> sshd.service"
>
> I get the following error: "Unit sshd.service cannot be reloaded because
> it is inactive."
>
> It is obviously still running because I am connected over ssh to the
> machine and netstat
> shows it is listening.
> (vnewman pts3) # netstat -tulpn | grep ssh
> tcp        0      0 0.0.0.0:22              0.0.0.0:*
>  LISTEN      29249/sshd
> tcp        0      0 127.0.0.1:6010          0.0.0.0:*
>  LISTEN      3012/sshd: root@pts
> (vnewman pts3) #
>
> If I reboot the machine, then everything is OK.
>
> Has anyone seen this behavior or more importantly know how to fix it?
>
> Regards,
>
> --
> Tom                     me@xxxxxxxxxx           Spamtrap address
>               me123@xxxxxxxxxx
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
Natrona County Beekeepers <http://ncbees.org>
Casper Amateur Radio Club <http://casperarc.net>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux