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
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
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.
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
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:
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.
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:
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
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.
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
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
**
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.
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
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
**
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
15 matches
Mail list logo