Re: [Vserver] Failed to startup v_sshd

From: Christian Heim <phreak_at_gentoo.org>
Date: Wed 05 Jul 2006 - 17:14:37 BST
Message-Id: <200607051814.43572.phreak@gentoo.org>

On Wednesday 05 July 2006 14:31, Sergio Belkin wrote:
>Hi list:
>
>I don understand why it fails when v_sshd starts, this is
>the /var/log/messages:
>
>
>Jul 5 09:29:21 hibernia sshd[8430]: error: Bind to port 22 on 192.168.1.5
>failed: Cannot assign requested address.
>Jul 5 09:29:21 hibernia sshd[8430]: fatal: Cannot bind any address.
>Jul 5 09:29:21 hibernia sshd: startup succeeded

It fails because another process is already listening to 0.0.0.0:22 (probably
on the host).

Try to bind your hosts sshd to Listen only to a single IP fex. by adding

ListenAddress 192.168.1.1

to your hosts /etc/ssh/sshd_config file (or any other place depending on your
chosen distribution).

Restart sshd and try it again.

-- 
Christian Heim <phreak@gentoo.org>
Gentoo Linux Developer - vserver/openvz

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Received on Wed Jul 5 17:36:30 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 05 Jul 2006 - 17:36:35 BST by hypermail 2.1.8