Ubuntu 12.10: initctl: Unknown job: ssh

Wenn Sie unter Ubuntu 12.10 folgendes Problem beim Starten des SSH-Daemons haben...

root@ubuntu:/home/ubuntu# /etc/init.d/ssh start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service ssh start
initctl: Unknown job: ssh

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start ssh
root@ubuntu:/home/ubuntu#

... können Sie das durch den folgenden Befehl lösen:

initctl reload-configuration

Danach sollte das Starten des SSH-Daemons problemlos funktionieren:

root@ubuntu:/home/ubuntu# /etc/init.d/ssh start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service ssh start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start ssh
ssh start/running, process 6622
root@ubuntu:/home/ubuntu#

Nach oben