File: FAQ.txt

package info (click to toggle)
lxc 1%3A1.0.6-6%2Bdeb8u2~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 5,280 kB
  • sloc: ansic: 33,888; sh: 11,928; python: 1,223; makefile: 735
file content (67 lines) | stat: -rw-r--r-- 1,542 bytes parent folder | download | duplicates (21)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67

Troubleshooting:
===============


Error:
------

error while loading shared libraries reported after sudo make install
and when trying to run lxc-execute.

"lxc-execute -n foo -f /usr/local/etc/lxc/lxc-macvlan.conf /bin/bash"

/usr/local/bin/lxc-execute: error while loading shared libraries:
  liblxc-0.5.0.so: cannot open shared object file: No such file or
  directory

Answer:
-------
update the ld cache by running ldconfig.



Error:
------

error when starting a container.

"lxc-start Invalid argument"

"lxc-execute -n foo -f /usr/local/etc/lxc/lxc-macvlan.conf /bin/bash"
"[syserr] lxc_start:96: Invalid argument - failed to fork into a new
namespace"

Answer:
-------

read the lxc man page about kernel version prereq :) most probably
your kernel is not configured to support the container options you
want to use.


Error:
------

On Ubuntu 8.10, if using the cvs source code rather than
the provided tarball. Then make is failing with many errors
similar to the line below:
==========
../../libtool: line 810: X--tag=CC: command not found
==========

Answer:
-------

This is related to a compatibility problem between the shipped
config/ltmain.sh and the libtool version installed on your
Ubuntu 8.10 machine.
You have to replace the config/ltmain.sh from cvs head by the one
from your libtool package, make some cleaning and reissue all
the build process:
==========
cd <your_lxc_working_dir>
cp -f /usr/share/libtool/config/ltmain.sh config/
rm -f libtool
./bootstrap && ./configure && make && sudo make install
==========