[Zeek] Debbuging zeekctl errors (SOLVED)

Carlos Lopez clopmz at outlook.com
Fri Dec 20 04:06:35 PST 2019


Problem solved. I had to do something wrong during the upgrade process. I reinstalled from sources by restoring the configuration that worked for me and everything is ok now.

Sorry for the noise …

--
Regards,
C. L. Martinez

From: <zeek-bounces at zeek.org> on behalf of Carlos Lopez <clopmz at outlook.com>
Date: Friday, 20 December 2019 at 09:52
To: "zeek at zeek.org" <zeek at zeek.org>
Subject: [Zeek] Debbuging zeekctl errors

Hi all,

I have tried to upgrade to Zeek 3.0.1 from Zeek 3.0.0 but I am seeing a lot of errors:

Warning: ZeekControl plugin uses legacy BroControl API. Use
'import ZeekControl.plugin' instead of 'import BroControl.plugin'

removing old policies in /nsm/zeek/spool/installed-scripts-do-not-touch/site ...
removing old policies in /nsm/zeek/spool/installed-scripts-do-not-touch/auto ...
creating policy directories ...
installing site policies ...
generating cluster-layout.zeek ...
generating local-networks.zeek ...
generating zeekctl-config.zeek ...
generating zeekctl-config.sh ...
updating nodes ...
sh: line 1: /home/zeek/venv/bin/python: No such file or directory
sh: line 1: /home/zeek/venv/bin/python: No such file or directory
sh: line 2: [/bin/echo,: No such file or directory
sh: line 3: syntax error near unexpected token `done'
sh: line 3: `done'
sh: line 2: [/bin/echo,: No such file or directory
sh: line 3: syntax error near unexpected token `done'
sh: line 3: `done'
Error: cannot create a directory on node worker-1
Error: Failed to establish ssh connection to host 172.22.58.2
setcap plugin: executing setcap on each node:
sh: line 1: /home/zeek/venv/bin/python: No such file or directory
sh: line 1: /home/zeek/venv/bin/python: No such file or directory
sh: line 2: [/bin/echo,: No such file or directory
sh: line 3: syntax error near unexpected token `done'
sh: line 3: `done'
sh: line 2: [/bin/echo,: No such file or directory
sh: line 3: syntax error near unexpected token `done'
sh: line 3: `done'

How can I try to debug these errors? …In 3.0.0 release all works well … For example, : /home/zeek/venv/ is python’s virtualenv for zkg … and I don’t understand why it is a requirement for nodes …

--
Regards,
C. L. Martinez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/zeek/attachments/20191220/7e3cc6be/attachment.html 


More information about the Zeek mailing list