[prev in list] [next in list] [prev in thread] [next in thread]
List: bro
Subject: [Zeek] Error installing af_packet plugin for Zeek 3.0.11
From: Carlos Lopez <clopmz () outlook ! com>
Date: 2020-11-09 9:03:39
Message-ID: FF98E5A7-BE24-4442-8793-E106C24CFF59 () outlook ! com
[Download RAW message or body]
[Attachment #2 (text/plain)]
Hi all,
I'm trying to install a new server with Zeek 3.0.11 under RHEL8 and when I try to \
install the af_packet plugin I get the following error:
scripts.show-plugin ... failed
% 'btest-diff output' failed unexpectedly (exit code 1)
% cat .diag
== File ===============================
== Diff ===============================
--- /tmp/test-diff.37542.output.baseline.tmp 2020-11-09 08:58:38.353727203 \
+0000 +++ /tmp/test-diff.37542.output.tmp 2020-11-09 08:58:38.347727173 +0000
@@ -1,10 +0,0 @@
-Zeek::AF_Packet - Packet acquisition via AF_Packet (dynamic, version)
- [Packet Source] AF_PacketReader (interface prefix "af_packet"; supports live \
input)
- [Type] AF_Packet::FanoutMode
- [Constant] AF_Packet::buffer_size
- [Constant] AF_Packet::enable_hw_timestamping
- [Constant] AF_Packet::enable_fanout
- [Constant] AF_Packet::enable_defrag
- [Constant] AF_Packet::fanout_mode
- [Constant] AF_Packet::fanout_id
-
=======================================
% cat .stderr
Traceback (most recent call last):
File "/nsm/zeek/.local/bin/zeek", line 11, in <module>
sys.exit(main())
File "/nsm/zeek/.local/lib/python3.6/site-packages/zeek.py", line 18, in main
cli(auto_envvar_prefix='ZEEK')
File "/nsm/zeek/.local/lib/python3.6/site-packages/click/core.py", line 829, in \
__call__ return self.main(*args, **kwargs)
File "/nsm/zeek/.local/lib/python3.6/site-packages/click/core.py", line 760, in \
main _verify_python3_env()
File "/nsm/zeek/.local/lib/python3.6/site-packages/click/_unicodefun.py", line \
130, in _verify_python3_env " mitigation steps.{}".format(extra)
RuntimeError: Click will abort further execution because Python 3 was configured to \
use ASCII as encoding for the environment. Consult \
https://click.palletsprojects.com/python3/ for mitigation steps.
This system supports the C.UTF-8 locale which is recommended. You might be able to \
resolve your issue by exporting the following environment variables:
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
1 of 1 test failed
¿ ¿??? I've never seen a this error installing af_packet plugin ... What does it \
mean?
Regards,
C. L. Martinez
[Attachment #3 (text/html)]
<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:12.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:12.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="en-ES" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">Hi \
all,<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt">I'm trying to install a new server with Zeek \
3.0.11 under RHEL8 and when I try to install the af_packet plugin I get the following \
error:<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt">scripts.show-plugin ... \
failed<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> % 'btest-diff output' failed unexpectedly (exit code \
1)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> % cat .diag<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"> == File \
===============================<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt"> == Diff \
===============================<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt"> --- \
/tmp/test-diff.37542.output.baseline.tmp 2020-11-09 \
08:58:38.353727203 +0000<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt"> +++ \
/tmp/test-diff.37542.output.tmp 2020-11-09 08:58:38.347727173 \
+0000<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> @@ -1,10 +0,0 @@<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"> -Zeek::AF_Packet \
- Packet acquisition via AF_Packet (dynamic, version)<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"> \
- [Packet Source] AF_PacketReader (interface prefix \
"af_packet"; supports live input)<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"> \
- [Type] AF_Packet::FanoutMode<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"> \
- [Constant] AF_Packet::buffer_size<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"> \
- [Constant] \
AF_Packet::enable_hw_timestamping<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt"> - [Constant] \
AF_Packet::enable_fanout<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt"> - [Constant] \
AF_Packet::enable_defrag<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt"> - [Constant] \
AF_Packet::fanout_mode<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> - [Constant] \
AF_Packet::fanout_id<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> -<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt"> \
=======================================<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt"> % cat .stderr<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"> Traceback (most \
recent call last):<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> File \
"/nsm/zeek/.local/bin/zeek", line 11, in \
<module><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> \
sys.exit(main())<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> File \
"/nsm/zeek/.local/lib/python3.6/site-packages/zeek.py", line 18, in \
main<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> </span><span lang="ES" \
style="font-size:11.0pt">cli(auto_envvar_prefix='ZEEK')<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="ES" style="font-size:11.0pt"> \
</span><span lang="EN-GB" style="font-size:11.0pt">File \
"/nsm/zeek/.local/lib/python3.6/site-packages/click/core.py", line 829, in \
__call__<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> return self.main(*args, \
**kwargs)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> File \
"/nsm/zeek/.local/lib/python3.6/site-packages/click/core.py", line 760, in \
main<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> \
_verify_python3_env()<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> File \
"/nsm/zeek/.local/lib/python3.6/site-packages/click/_unicodefun.py", line \
130, in _verify_python3_env<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt"> " \
mitigation steps.{}".format(extra)<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"> RuntimeError: \
Click will abort further execution because Python 3 was configured to use ASCII as \
encoding for the environment. Consult https://click.palletsprojects.com/python3/ for \
mitigation steps.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt"> This system supports the C.UTF-8 locale \
which is recommended. You might be able to resolve your issue by exporting the \
following environment variables:<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> export \
LC_ALL=C.UTF-8<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"> export \
LANG=C.UTF-8<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt">1 of 1 test failed<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:11.0pt"> ¿ ¿??? I've never seen a this error \
installing af_packet plugin ... What does it mean? <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-GB" \
style="font-size:11.0pt;color:black">Regards,<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt;color:black">C. L. Martinez </span> \
<o:p></o:p></p> </div>
</div>
</body>
</html>
--
zeek mailing list -- zeek@lists.zeek.org
To unsubscribe send an email to zeek-leave@lists.zeek.org
--===============7488563037850930126==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic