[Bug 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2016-02-27 Thread Andrew Aldridge
Sure thing:

$ sudo systemctl status ssh
[sudo] password for andrewta: 
● ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: 
enabled)
   Active: failed (Result: start-limit) since Wed 2016-02-24 14:44:04 CST; 20s 
ago
  Process: 918 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
 Main PID: 918 (code=exited, status=255)

Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Main process exited, code.../a
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Failed with result 'exit-...'.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Service hold-off time ove...t.
Feb 24 14:44:04 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Start request repeated to...y.
Feb 24 14:44:04 janus-40 systemd[1]: Failed to start OpenBSD Secure Shell s...r.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Failed with result 'start...'.
Hint: Some lines were ellipsized, use -l to show in full.

journalctl -u ssh
-- Logs begin at Wed 2016-02-24 14:44:03 CST, end at Sat 2016-02-27 12:32:17 
CST. --
Feb 24 14:44:03 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Failed with result 
'exit-code'.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Service hold-off time over, 
scheduling restart.
Feb 24 14:44:03 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Failed with result 
'exit-code'.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Service hold-off time over, 
scheduling restart.
Feb 24 14:44:03 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:03 janus-40 systemd[1]: ssh.service: Failed with result 
'exit-code'.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Service hold-off time over, 
scheduling restart.
Feb 24 14:44:04 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Unit entered failed state.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Failed with result 
'exit-code'.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Service hold-off time over, 
scheduling restart.
Feb 24 14:44:04 janus-40 systemd[1]: Stopped OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: Started OpenBSD Secure Shell server.
Feb 24 14:44:04 janus-40 systemd[1]: ssh.service: Main process exited, 
code=exited, status=255/n/a

-- 
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/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1549473/+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 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2016-02-27 Thread Andrew Aldridge
After boot starting ssh has never fails to start and correctly runs.

-- 
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/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1549473/+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 1549473] Re: ssh will not start at boot: systemctl status ssh -> output is listed as failed 255.

2016-02-25 Thread Colin Watson
Please can you provide as much information as you have?  For example,
"the ctl status is failed 255" is clearly a paraphrase of something that
you're seeing; it would be more useful if you could please copy and
paste the original text of the error messages.

Forum research is probably leading you up entirely the wrong path; that
sounds like information that predates systemd.  The ssh.service unit has
"After=network.target".

"journalctl -u sshd" won't find anything because that's not what the
unit is called.  Try "journalctl -u ssh".

** Changed in: openssh (Ubuntu)
   Status: New => Incomplete

-- 
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/1549473

Title:
  ssh will not start at boot:  systemctl status ssh -> output is listed
  as failed 255.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1549473/+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