lxc for debian etch

Dietmar

On 2-ND thought we use a vz system to run dnsmaq server for lan. So it has our full hosts file :
Code:
-rw-r--r-- 1 root root 43662 Sep 16 09:33 hosts

when that gets converted to lxc, we'll need a larger limit if possible.
 
Please, add CentOS 4 to Proxmox 4 release. Detected container architecture: i386unsupported redhat release 'CentOS release 4.9 (Final)'TASK OKTASK ERROR: missing 'ostype' - internal error at /usr/share/perl5/PVE/LXC.pm line 1075.
 
Please, add CentOS 4 to Proxmox 4 release.

This is even older than debian etch, and IMHO it really makes not much sense to add them. But I would accept patches if someone else writes them
(and scripts to create the template).
 
Hi ! I have 2 debian 7 openvz CT restored to convert to LXC. But can start no one :root@proxmox:/#pct start 102missing 'arch' - internal error at /usr/share/perl5/PVE/LXC.pm line 1062. And: root@proxmox:/# pct start 103missing 'ostype' - internal error at /usr/share/perl5/PVE/LXC.pm line 1065.Any idea ?
 
Last edited:
Hi ! I have 2 debian 7 openvz CT restored to convert to LXC. But can start no one :root@proxmox:/#pct start 102missing 'arch' - internal error at /usr/share/perl5/PVE/LXC.pm line 1062. And: root@proxmox:/# pct start 103missing 'ostype' - internal error at /usr/share/perl5/PVE/LXC.pm line 1065.Any idea ?

Hello,
1-st this thread was about etch which is i think debian version 4 not 7 .

can you post config file ? use
Code:
cat /etc/pve/lxc/102.conf
 
Yes, it's debian 4 thread sorry, but it's look same error type.

root@proxmox:~# cat /etc/pve/lxc/102.conf
hostname: CT102
memory: 512
rootfs: local:102/vm-102-disk-1.raw,size=20G
swap: 512
 
here is what a working lxc conf file looks like:
Code:
#made from pve deb8 lxc template.
#
arch: amd64
cpulimit: 1
cpuunits: 1024
hostname: lxc-template
memory: 512
net0: name=eth0,hwaddr=EA:0D:D0:5F:76:7A,bridge=vmbr1,ip=dhcp,tag=3
ostype: debian
rootfs: local:3991/vm-3991-disk-1.raw,size=6G
swap: 512

yours is missing 'ostype' and more .
 
here is what a working lxc conf file looks like:
Code:
#made from pve deb8 lxc template.
#
arch: amd64
cpulimit: 1
cpuunits: 1024
hostname: lxc-template
memory: 512
net0: name=eth0,hwaddr=EA:0D:D0:5F:76:7A,bridge=vmbr1,ip=dhcp,tag=3
ostype: debian
rootfs: local:3991/vm-3991-disk-1.raw,size=6G
swap: 512

yours is missing 'ostype' and more .

It's going better after change but:
root@proxmox:~# pct enter 103lxc-attach: attach.c: lxc_attach: 710 failed to get the init pid
 
It's going better after change but:
root@proxmox:~# pct enter 103lxc-attach: attach.c: lxc_attach: 710 failed to get the init pid

Hello

I'm not sure the cause of that.

I suggest you start a new thread - you'll have a better chance of getting help... state there how you made the container and show the conf good luck!