
내 서버에서 수신 대기를 시작하고 싶지만 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.keypress.com/blog/linux-bridge-port-security/
또한 나는 'ebtables'라는 커널 모듈과 modprobe로 활성화할 수 있는 '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