# Problems running Bro

**URL:** <https://community.zeek.org/t/problems-running-bro/1306>\
**Category:** Zeek\
**Created:** [March 16, 2008, 4:11am UTC](https://community.zeek.org/t/problems-running-bro/1306 "2008-03-16T04:11:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Armin\_Garcia\_Lopez](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@Armin\_Garcia\_Lopez](https://community.zeek.org/u/Armin_Garcia_Lopez)\
**Post date:** [March 16, 2008, 4:11am UTC](https://community.zeek.org/t/problems-running-bro/1306/1 "2008-03-16T04:11:08Z")

</div>

Sorry but when i try to read a file i recive the next output

root@lobito:/usr/local/bro/etc# /usr/local/bro/bin/bro -r segment190.pcap  
line 1: error: can't open bro.init

root@lobito:/usr/local/bro/etc# netstat -natu -p  
Active Internet connections (servers and established)  
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name  
tcp 0 0 127.0.0.1:2208 0.0.0.0:\* LISTEN 2317/hpiod  
tcp 0 0 127.0.0.1:36942 0.0.0.0:\* LISTEN 2320/python  
tcp 0 0 0.0.0.0:111 0.0.0.0:\* LISTEN 2006/portmap  
tcp 0 0 0.0.0.0:113 0.0.0.0:\* LISTEN 2619/inetd  
tcp 0 0 0.0.0.0:39636 0.0.0.0:\* LISTEN 2709/rpc.statd  
tcp 0 0 127.0.0.1:631 0.0.0.0:\* LISTEN 2433/cupsd  
tcp 0 0 127.0.0.1:25 0.0.0.0:\* LISTEN 2563/exim4  
udp 0 0 0.0.0.0:32768 0.0.0.0:\* 2507/avahi-daemon:  
udp 0 0 0.0.0.0:32770 0.0.0.0:\* 2709/rpc.statd  
udp 0 0 192.168.150.134:32787 192.168.150.2:53 ESTABLISHED21988/bro  
udp 0 0 0.0.0.0:68 0.0.0.0:\* 3184/dhclient  
udp 0 0 0.0.0.0:5353 0.0.0.0:\* 2507/avahi-daemon:  
udp 0 0 0.0.0.0:111 0.0.0.0:\* 2006/portmap  
udp 0 0 0.0.0.0:631 0.0.0.0:\* 2433/cupsd  
udp 0 0 0.0.0.0:765 0.0.0.0:\* 2709/rpc.statd

Does anybody knows what im doing wrong? or i have to set and another option to read this file???

thanks

---

<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:** [March 16, 2008, 8:36am UTC](https://community.zeek.org/t/problems-running-bro/1306/2 "2008-03-16T08:36:01Z")

</div>

This error means that Bro cannot find the policy scripts. The environment variable $BROPATH should contain the path to your policy script directory and to all other custom directories that include policy script files:

% BRO\_DIR="/path/to/bro"  
% export BROPATH="${BRO\_DIR}/policy:${BRO\_DIR}/policy/local:${BRO\_DIR}/policy/sigs"

&nbsp;&nbsp;&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:38pm UTC](https://community.zeek.org/t/problems-running-bro/1306/3 "2022-05-06T15:38:30Z")

</div>


