Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: can't find local.zeek #35

Closed
shadonet opened this issue Jul 17, 2021 · 5 comments
Closed

fatal error: can't find local.zeek #35

shadonet opened this issue Jul 17, 2021 · 5 comments

Comments

@shadonet
Copy link

After a fresh install of Zeek on FreeBSD system, I got this error when I ran this command:

zeekctl deploy

checking configurations ...
zeek scripts failed.
fatal error: can't find local.zeek

Zeek: 4.0.2
FreeBSD: 12.2
ZeekControl: 2.3.0

Apparently this file is not present under /usr/local/share/zeek/site (the local.zeek.sample file is present).

@0xxon
Copy link
Member

0xxon commented Jul 19, 2021

Is this with a source installation, or with an installation from the FreeBSD ports tree?

@shadonet
Copy link
Author

Installation from the FreeBSD ports tree

@0xxon
Copy link
Member

0xxon commented Jul 19, 2021

In that case - I assume that this is not a bug, but a decision of the FreeBSD port maintainers.

@leres might be able to shed some light on this.

freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this issue Jul 19, 2021
This github issue:

    zeek/zeekctl#35

complained about the lack of a local.zeek file on a fresh install;
adding @sample for local.zeek solves this.

Reported by:	shadonet
@leres
Copy link
Contributor

leres commented Jul 19, 2021

In that case - I assume that this is not a bug, but a decision of the FreeBSD port maintainers.

As the maintainer of security/zeek, I'd say it was definitely a bug in the port. Now fixed via 7c9b2f40c5f2.

@0xxon
Copy link
Member

0xxon commented Jul 20, 2021

Thank you :)

@0xxon 0xxon closed this as completed Jul 20, 2021
evadot pushed a commit to evadot/freebsd-ports that referenced this issue Jul 22, 2021
This github issue:

    zeek/zeekctl#35

complained about the lack of a local.zeek file on a fresh install;
adding @sample for local.zeek solves this.

Reported by:	shadonet
freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this issue Sep 22, 2021
This github issue:

    zeek/zeekctl#35

complained about the lack of a local.zeek file on a fresh install;
adding @sample for local.zeek solves this.

Reported by:	shadonet

(cherry picked from commit 7c9b2f4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants