# Can't run /usr/local/bro/bin/bro correctly

**URL:** <https://community.zeek.org/t/cant-run-usr-local-bro-bin-bro-correctly/1011>\
**Category:** Zeek\
**Created:** [August 15, 2006, 7:55am UTC](https://community.zeek.org/t/cant-run-usr-local-bro-bin-bro-correctly/1011 "2006-08-15T07:55:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user33](https://avatars.discourse-cdn.com/v4/letter/u/53a042/32.png) [@user33](https://community.zeek.org/u/user33)\
**Post date:** [August 15, 2006, 7:55am UTC](https://community.zeek.org/t/cant-run-usr-local-bro-bin-bro-correctly/1011/1 "2006-08-15T07:55:12Z")

</div>

Hi there,

&nbsp;&nbsp;Thanks

&nbsp;&nbsp;I have download \<bro-0.9-stable.tar.gz\>,and install it.

&nbsp;&nbsp;My OS is RedHat Linux 9.0,I enter a new terminal with user bro,  
&nbsp;&nbsp;typing: bro.rc start,it will run successfully,  
&nbsp;&nbsp;if I just run /usr/local/bro/bin/bro,it will report a error:Line 1:error:can't open bro.init

&nbsp;&nbsp;I can't understand them.  
&nbsp;&nbsp;help me  
&nbsp;&nbsp;  
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡xajhzhqxl@sohu.com  
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2006-08-15

---

<div class="post-metadata">

**Author:** ![Matthias\_Vallentin2](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@Matthias\_Vallentin2](https://community.zeek.org/u/Matthias_Vallentin2)\
**Post date:** [August 15, 2006, 8:18am UTC](https://community.zeek.org/t/cant-run-usr-local-bro-bin-bro-correctly/1011/2 "2006-08-15T08:18:56Z")

</div>

Hello !

> &nbsp;&nbsp;I have download \<bro-0.9-stable.tar.gz\>,and install it.

Please use the latest version, unless you have a specific reason not to do  
so. You can get the lastest version from:  
ftp://bro-ids.org/bro-1.X-current.tar.gz  
&nbsp;&nbsp;

> &nbsp;&nbsp;if I just run /usr/local/bro/bin/bro,it will report a error:Line 1:error:can't open bro.init

You have to set the environment variable $BROPATH pointing to your policy  
directory. E.g.  
&nbsp;&nbsp;  
&nbsp;&nbsp;export BROPATH=/usr/local/bro/policy:/my/other/policy/directories/

Bro can then find bro.init which is located in the policy directory.

&nbsp;&nbsp;&nbsp;Matthias

---

<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:37pm UTC](https://community.zeek.org/t/cant-run-usr-local-bro-bin-bro-correctly/1011/3 "2022-05-06T15:37:57Z")

</div>


