| 1 |
|
| 2 |
Troubleshooting: |
| 3 |
=============== |
| 4 |
|
| 5 |
|
| 6 |
Error: |
| 7 |
------ |
| 8 |
|
| 9 |
error while loading shared libraries reported after sudo make install |
| 10 |
and when trying to run lxc-execute. |
| 11 |
|
| 12 |
"lxc-execute -n foo -f /usr/local/etc/lxc/lxc-macvlan.conf /bin/bash" |
| 13 |
|
| 14 |
/usr/local/bin/lxc-execute: error while loading shared libraries: |
| 15 |
liblxc-0.5.0.so: cannot open shared object file: No such file or |
| 16 |
directory |
| 17 |
|
| 18 |
Answer: |
| 19 |
------- |
| 20 |
update the ld cache by running ldconfig. |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
Error: |
| 25 |
------ |
| 26 |
|
| 27 |
error when starting a container. |
| 28 |
|
| 29 |
"lxc-start Invalid argument" |
| 30 |
|
| 31 |
"lxc-execute -n foo -f /usr/local/etc/lxc/lxc-macvlan.conf /bin/bash" |
| 32 |
"[syserr] lxc_start:96: Invalid argument - failed to fork into a new |
| 33 |
namespace" |
| 34 |
|
| 35 |
Answer: |
| 36 |
------- |
| 37 |
|
| 38 |
read the lxc man page about kernel version prereq :) most probably |
| 39 |
your kernel is not configured to support the container options you |
| 40 |
want to use. |