# Debbuging zeekctl errors

**URL:** <https://community.zeek.org/t/debbuging-zeekctl-errors/5947>\
**Category:** Zeek\
**Created:** [December 20, 2019, 8:46am UTC](https://community.zeek.org/t/debbuging-zeekctl-errors/5947 "2019-12-20T08:46:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![clopmz](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@clopmz](https://community.zeek.org/u/clopmz)\
**Post date:** [December 20, 2019, 8:46am UTC](https://community.zeek.org/t/debbuging-zeekctl-errors/5947/1 "2019-12-20T08:46:56Z")

</div>

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 …

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:46pm UTC](https://community.zeek.org/t/debbuging-zeekctl-errors/5947/2 "2022-05-06T15:46:57Z")

</div>


