[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
Still an issue with a fresh install of Ubuntu 14.04: $ su # apt-get install openssh-server initctl: Unknown job: ssh # initctl status ssh initctl: Unknown job: ssh # initctl --system status ssh ssh stop/waiting But run the su as a login shell: $ su - # apt-get install openssh-server (No "Unknown job: ssh) ... # initctl status ssh ssh start/running, process 18012 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1367214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
Here are some external descriptions of this problem: https://askubuntu.com/questions/403279/sshd-wont-stop-start-properly https://askubuntu.com/questions/406265/ssh-server-does-not-start-on-lubuntu-live-image https://superuser.com/questions/931329/unable-to-setup-openssh-server-on-ubuntu https://serverfault.com/questions/333943/cant-start-ssh-after-upgrade-ubuntu http://aplawrence.com/Linux/ubuntu_start_bug.html http://ubuntuforums.org/showthread.php?t=2260006 http://xbian.org/forum/thread-2473-post-24475.html https://stackoverflow.com/questions/30568905/ubuntu-when-upstart-service-is-run-with-user-root-it-returns-unknown-job -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1367214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
I also have this problem on a client's machine. This leads to failing chef-scripts, that's very annoying. Does anyone have a solution or workaround, except the --system flag? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1367214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
Also confirmed after upgrade from functional 12.04 system to 14.04 (both 64 bit). --System flag makes it work -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1367214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
I have exactly the same problem after fresh installation of Ubuntu 14.04 (64bit). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1367214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
Probably because this piece of junk (upstart) just silently discards any *.conf file with errors/unknown directives in it instead of reporting/logging the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1367214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: upstart (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1367214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
This issue also affects mysql package. $ sudo service mysql restart stop: unknown job: mysql start: unknown job: mysql In other words, both mysql and ssh cannot be restarted. I have recently upgraded from 12.04 to 14.04, then this bug started affecting mysql and ssh. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1367214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
As an update, the ssh.conf file exists in /etc/init : # ls /etc/init/*ssh* /etc/init/ssh.conf and it looks correct (I haven't modified any files in /etc/init). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1367214/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
There is more information at https://answers.launchpad.net/ubuntu/+source/openssh/+question/254248 . -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1367214/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
I believe this is an upstart issue, the tools appear to be selecting user tasks rather than system tasks. Try adding --system to your various commands: sarnold@hunt:~$ initctl --system status ssh ssh start/running, process 1352 sarnold@hunt:~$ initctl status ssh initctl: Unknown job: ssh ** Package changed: openssh (Ubuntu) = upstart (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1367214/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
As an update, the ssh.conf file exists in /etc/init : # ls /etc/init/*ssh* /etc/init/ssh.conf and it looks correct (I haven't modified any files in /etc/init). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1367214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
There is more information at https://answers.launchpad.net/ubuntu/+source/openssh/+question/254248 . -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1367214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
I believe this is an upstart issue, the tools appear to be selecting user tasks rather than system tasks. Try adding --system to your various commands: sarnold@hunt:~$ initctl --system status ssh ssh start/running, process 1352 sarnold@hunt:~$ initctl status ssh initctl: Unknown job: ssh ** Package changed: openssh (Ubuntu) = upstart (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1367214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367214] Re: Newly installed openssh-server and upstart: status: Unknown job: ssh
Thanks, adding --system apparently helps. The verbosity is awful / nonexistent, I can only guess the command did anything by seeing the PID changing: # initctl --system restart ssh ssh start/running, process 22389 # initctl --system restart ssh ssh start/running, process 22394 Adding -v (the verbose switch) apparently doesn't do anything in any of the common initctl commands I've tried (list, start, stop, restart). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367214 Title: Newly installed openssh-server and upstart: status: Unknown job: ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1367214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs