# Error: cannot determine Bro version

**URL:** <https://community.zeek.org/t/error-cannot-determine-bro-version/3548>\
**Category:** Zeek\
**Created:** [April 8, 2015, 7:07pm UTC](https://community.zeek.org/t/error-cannot-determine-bro-version/3548 "2015-04-08T19:07:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerome\_Taylor](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@Jerome\_Taylor](https://community.zeek.org/u/Jerome_Taylor)\
**Post date:** [April 8, 2015, 7:07pm UTC](https://community.zeek.org/t/error-cannot-determine-bro-version/3548/1 "2015-04-08T19:07:22Z")

</div>

Hello all,

I just completed a new Bro installation. I receive the following error message when I try to start Bro (i.e. “broctl | install”).

Error: cannot determine Bro version

My Setup:

---

<div class="post-metadata">

**Author:** ![Aashish\_Sharma1](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@Aashish\_Sharma1](https://community.zeek.org/u/Aashish_Sharma1)\
**Post date:** [April 8, 2015, 7:37pm UTC](https://community.zeek.org/t/error-cannot-determine-bro-version/3548/2 "2015-04-08T19:37:42Z")

</div>

I think you should try make && make install again!

Lets see if the error still stays!

---

<div class="post-metadata">

**Author:** ![Jerome\_Taylor](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@Jerome\_Taylor](https://community.zeek.org/u/Jerome_Taylor)\
**Post date:** [April 8, 2015, 7:59pm UTC](https://community.zeek.org/t/error-cannot-determine-bro-version/3548/3 "2015-04-08T19:59:03Z")

</div>

Re-running “make; make install” does not fix the problem. The error remains…

In what I believe is an unrelated issue, I notice that the file “/usr/local/bro/spool/broctl-config.sh” does not exist; which in turn causes a broken link for “/usr/local/bro/share/broctl/scripts/broctl-config.sh”. I temporarily worked around this problem by importing “/usr/local/bro/spool/broctl-config.sh” from a remote serer that was similarly configured. I mention this hoping that it might point to an underlying issue with the build.

Regards,  
Jerome Taylor

I think you should try make && make install again!

Lets see if the error still stays!

---

<div class="post-metadata">

**Author:** ![Siwek\_Jon](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@Siwek\_Jon](https://community.zeek.org/u/Siwek_Jon)\
**Post date:** [April 9, 2015, 2:48pm UTC](https://community.zeek.org/t/error-cannot-determine-bro-version/3548/4 "2015-04-09T14:48:41Z")

</div>

> I just completed a new Bro installation. I receive the following error message when I try to start Bro (i.e. "broctl | install").
> 
> &nbsp;&nbsp;&nbsp;&nbsp;Error: cannot determine Bro version
> 
> # My Setup:
> 
> bro version 2.3-680  
> minimum configuration =\> (a single Bro instance on the localhost)
> 
> Note: "bro -v" will return the version number but it also produces a segmentation fault..
> 
> I do not see this issue in older releases of Bro. Is there a known issue with this latest release?

No, that’s not been seen before and things appear to work fine on various platforms Bro is tested against. Can you give more details? What platform/OS/compiler? Did you give any special ./configure flags? Can you post a backtrace from gdb/lldb ?

> In what I believe is an unrelated issue, I notice that the file "/usr/local/bro/spool/broctl-config.sh" does not exist;

I think that file is generated by `broctl install`, so if that doesn’t complete due to the issue you mention above, that could explain why it’s missing.

- Jon

---

<div class="post-metadata">

**Author:** ![Jerome\_Taylor](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@Jerome\_Taylor](https://community.zeek.org/u/Jerome_Taylor)\
**Post date:** [April 9, 2015, 3:45pm UTC](https://community.zeek.org/t/error-cannot-determine-bro-version/3548/5 "2015-04-09T15:45:09Z")

</div>

Jon,

Thanks for taking a look a this..

I have a very basic node.cfg file  
[bro]  
type=standalone  
host=localhost  
interface=eth0

I am running CentOS 6.6 kernel 2.6.32-504. The diag report from broctl is listed below.  
Bro 2.3-680  
Linux 2.6.32-504.12.2.el6.x86\_64  
==== No reporter.log  
==== No stderr.log  
==== No stdout.log  
==== No .cmdline  
==== No .env\_vars  
==== No .status  
==== No prof.log  
==== No packet\_filter.log  
==== No loaded\_scripts.log

# bro -v ! reports the following

bro version 2.3-680  
Segmentation fault

I originally compile bro with a config option “configure --with-pcap=/…” but I have since removed this. The fault still occurs. I will provide a backtrace report shortly.

Regards,  
Jerome Taylor  
M: 978-764-1269

> I just completed a new Bro installation. I receive the following error message when I try to start Bro (i.e. “broctl | install”).
> 
> Error: cannot determine Bro version
> 
> # My Setup:
> 
> bro version 2.3-680  
> minimum configuration =\> (a single Bro instance on the localhost)
> 
> Note: “bro -v” will return the version number but it also produces a segmentation fault..
> 
> I do not see this issue in older releases of Bro. Is there a known issue with this latest release?

No, that’s not been seen before and things appear to work fine on various platforms Bro is tested against. Can you give more details? What platform/OS/compiler? Did you give any special ./configure flags? Can you post a backtrace from gdb/lldb ?

> In what I believe is an unrelated issue, I notice that the file “/usr/local/bro/spool/broctl-config.sh” does not exist;

I think that file is generated by `broctl install`, so if that doesn’t complete due to the issue you mention above, that could explain why it’s missing.

- Jon

---

<div class="post-metadata">

**Author:** ![Jerome\_Taylor](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@Jerome\_Taylor](https://community.zeek.org/u/Jerome_Taylor)\
**Post date:** [April 9, 2015, 5:53pm UTC](https://community.zeek.org/t/error-cannot-determine-bro-version/3548/6 "2015-04-09T17:53:15Z")

</div>

Jon,

I reconfigured Bro with debug enabled. The core dump is listed below.

# gdb bro core.10188

GNU gdb (GDB) Red Hat Enterprise Linux (7.2-75.el6)  
Copyright (C) 2010 Free Software Foundation, Inc.  
License GPLv3+: GNU GPL version 3 or later [http://gnu.org/licenses/gpl.html](http://gnu.org/licenses/gpl.html)  
This is free software: you are free to change and redistribute it.  
There is NO WARRANTY, to the extent permitted by law. Type “show copying”  
and “show warranty” for details.  
This GDB was configured as “x86\_64-redhat-linux-gnu”.  
For bug reporting instructions, please see:  
[http://www.gnu.org/software/gdb/bugs/](http://www.gnu.org/software/gdb/bugs/)…  
Reading symbols from /usr/local/bro/bin/bro…done.  
[New Thread 10188]  
Missing separate debuginfo for /opt/netronome/lib/libpcap.so.1  
Try: yum --enablerepo=‘_-debug_’ install /usr/lib/debug/.build-id/91/abf66eb676e4e7a8c82352de10d0dceb4b3a90  
Missing separate debuginfo for /opt/netronome/lib/libnfe.so.2  
Try: yum --enablerepo=‘_-debug_’ install /usr/lib/debug/.build-id/b8/da49e35d5c3d83af69bec52e94b95d7e848771  
Missing separate debuginfo for /opt/netronome/lib/libns\_armctrl.so.2  
Try: yum --enablerepo=‘_-debug_’ install /usr/lib/debug/.build-id/e0/79905105f0bc1def30279830e021f5e27d20f5  
Missing separate debuginfo for /opt/netronome/lib/libnfm.so.2  
Try: yum --enablerepo=‘_-debug_’ install /usr/lib/debug/.build-id/fe/db0ff744c092fdf3ec2314563083d8ce06d6f9  
Missing separate debuginfo for /opt/netronome/lib/libns\_msg.so.2  
Try: yum --enablerepo=‘_-debug_’ install /usr/lib/debug/.build-id/1d/1a3c0cc45eb6bdfca2f0f63bb12342093d11f5  
Missing separate debuginfo for /opt/netronome/lib/libnfp.so.2  
Try: yum --enablerepo=‘_-debug_’ install /usr/lib/debug/.build-id/a7/c27d95c1c926a73e00a41a3e6fe9502829c1f6  
Missing separate debuginfo for  
Try: yum --enablerepo=‘_-debug_’ install /usr/lib/debug/.build-id/4b/8e1260ccd7c3d8cc131e84001f7220651617ec  
Reading symbols from /opt/netronome/lib/libpcap.so.1…(no debugging symbols found)…done.  
Loaded symbols for /opt/netronome/lib/libpcap.so.1  
Reading symbols from /usr/lib64/libssl.so.10…(no debugging symbols found)…done.  
Loaded symbols for /usr/lib64/libssl.so.10  
Reading symbols from /usr/lib64/libcrypto.so.10…(no debugging symbols found)…done.  
Loaded symbols for /usr/lib64/libcrypto.so.10  
Reading symbols from /lib64/libresolv.so.2…(no debugging symbols found)…done.  
Loaded symbols for /lib64/libresolv.so.2  
Reading symbols from /lib64/libz.so.1…(no debugging symbols found)…done.  
Loaded symbols for /lib64/libz.so.1  
Reading symbols from /usr/lib64/libGeoIP.so.1…done.  
Loaded symbols for /usr/lib64/libGeoIP.so.1  
Reading symbols from /lib64/libpthread.so.0…(no debugging symbols found)…done.  
[Thread debugging using libthread\_db enabled]  
Loaded symbols for /lib64/libpthread.so.0  
Reading symbols from /lib64/libdl.so.2…(no debugging symbols found)…done.  
Loaded symbols for /lib64/libdl.so.2  
Reading symbols from /usr/lib64/libstdc++.so.6…(no debugging symbols found)…done.  
Loaded symbols for /usr/lib64/libstdc++.so.6  
Reading symbols from /lib64/libm.so.6…(no debugging symbols found)…done.  
Loaded symbols for /lib64/libm.so.6  
Reading symbols from /lib64/libgcc\_s.so.1…(no debugging symbols found)…done.  
Loaded symbols for /lib64/libgcc\_s.so.1  
Reading symbols from /lib64/libc.so.6…(no debugging symbols found)…done.  
Loaded symbols for /lib64/libc.so.6  
Reading symbols from /opt/netronome/lib/libnfe.so.2…(no debugging symbols found)…done.  
Loaded symbols for /opt/netronome/lib/libnfe.so.2  
Reading symbols from /opt/netronome/lib/libns\_armctrl.so.2…(no debugging symbols found)…done.  
Loaded symbols for /opt/netronome/lib/libns\_armctrl.so.2  
Reading symbols from /opt/netronome/lib/libnfm.so.2…done.  
Loaded symbols for /opt/netronome/lib/libnfm.so.2  
Reading symbols from /opt/netronome/lib/libns\_msg.so.2…(no debugging symbols found)…done.  
Loaded symbols for /opt/netronome/lib/libns\_msg.so.2  
Reading symbols from /lib64/libgssapi\_krb5.so.2…(no debugging symbols found)…done.  
Loaded symbols for /lib64/libgssapi\_krb5.so.2  
Reading symbols from /lib64/libkrb5.so.3…(no debugging symbols found)…done.  
Loaded symbols for /lib64/libkrb5.so.3  
Reading symbols from /lib64/libcom\_err.so.2…(no debugging symbols found)…done.  
Loaded symbols for /lib64/libcom\_err.so.2  
Reading symbols from /lib64/libk5crypto.so.3…(no debugging symbols found)…done.  
Loaded symbols for /lib64/libk5crypto.so.3  
Reading symbols from /lib64/ld-linux-x86-64.so.2…(no debugging symbols found)…done.  
Loaded symbols for /lib64/ld-linux-x86-64.so.2  
Reading symbols from /opt/netronome/lib/libnfp.so.2…done.  
Loaded symbols for /opt/netronome/lib/libnfp.so.2  
Reading symbols from /lib64/librt.so.1…(no debugging symbols found)…done.  
Loaded symbols for /lib64/librt.so.1  
Reading symbols from /lib64/libkrb5support.so.0…(no debugging symbols found)…done.  
Loaded symbols for /lib64/libkrb5support.so.0  
Reading symbols from /lib64/libkeyutils.so.1…(no debugging symbols found)…done.  
Loaded symbols for /lib64/libkeyutils.so.1  
Reading symbols from /lib64/libselinux.so.1…(no debugging symbols found)…done.  
Loaded symbols for /lib64/libselinux.so.1  
Core was generated by `bro -v’.  
Program terminated with signal 11, Segmentation fault.  
#0 0x00000000006fc405 in plugin::Manager::HavePluginForHook (this=0x0, hook=plugin::HOOK\_BRO\_OBJ\_DTOR) at /root/Bro/bro/src/plugin/Manager.h:163  
163 return hooks[hook] != 0;  
Missing separate debuginfos, use: debuginfo-install geoip-1.4.6-1.el6.rf.x86\_64 glibc-2.12-1.149.el6\_6.5.x86\_64 keyutils-libs-1.4-5.el6.x86\_64 krb5-libs-1.10.3-33.el6.x86\_64 libcom\_err-1.41.12-21.el6.x86\_64 libgcc-4.4.7-11.el6.x86\_64 libselinux-2.0.94-5.8.el6.x86\_64 libstdc+±4.4.7-11.el6.x86\_64 openssl-1.0.1e-30.el6.8.x86\_64 zlib-1.2.3-29.el6.x86\_64  
(gdb)

Regards,  
Jerome Taylor  
M: 978-764-1269

Jon,

Thanks for taking a look a this..

I have a very basic node.cfg file  
[bro]  
type=standalone  
host=localhost  
interface=eth0

I am running CentOS 6.6 kernel 2.6.32-504. The diag report from broctl is listed below.  
Bro 2.3-680  
Linux 2.6.32-504.12.2.el6.x86\_64  
==== No reporter.log  
==== No stderr.log  
==== No stdout.log  
==== No .cmdline  
==== No .env\_vars  
==== No .status  
==== No prof.log  
==== No packet\_filter.log  
==== No loaded\_scripts.log

# bro -v ! reports the following

bro version 2.3-680  
Segmentation fault

I originally compile bro with a config option “configure --with-pcap=/…” but I have since removed this. The fault still occurs. I will provide a backtrace report shortly.

Regards,  
Jerome Taylor  
M: 978-764-1269

> I just completed a new Bro installation. I receive the following error message when I try to start Bro (i.e. “broctl | install”).
> 
> Error: cannot determine Bro version
> 
> # My Setup:
> 
> bro version 2.3-680  
> minimum configuration =\> (a single Bro instance on the localhost)
> 
> Note: “bro -v” will return the version number but it also produces a segmentation fault..
> 
> I do not see this issue in older releases of Bro. Is there a known issue with this latest release?

No, that’s not been seen before and things appear to work fine on various platforms Bro is tested against. Can you give more details? What platform/OS/compiler? Did you give any special ./configure flags? Can you post a backtrace from gdb/lldb ?

> In what I believe is an unrelated issue, I notice that the file “/usr/local/bro/spool/broctl-config.sh” does not exist;

I think that file is generated by `broctl install`, so if that doesn’t complete due to the issue you mention above, that could explain why it’s missing.

- Jon

---

<div class="post-metadata">

**Author:** ![Siwek\_Jon](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@Siwek\_Jon](https://community.zeek.org/u/Siwek_Jon)\
**Post date:** [April 9, 2015, 6:52pm UTC](https://community.zeek.org/t/error-cannot-determine-bro-version/3548/7 "2015-04-09T18:52:03Z")

</div>

Can you enter “backtrace” at the gdb prompt here and show the output of that as well?

- Jon

---

<div class="post-metadata">

**Author:** ![Jerome\_Taylor](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@Jerome\_Taylor](https://community.zeek.org/u/Jerome_Taylor)\
**Post date:** [April 14, 2015, 5:20pm UTC](https://community.zeek.org/t/error-cannot-determine-bro-version/3548/8 "2015-04-14T17:20:42Z")

</div>

Jon,

Sorry for the delay. I got sidetracked by another project.

Core was generated by `bro -v’.  
Program terminated with signal 11, Segmentation fault.  
#0 HavePluginForHook (this=0x7fec89226410, \_\_in\_chrg=) at /root/Bro/bro/src/plugin/Manager.h:163  
163 return hooks[hook] != 0;  
Missing separate debuginfos, use: debuginfo-install geoip-1.4.6-1.el6.rf.x86\_64 glibc-2.12-1.149.el6\_6.5.x86\_64 keyutils-libs-1.4-5.el6.x86\_64 krb5-libs-1.10.3-33.el6.x86\_64 libcom\_err-1.41.12-21.el6.x86\_64 libgcc-4.4.7-11.el6.x86\_64 libselinux-2.0.94-5.8.el6.x86\_64 libstdc+±4.4.7-11.el6.x86\_64 openssl-1.0.1e-30.el6.8.x86\_64 zlib-1.2.3-29.el6.x86\_64  
(gdb) backtrace  
#0 HavePluginForHook (this=0x7fec89226410, \_\_in\_chrg=) at /root/Bro/bro/src/plugin/Manager.h:163  
#1 BroObj::~BroObj (this=0x7fec89226410, \_\_in\_chrg=) at /root/Bro/bro/src/Obj.cc:97  
#2 0x00007fec89669ebd in \_\_cxa\_finalize () from /lib64/libc.so.6  
#3 0x00007fec88fe5b96 in \_\_do\_global\_dtors\_aux () from /opt/netronome/lib/libnfm.so.2  
#4 0x0000000000000000 in ?? ()

Regards,  
Jerome Taylor  
M: 978-764-1269

---

<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:42pm UTC](https://community.zeek.org/t/error-cannot-determine-bro-version/3548/9 "2022-05-06T15:42:34Z")

</div>


