libvirtd が起動できません

libvirtd が起動できません

サーバーでリッスンを開始したいのですが、libvirtd が実行できません。エラー ログは次のとおりです。

2015-07-09 10:50:25.238+0000: 11569: info : libvirt version: 1.2.2
2015-07-09 10:50:25.238+0000: 11569: error : virAuditOpen:60 : Unable to initialize audit layer: Protocol not supported
2015-07-09 10:50:26.117+0000: 11596: error : virCommandWait:2399 : internal error: Child process (/bin/sh -c 'EBT="/sbin/ebtables"
cmd='\''$EBT -t nat -L'\''
eval res=\$\("${cmd} 2>&1"\)
if [ $? -ne 0 ]; then  echo "Failure to execute command '\''${cmd}'\'' : '\''${res}'\''.";  exit 1;fi
') unexpected exit status 1
2015-07-09 10:50:26.117+0000: 11596: error : ebiptablesDriverTestCLITools:4274 : Testing of ebtables command failed: Failure to execute command '$EBT -t nat -L' : 'The kernel doesn't support the ebtables 'nat' table.'.

これをどう処理すればよいか知っている人はいますか?

Linux mcparadise.pl 3.14.32-xxxx-grs-ipv6-64 #1 SMP Sat Feb 7 11:35:27 CET 2015 x86_64 x86_64 x86_64 GNU/Linux

答え1

あなたの問題については何も知りませんが、エラー メッセージの重要な部分は次の部分だと思います:

'The kernel doesn't support the ebtables 'nat' table.'

ちょっと検索してみたら、いくつかのリソースがありました

https://wiki.debian.org/BridgeNetworkConnections#ebtables_Overview http://www.keypressure.com/blog/linux-bridge-port-security/

また、modprobe で有効にできる「ebtables」というカーネル モジュールと「ebtable_nat」というカーネル モジュールも確認しました。

答え2

Linuxカーネルでebtablesを有効にする必要があります

Ebtables カーネル オプション:

CONFIG_NF_NAT=y
CONFIG_NF_TABLES_BRIDGE=y
CONFIG_BRIDGE_EBT_T_FILTER=y
CONFIG_BRIDGE_EBT_T_NAT=y
CONFIG_BRIDGE_NF_EBTABLES=m

関連情報