[lxc-users] lxc-users Digest, Vol 42, Issue 1

Thouraya TH thouraya87 at gmail.com
Mon Sep 29 12:08:40 UTC 2014


Thanks a lot for answer :) but it doesn't work:

root at thouraya-Lenovo-3000-N500:/home/thouraya# lxc-start -F -n u1
lxc-start: Permission denied - failed to mount a new instance of '/dev/pts'
lxc-start: failed to setup the new pts instance
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'u1'
lxc-start: The container failed to start.
lxc-start: Additional information can be obtained by setting the --logfile
and --logpriority options.

Bests.

2014-09-29 13:00 GMT+01:00 <lxc-users-request at lists.linuxcontainers.org>:

> Send lxc-users mailing list submissions to
>         lxc-users at lists.linuxcontainers.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.linuxcontainers.org/listinfo/lxc-users
> or, via email, send a message with subject or body 'help' to
>         lxc-users-request at lists.linuxcontainers.org
>
> You can reach the person managing the list at
>         lxc-users-owner at lists.linuxcontainers.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lxc-users digest..."
>
> Today's Topics:
>
>    1. Unable to get iptables log in container (らふろうと)
>    2. Re: Unable to get iptables log in container (Tamas Papp)
>    3. LXC Failed to start (Thouraya TH)
>    4. Re: LXC Failed to start (Tamas Papp)
>
>
> ---------- Message transféré ----------
> From: "らふろうと" <fulhelm.gadgetter at gmail.com>
> To: lxc-users at lists.linuxcontainers.org
> Cc:
> Date: Sun, 28 Sep 2014 23:26:03 +0900
> Subject: [lxc-users] Unable to get iptables log in container
> Hi everyone,
> I created the lxc container on my server (Ubuntu14.04) and installed
> iptables for using the container as router.
> The rules I set for iptables in container work fine, but I'm unable to get
> iptables log.
>
> I'm using rsyslog to save log message, and added this line to conf file
> for iptables log.
>  kern.* /var/log/kern.log
> However there is still no iptables log, either in host machine or the
> container.
>
> It seems normal kernel log is logged properly, because I can see kernel's
> error message log in kern.log.
>
> I heard /dev/kmsg is created as symlink to /dev/console as default in lxc
> container, so I disabled this option but it doesn't work.
> How can I get iptables log?
>
>
> ---------- Message transféré ----------
> From: Tamas Papp <tompos at martos.bme.hu>
> To: LXC users mailing-list <lxc-users at lists.linuxcontainers.org>
> Cc:
> Date: Sun, 28 Sep 2014 16:29:21 +0200
> Subject: Re: [lxc-users] Unable to get iptables log in container
>
> On 09/28/2014 04:26 PM, らふろうと wrote:
>
>> Hi everyone,
>> I created the lxc container on my server (Ubuntu14.04) and installed
>> iptables for using the container as router.
>> The rules I set for iptables in container work fine, but I'm unable to
>> get iptables log.
>>
>> I'm using rsyslog to save log message, and added this line to conf file
>> for iptables log.
>>  kern.* /var/log/kern.log
>> However there is still no iptables log, either in host machine or the
>> container.
>>
>> It seems normal kernel log is logged properly, because I can see kernel's
>> error message log in kern.log.
>>
>> I heard /dev/kmsg is created as symlink to /dev/console as default in lxc
>> container, so I disabled this option but it doesn't work.
>> How can I get iptables log?
>>
>>
> I would use the ULOG target.
>
> t
>
>
>
> ---------- Message transféré ----------
> From: Thouraya TH <thouraya87 at gmail.com>
> To: lxc-users at lists.linuxcontainers.org
> Cc:
> Date: Mon, 29 Sep 2014 12:54:47 +0100
> Subject: [lxc-users] LXC Failed to start
> Hello,
>
> Please, i try to test this tutorial: http://criu.org/LXC:
>
> I followed all instructions, but i have an error message at this command:
> sudo lxc-start -n u1
>
> root at thouraya-Lenovo-3000-N500:~# lxc-start -n u1
> lxc-start: The container failed to start.
> lxc-start: To get more details, run the container in foreground mode.
> lxc-start: Additional information can be obtained by setting the --logfile
> and --logpriority options.
>
> Ubuntu 12.04
>
> Have you an idea please ?
>
> Thanks a lot for help.
> Best Regards.
>
>
> ---------- Message transféré ----------
> From: Tamas Papp <tompos at martos.bme.hu>
> To: LXC users mailing-list <lxc-users at lists.linuxcontainers.org>
> Cc:
> Date: Mon, 29 Sep 2014 13:58:04 +0200
> Subject: Re: [lxc-users] LXC Failed to start
>
> On 09/29/2014 01:54 PM, Thouraya TH wrote:
>
>> Hello,
>>
>> Please, i try to test this tutorial: http://criu.org/LXC:
>>
>> I followed all instructions, but i have an error message at this command:
>> sudo lxc-start -n u1
>>
>> root at thouraya-Lenovo-3000-N500:~# lxc-start -n u1
>> lxc-start: The container failed to start.
>> lxc-start: To get more details, run the container in foreground mode.
>> lxc-start: Additional information can be obtained by setting the
>> --logfile and --logpriority options.
>>
>> Ubuntu 12.04
>>
>> Have you an idea please ?
>>
>>
> Run the container is foreground mode.
>
> tamas
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140929/83f40e70/attachment.html>


More information about the lxc-users mailing list