restarting ssh sshd[5678]: error: Bind to port 22 on :: failed: Address already in use.

Paul Graydon paul at paulgraydon.co.uk
Fri Oct 29 07:18:14 UTC 2010


On 10/28/2010 9:01 PM, Tapas Mishra wrote:
> I restart ssh on Ubuntu 10.04 64 bit server edition and I see
> following line in auth.log
>
> sshd[5678]: error: Bind to port 22 on :: failed: Address already in use.
>
> when ever I restart ssh I see the above line.
> That is a headless server.
>
Are you confident that it's actually restarted ultimately?  What start 
date/time does it show when you do:

ps waxu | grep [s]shd

?  If it can't bind to port 22 it does suggest that sshd never properly 
terminates (if it ever does)

Paul




More information about the ubuntu-server mailing list