systemd systemctl problem

I’ve been troubleshooting a slow ssh logon issue. To facilitate this I ran

systemctl stop sshd.service

.
Then i launched sshd manually with debugging turned on

/usr/sbin/sshd -d -D

. I fixed that issue but something weird showed up in the process. When it tried to run

systemctl start sshd.service

, i find there is no command.

I can still run status, but start and stop won’t allow sshd.service as an option. I had to run

service sshd start

. However, after i rebooted, I was able to use systemctl to stop and start sshd. It seems to come and go.

Any insight into this issue?

  1. what openSUSE version?

  2. Sayiing things like “there is no command” are not very usefull. When you get any messages (or even nothing at all) that is best communicated in a post by copy/paste the prompt, the command, the output and the next prompt between the CODE tags. Only in that way we can see what you saw.