Re: [Vserver] Failed to startup v_sshd

From: Sergio Belkin <belkdriva_at_gmail.com>
Date: Wed 05 Jul 2006 - 22:44:18 BST
Message-Id: <200607051844.19194.belkdriva@gmail.com>

El Miércoles, 5 de Julio de 2006 13:14, Christian Heim escribió:
> 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, I did what you said but the problem lasts,

When I run service v_sshd status

it outputs as follow:

exec /usr/sbin/chbind --ip eth0 /etc/init.d/sshd status
ipv4root is now ("public IP host")
sshd dead but subsys locked

And when vserver starts the messages are:
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
Starting partmon: [ OK ]
error: "Operation not permitted" setting key "kernel.printk"
error: "Operation not permitted" setting key "kernel.printk"
error: "Operation not permitted" setting key "kernel.printk"
Setting mixer settings aumix: error opening mixer
                                                                [FAILED]
error: "Operation not permitted" setting key "kernel.printk"
Starting crond: [ OK ]
Starting kheader: [ OK ]

Any suggestion?

thanks in advance!

-- 
Sergio Belkin
Soluciones Informáticas Open Source
Mandriva Authorized Solutions Provider
http://www.escritorioya.com.ar (011) 4788-8605 // Cel. 15-5494-5143
----------------------------------------
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Jul 5 22:43:51 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 05 Jul 2006 - 22:43:57 BST by hypermail 2.1.8