Re: [Vserver] Failed to startup v_sshd

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Sat 08 Jul 2006 - 20:45:23 BST
Message-ID: <20060708194523.GF26005@MAIL.13thfloor.at>

On Wed, Jul 05, 2006 at 06:44:18PM -0300, Sergio Belkin wrote:
> 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?

I could not figure where and/or why you try to use
the v_sshd script at all, please elaborate ...

TIA,
Herbert

> 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
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Jul 8 20:46:07 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 08 Jul 2006 - 20:46:11 BST by hypermail 2.1.8