# Zeekctl failed to run when installing zeek on Ubuntu

**URL:** https://community.zeek.org/t/zeekctl-failed-to-run-when-installing-zeek-on-ubuntu/7135
**Category:** Zeek
**Created:** [September 9, 2023, 6:17pm UTC](https://community.zeek.org/t/zeekctl-failed-to-run-when-installing-zeek-on-ubuntu/7135 "2023-09-09T18:17:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jakinbami](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jakinbami](https://community.zeek.org/u/jakinbami)
#### Post date: [September 9, 2023, 6:17pm UTC](https://community.zeek.org/t/zeekctl-failed-to-run-when-installing-zeek-on-ubuntu/7135/1 "2023-09-09T18:17:11Z")

</div>

Hi everyone, I am not sure if someone had this issues in the past when trying to run to install zeek on Ubuntu.  
After going through the installation guide and got to the point of running the zeekctl.

I type in “deploy” and it came up with the below error message.  
" [ZeekControl] \> deploy  
checking configurations …  
zeek scripts failed.  
error in /opt/zeek/spool/tmp/check-config-zeek/local-networks.zeek, line 4: unknown identifier x, at or near “x” "

Can someone please point me to the right direction.  
Thank you.

---

<div class="post-metadata">

### Author: ![awelzel](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/awelzel/32/609_2.png) [@awelzel](https://community.zeek.org/u/awelzel)
#### Post date: [September 11, 2023, 7:39am UTC](https://community.zeek.org/t/zeekctl-failed-to-run-when-installing-zeek-on-ubuntu/7135/2 "2023-09-11T07:39:51Z")

</div>

Hey @jakinbami ,

> [@jakinbami](#):
>
> error in /opt/zeek/spool/tmp/check-config-zeek/local-networks.zeek, line 4: unknown identifier x, at or near “x” "

Could you paste the first few lines of `local-networks.zeek` ? And possibly what your `networks.cfg` file looks like? I’m suspecting the content of your `networks.cfg` isn’t valid.

Hope that helps,  
Arne
