[Bug 1713435] Re: package openssh-server 1:7.2p2-4ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Andreas Hasenack andreas at canonical.com
Tue Aug 29 21:25:31 UTC 2017


Oh, my mistake. The journal log was attached and had this bit of info:
Aug 28 14:36:40 hostname sshd[21687]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Aug 28 14:36:40 hostname sshd[21687]: error: Bind to port 22 on :: failed: Address already in use.
Aug 28 14:36:40 hostname sshd[21687]: fatal: Cannot bind any address.
Aug 28 14:36:40 hostname systemd[1]: Failed to start OpenBSD Secure Shell server.
Aug 28 14:36:40 hostname systemd[1]: ssh.service: Failed with result 'exit-code'.

Looks like something else was already listening on ssh's port.

In addition to the status command from my previous command, please also attach the output of the following ones:
- ps fauxw
- sudo netstat -anp

Thanks!

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

Title:
  package openssh-server 1:7.2p2-4ubuntu2.2 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1713435/+subscriptions



More information about the Ubuntu-server-bugs mailing list