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@tdiehl.org 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@tdiehl.org Spamtrap address me123@tdiehl.org _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos